/*disponible a partie de 800 px*/
@media only screen and (max-width: 800px){
  #content{
    display: block;
  }
  #dispo{
    display: none;
  }

}
/*pas disponible a partie de 801 px*/
@media only screen and (min-width: 801px){
  #content, #nav{
    display: none;
  }
  #dispo{
    display: block;
    height: 100vh;
  }
  #dispo h1{
    color: #FFF;
    text-align: center;
  }
  #dispo div{
    color: #FFF;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }

}

/*header de on application icin*/
@media only screen and (max-width: 800px){
  
  .content{
    width: 100%;
    margin-bottom: 50px;
    height: 100%;
    overflow: hidden;
    background: #fff;
    padding: 0px;
    display: inline-block;
  }
  .header{
    width: 100%;
    height: auto;
    max-height: 300px;
    background-color: rgb(2, 104, 221);
    color: black;
    margin: auto;

  }
  .himg{
    width: 150px;
    height: 100%;
  
  }
  .htext{
    width: 100%;
    margin: 2px;
  }
  .htext h2{
    font-size: 5vw;
    margin-bottom: 1px;
    margin-top: 0px;
    text-align: center;
    color: white;
  }
  .htext p{
    font-size: 4vw;
    margin-bottom: 1px;
    margin-top: 0px;
    color: white;
  }
 

  .button {
    border-radius: 4px;
    background-color: #f4511e;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    padding: 5px;
    width: auto;
    transition: all 0.5s;
    cursor: pointer;
    margin: 1px;
  }
  
  .button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
  }
  
  .button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -10px;
    transition: 0.5s;
  }
  
  .button:hover span {
    padding-right: 25px;
  }
  
  .button:hover span:after {
    opacity: 1;
    right: 0;
  }
}

/*formulaire de mon site home*/
@media only screen and (max-width: 800px){
  .form-container{
    width: 90%;
    margin: auto;
    border: 1px solid blue;
    padding: 10px;
  }
  .form-container input[type=text], .form-container input[type=password] {
    width: 100%;
    padding: 5px;
    margin: 2px 0 10px 0;
    border: none;
    border-bottom: red 1px solid;
    background: #f1f1f1;
  }
  .form-container .number{
    display: flex;
  }
  .form-container .number select, textarea{
    margin-right: 5px;
    width: 70px;
  }
  .form-container textarea{
    margin-right: 5px;
    width: 100%;
    resize: none;
  }
  /* Full-width input fields */
  
  .form-container select{
    width: 100%;
    padding: 5px;
    margin: 2px 0 10px 0;
    border: none;
    border-bottom: red 1px solid;
    background: #f1f1f1;
  }
  
  /* When the inputs get focus, do something */
  .form-container input[type=text]:focus, .form-container input[type=password]:focus {
    background-color: #FFF;
    outline: none;
  }
  
  /* Set a style for the submit/login button */
  .form-container .btn {
    background-color: #04AA6D;
    color: white;
    padding: 8px 10px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom:10px;
    opacity: 0.8;
  }
  
}

/*profile page de mon application*/
@media only screen and (max-width: 800px) {
  #profilePage{
    background: #fff;
    padding: 0;
    margin-bottom: 50px;
  }
  .profile {
    background: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    max-width: 300px;
    margin: auto;
    text-align: center;
    font-family: arial;
  }
  
  .profile .title {
    color: grey;
    font-size: 18px;
  }
  
  .profile button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
  }
  
  .profile a {
    text-decoration: none;
    font-size: 22px;
    color: black;
  }
  
  .profile button:hover, a:hover {
    opacity: 0.7;
  }

  /* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
  background-color: #555;
  color: white;
  padding: 8px 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  border: none;
  cursor: pointer;
  width: max-content;
  margin: auto;
}
}

/*a propos de l'application*/
@media only screen and (max-width: 800px){
  #about video{
    width: 100%;
  }
}

/*navbar bottom fixed de l'application*/
@media only screen and (max-width: 800px){

nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 55px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    display: flex;
    overflow-x: auto;
    margin-top: 10px;
}

.nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    min-width: 50px;
    overflow: hidden;
    white-space: nowrap;
    font-family: sans-serif;
    font-size: 13px;
    color: #444444;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.1s ease-in-out;
}

.nav__link:hover {
    background-color: #eeeeee;
}

.nav__link--active {
    color: blue;
}

.nav__icon {
    font-size: 18px;
}

}