header{
  user-select: none;
  animation-duration: 2000;
}



.logo-size{
    height:50px ;
    padding-right: 0 !important;
}

main{
  padding: 100px 10px 5px 10px;
}

.topnav {
    /*overflow: hidden;*/
    background: #181818;
    position: fixed;
    display: flex;
    z-index: 1;
    user-select: none;
    width: 100%;
    justify-content: center;
}
  
  .topnav a {
    display: flex;
    color: #f2f2f2;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    flex-direction: row;
    align-content: center;
    flex-wrap: wrap;
}
 
  /*.topnav a.link {
    /text-align: center;
  }*/

 
  
.topnav a:hover{
    color: #fd6666 !important;

}

.topnav a.menubtn:hover{
    color: white !important;
}
  
  .topnav .icon {
    display: none;
  }
  
.link:hover{
    color: rgb(255, 60, 60);
}

.btnmenu{
    font-weight: bold;
    -webkit-border-radius: 0;
      -moz-border-radius: 8;
    background-color: #a00000;
    text-decoration: none ;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 10px 20px 10px 20px !important;
    border: solid #a00000 2px;
    border-radius: 8px;
    font-size: 20px;
    text-align: center;
}

.btnmenu:hover{
    background-color: #6a0000;
    border: solid #6a0000 2px;
}

.topnav .dropdown {
            float: left;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center; 
            height: 100%;
            padding: 14px 20px;
        }

.dropdown a{
  padding-right: 8px;
  padding-left: 0;
}

.dropdown .dropbtn {
  cursor: pointer;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #181818;
  min-width: 160px;
  z-index: 1;
  top: 80%
}

.dropdown-content.show {
  display: inline;
}


.dropdown-content a {
  float: none;
  color: rgb(206, 206, 206);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

  .image-ronde {

    border-radius: 50%;
    overflow: hidden; 
    border: 2px solid #996969ff;
    object-fit: cover; 
}
.connlink{
    float: right !important;
}

@media screen and (min-width: 894px) {
        .dropdown:hover .dropdown-content {
            
            display: block;
        }
      }

  @media screen and (max-width: 895px) {
    .topnav a:not(:first-child) , .topnav .dropdown {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
      position: absolute;
      right: 0;
    }
  }
  
  @media screen and (max-width: 895px) {

    .topnav.responsive .connlink{
        float: none !important;
        display: flex !important;
        justify-content: center;
        margin-top: 10px;
    }
    .topnav.responsive  {
      position: fixed;
      display: block;
      text-align: center;
    }

    .topnav.responsive a.logo { 
      display: flex;
      justify-content: center;
    }

    .topnav.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a  {
      float: none;
      display: block;
    }
    .topnav.responsive .dropdown {
      float: none;
      display: flex;
      flex-wrap: wrap;
      padding: 0;
    }
    .topnav.responsive .dropdown a{
      padding: 14px 20px;
    }

    .topnav.responsive .dropdown a.link-parent , .topnav.responsive .dropdown .dropbtn-icon {
      padding-right: 0;
    }

    .topnav.responsive .dropdown-content{
      top: auto;
      position: static;
      box-shadow: none;
      width: 100%;
      background-color: #1c1c1c;
    }s
    .link{
        text-align: center;
    }
    .logo-size{
        height:40px ;
    }
    a.icon{
        transform: translate(-5%,15%);
    }

    a.btnmenu{
      float: unset;
    }
    
  }






  @media screen and (min-width: 475px) and (max-width: 1100px) {
    
  }
  @media screen and (min-width: 375px) and (max-width: 475px) { 
  }
  @media screen and (min-width: 300px) and (max-width: 375px) {
    .logo-size{
      max-width: 190px;
      min-width: 150px;
      width: 100%;
      height: auto;
  }
  a.icon{
    transform: translate(-5%,0%);
}
      
  }

  @media screen and (min-width: 250px) and (max-width: 300px) {
    .logo-size{
      max-width: 170px;
      min-width: 150px;
      width: 100%;
      height: auto;
      padding: 0 0 0 0;
  }
  a.logo{
  width: 170px;
  padding: 14px 0 0 20px;
  }
  a.icon{
    transform: translate(-5%,0%);
}
      
  }



span.dropbtn-icon {
    cursor: pointer;
}