:root{
    --colorPrinc:#db3a00;
    --colorSecon:#2d8674;
    --textSombre1:#223330;
    --textSombre2:#5c3a2e;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header{
    display: flex;
    align-items: flex-start;
    padding: 10px;
    font-size: 20px;
}

header a{
    text-decoration: none;
    color: var(--textSombre1);
    font-family: 'Poppins', sans-serif;
}

.first{
    background: url('./assets/plats1.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    height: 50vh;
    margin-top: -100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    
}

body{
    background: url('./assets/escheresque-dark.png');
    background-position: center;
    background-repeat: repeat;
    background-color: var(--colorPrinc);
}


h1{
    margin-top: 10px;
    text-align: center;
    font-size: 50px;
    text-shadow: 8px 2px 12px #223330;
}

@media only screen and (max-width:768px) {
    .first{
        
        border-bottom-left-radius: 40%;
        border-bottom-right-radius: 40%;
        height: 35vh;
        border: 10px dashed snow;
        padding: 5px;
    }

    h1{
        font-size: 30px;
    }
}

input[type="submit"]{
    cursor: pointer;
}

form{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 10px auto;
    padding: 10px;
    gap: 10px;
}

input{
    padding: 10px;
    border: 0.5px snow dashed;
    background-color: transparent;
    color: white;
}

input[type="range"]{
    -webkit-appareance: none;
    appearance: none;
    background-color: var(--colorPrinc);
    border-radius: 12px;
    width: 80%;
    margin: auto;
    height: 20px;
    border: none;
}

input[type="range"]::-webkit-slider-thumb{
    -webkit-appareance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb{
    -webkit-appareance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}


::placeholder{
    color: white;
    opacity: 0.5;
}


#price{
    border-radius: 50%;
    background-color: #db3a0086;
    margin: 10px auto;
    width: 150px;
    height: 150px;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-direction: column;
    padding: 10px;
}


#price::before{
    content: "";
    width: 30%;
    height: 30%;
    position: absolute;
    background-color: transparent;
    border-radius: 50%;
    scale: 1;
    border: 2px dashed snow;
    animation: toRotate 8s 1s infinite;
}

@keyframes toRotate {
    0%{
        transform: rotate(0deg);
    }

    50%{
        transform: rotate(180deg);
    }

    100%{
        transform: rotate(360deg);
    }
}

#price p{
    opacity: 1 !important;
    text-align: center;
}

#price input{
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
    background-color: transparent;
    border: none;
}

#don label{
    color: snow;
    font-family:'Times New Roman', Times, serif;
}

form div{
    width: 60vw;
    margin: 10px auto;
    display: flex;
}

.divider{
    border: 2px dashed snow;
    height: 0.5vh;
    width: 100vw;
    margin: 10px 0;
}


#second{
    padding: 10px;
    display: flex;
    width: 100vw;
    align-items: center;
    gap: 10px;
}




h2{
    color: snow;
    font-size: 30px;
    letter-spacing: 2px;
}


#second p{
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: #223330;
    letter-spacing: 4px;
}

.comment-img{
    background: url('./assets/comment.gif');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 200px;
    height: 200px;
    border-radius: 50%;
}


textarea::placeholder{
    color: snow;
}

textarea{
    padding: 10px;
    background-color: transparent;
    border: 1px dashed snow;
    color: snow;
    width: 90%;
    font-size: 15px;
    margin: 10px auto;
}

#advice input[type="submit"]{
    width: 70%;
}

#advice input[type="submit"]:hover{
    background-color: snow;
    color: #223330;
    transition: .2s ease-in;
    cursor: pointer;
}

.hidden{
    display: none;
}

.show{
    display: flex;
}

#done{
    background: url('./assets/man_playing.gif');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    clip-path: circle(50%);
    width: 200px;
    height: 200px;
}

#mobiles{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#mobiles-moneys{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px;
    background-color: transparent;
    border: 1px dashed snow;
    width: 30vw;
    margin: 10px auto;
    color: snow;
}

#mobiles-moneys option{
    background-color: var(--colorPrinc);
    color: snow;
}

#mobiles-moneys option:hover{
    background-color: snow;
    color: var(--colorPrinc);
}

.hide{
    display: none;
}

.show{
    display: block;
}

input[type="radio"]{
    appearance: none;
    border-radius: 50%;
}

input[type="radio"]:checked{
    background-color: snow;
    color: var(--colorPrinc);
}