@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');


*{
    margin: 0;
    /*font-family: 'Montserrat', sans-serif;*/
    font-family: 'Lemon/Milk', sans-serif;
}

body{
    background: rgb(199,77,89);
    background: linear-gradient(90deg, rgba(199,77,89,1) 0%, rgba(137,0,36,1) 100%);
    background-size:cover;
}

.accueil{
    background: rgb(199,77,89);
    background: linear-gradient(90deg, rgba(199,77,89,1) 0%, rgba(137,0,36,1) 100%);
    position: absolute;
    z-index: 5;
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.libre{
    color: white;
    font-weight: bold;
    margin-top: 25%;
}


.bubbles,.bubble{
    z-index: 6;
}

.bubbles2,.bubble2{
    z-index: 1;
}

.deg{
    position: absolute;
    top: 50%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    font-weight: bold;
    margin-top: 1%;
    height: 50px;
    font-size: 20px;
    background-color: #890024;
    color: white;
    border-radius: 25px;
    border: none;
    width: 30%;
    z-index: 10;
    animation: up 4s;
}

.two{
    top: 56%;
}

.deg:hover{
    filter: brightness(70%);
    font-size: 25px;
}

.accueil h1{
    margin-top: 18%;
    font-size: 100px;
    color: white;
    font-family: 'Lemon/Milk700', sans-serif;
    animation: up 3s;
}

#menucarte{
    display : grid;
    grid-template-columns: 50% 50%;
}

.left{
    display: grid;
    grid-template-rows: 30% 70%;
}

#search{
    background-color: white;
    text-align: center;
}

#search h2{
    margin-top: 10%;
    font-size: 45px;
    font-family: 'Lemon/Milk700', sans-serif;
}

.here{
    position: absolute;
    top : 18%;
}

#searchbar{
    margin-top: 3%;
    padding-left: 3%;
    width: 70%;
    border-bottom: solid 1px rgb(83, 83, 83);
    border-radius: 0px;
}


#searchbar:focus {
    outline: none;
    font-size: 18px;
}

#volet{
    background-color: #E9D4D7;
    height: 100%;
}

#map{
    height:1008px;
    z-index: 1;
}

option{
    display: block;
    background-color: white;
    width: 97%;
    font-size: 15px;
    border-radius: 10px;
    margin-top: 1%;
    padding-top: 1%;
    padding-bottom: 1%;
    text-align: center;
}

select{
    overflow-y: scroll;
    scrollbar-color: rebeccapurple;
    scrollbar-width: thin;
    width: 100%;
    background-color: #c74d59;
    border: none;
    font-size: 15px;
    padding-left: 2%;
    padding-top: 2%;
    height: 100%;
}


/*SCROOL BAR*/
  /* Demonstrate a "mostly customized" scrollbar
   * (won't be visible otherwise if width/height is specified) */
  select::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #d6d6d6; /* or add it to the track */
  }
  /* Add a thumb */
  select::-webkit-scrollbar-thumb {
      background: #900D2C;
  }

option:hover{
    filter: brightness(70%);
    font-size: 20px;
}

select:focus{
    outline: none;
}

#form{
    width: 70%;
    background-color: #ffffff;
    text-align: center;
    font-size: 15px;
    padding-top: 2%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    z-index: 2;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 24px;
}

.pad{
    position: relative;
    width: 70%;
    background-color: #ffffff;
    text-align: center;
    font-size: 15px;
    padding-top: 2%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 24px;
    padding-bottom: 2%;
    z-index: 2;
}

.pad form{
    z-index: 2;
}

.pad input[type="submit"]:hover{
    font-size: 25px;
}

.message{
    margin-top: 1%;
    background-color: rgb(53, 156, 53);
    color: white;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1%;
    padding-bottom: 1%;
    border-radius: 10px;
}

.return img{
    filter: brightness(0%);
    width: 50px;
    position: relative;
    right: 42%;
}

.return img:hover{
    transform:scale(1.25);
}

#name{
    color: white;
    margin-top: 2%;
    padding-bottom: 2%;
}

#lon{
    padding-bottom: 2%;
    color: white;
}

#lat{
    padding-bottom: 2%;
    color: white;
}

#add{
    padding-bottom: 2%;
    color: white;
}

input{
    height: 35px;
    border-radius: 5px;
    border : none;
    z-index: 2;
}

input[type="text"]{
    padding-left: 2%;
    width: 65%;
    border-bottom: solid 1px rgb(83, 83, 83);
    border-radius: 0px;
}

input[type="text"]:focus {
    outline: none;
    font-size: 18px;
}


input[type="submit"]{
    width: 65%;
    height: 50px;
    font-size: 20px;
    background-color: #890024;
    color: white;
    border-radius: 25px;
    font-weight: bold;
}

input[type="submit"]:hover{
    filter: brightness(70%);
}

form h2{
    color: rgb(0, 0, 0);
    font-size: 35px;
    font-weight: bold;
}

div button{
    font-weight: bold;
    margin-top: 1%;
    width: 65%;
    height: 50px;
    font-size: 20px;
    background-color: #890024;
    color: white;
    border-radius: 25px;
    border: none;
}

div button:hover{
    filter: brightness(70%);
}

#ajoutmagasin{
    background-color: white;
    height: 60px;
    position: absolute;
    top : 90%;
    bottom : 0;
    left : 60%;
    right: 0;
    width: 3%;
    border-radius: 50%;
    z-index: 2;
}

#ajoutmagasin:hover{
    background-color: rgb(192, 192, 192);
}

#ajoutmagasin a{
    position: absolute;
    top : 6px;
    bottom : 0;
    left : 6px;
    right: 0;
    z-index: 3;
}

#ajoutmagasinimg{
    width: 90%;
    z-index: 4;
}

/*Animation*/
@keyframes slide{
    0%{
        transform: translateY(0%);
    }
    100%{
        transform: translateY(-100%);
    }
}

@keyframes up{
    0%{
        transform: translateY(-1000%);
    }100%{
        transform: translateY(0%);
    }
}



/* RESPONSIVE */

/*TELEPHONE*/

@media only screen and (min-width:320px) and (max-width: 480px){
    .accueil{
        background: rgb(199,77,89);
        background: linear-gradient(90deg, rgba(199,77,89,1) 0%, rgba(137,0,36,1) 100%);
        position: absolute;
        z-index: 5;
        width: 100%;
        height: 100%;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    
    .libre{
        color: white;
        font-weight: bold;
        margin-top: 100%;
        font-size: 12px;
    }
    
    
    .bubbles,.bubble{
        z-index: 6;
    }
    
    .deg{
        position: absolute;
        top: 30%;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: center;
        font-weight: bold;
        height: 50px;
        font-size: 20px;
        background-color: #890024;
        color: white;
        border-radius: 25px;
        border: none;
        width: 60%;
        z-index: 10;
    }
    
    .deg:hover{
        filter: brightness(70%);
    }

    .two{
        top: 38%;
    }
    
    .accueil h1{
        margin-top: 18%;
        font-size: 45px;
        color: white;
        font-family: 'Lemon/Milk700', sans-serif;
    }

    #menucarte{
        display : grid;
        grid-template-columns: repeat(1,1fr);
    }

    #search h2{
        margin-top: 10%;
        font-size: 20px;
        font-family: 'Lemon/Milk700', sans-serif;
    }

    .left{
        display: block;
    }

    #map{
        height:125px;
        z-index: 1;
    }

    .here{
        position: absolute;
        top : 11%;
    }

    #search{
        padding-top: 10%;
        height: 150px;
        background-color: white;
        text-align: center;
    }
    
    #searchbar{
        margin-top: 3%;
        padding-left: 10%;
        width: 70%;
        border-bottom: solid 1px rgb(83, 83, 83);
        border-radius: 0px;
    }
    
    
    #searchbar:focus {
        outline: none;
        font-size: 18px;
    }
    
    #volet{
        height: 150px;
        padding-top: 5%;
        padding-bottom: 5%;
        background-color: #c74d59;
    }
    
    #map{
        height:558px;
    }
    
    option{
        display: block;
        background-color: white;
        width: 97%;
        font-size: 15px;
        border-radius: 10px;
        margin-top: 1%;
        padding-top: 1%;
        padding-bottom: 1%;
        text-align: center;
    }
    
    select{
        overflow-y: scroll;
        scrollbar-color: rebeccapurple;
        scrollbar-width: thin;
        width: 100%;
        background-color: #c74d59;
        border: none;
        font-size: 15px;
        padding-left: 5%;
        padding-top: 2%;
        padding-bottom: 2%;
        height: 100%;
    }

    /*SCROOL BAR*/
  /* Demonstrate a "mostly customized" scrollbar
   * (won't be visible otherwise if width/height is specified) */
    select::-webkit-scrollbar {
        width: 10px;
        height: 8px;
        background-color: #d6d6d6; /* or add it to the track */
    }
    /* Add a thumb */
    select::-webkit-scrollbar-thumb {
        background: #900D2C;
    }

    option:hover{
        filter: brightness(70%);
    }

    select:focus{
        outline: none;
    }

    #form{
        display: inline-block;
        width: 50%;
        margin-left: 25%;
        margin-top: 3%;
        background-color: #922c3a;
        text-align: center;
        font-size: 15px;
        padding-bottom: 4%;
        padding-top: 2%;
        border-radius: 10px;
    }

    #name{
        color: white;
        margin-top: 5%;
        padding-bottom: 2%;
    }

    #lon{
        padding-bottom: 2%;
        color: white;
    }

    #lat{
        padding-bottom: 2%;
        color: white;
    }

    #add{
        padding-bottom: 2%;
        color: white;
    }

    input{
        width: 65%;
        height: 35px;
        border-radius: 5px;
        border : none;
    }

    input[type="text"]{
        padding-left: 2%;
    }


    input[type="submit"]{
        width: 35%;
    }

    input[type="submit"]:hover{
        background-color: #999999;
        color: rgb(38, 38, 38);
    }

    form h2{
        color: white;
    }

    div button{
        margin-top: 3%;
        height: 35px;
        width: 35%;
        border-radius: 5px;
        border : none;
    }

    div button:hover{
        background-color: #999999;
        color: rgb(38, 38, 38);
    }

    #ajoutmagasin{
        background-color: white;
        height: 60px;
        position: absolute;
        top : 860px;
        bottom : 0;
        left : 1800px;
        right: 0;
        width: 3%;
        border-radius: 50%;
        z-index: 2;
    }

    #ajoutmagasin:hover{
        background-color: rgb(192, 192, 192);
    }

    #ajoutmagasin a{
        position: absolute;
        top : 6px;
        bottom : 0;
        left : 6px;
        right: 0;
        z-index: 3;
    }

    #ajoutmagasinimg{
        width: 90%;
        z-index: 4;
    }
}

/*TABLETTE*/