@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

/* RESET */
*{
    margin: 0px;
    padding: 0;
    box-sizing: border-box;
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
}
html,body{

    overflow-x: hidden;
}
body{
    background-color: #fffdf7;
}

/* for booststrap */
p{
    margin: 0;
}

/* MAIN */
#header{
    width: 100%;
    height: auto;
}
#list{
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#main-img{
    height: 100px;
    width: 300px;
}
.box{
    display: flex;
    justify-content: center;
    margin: 2%;
}
.contact-box{
    display: flex;
    margin-top: 1%;
}
.contact-box .contact-icon{
    justify-content: start;
    margin: auto;
    margin-right: 10px
}
.contact-box .contact-text{
    display: block;
    text-align: center;
    margin: auto;
}
.box .contact-text .p{
    font-weight: 600;
}
#list a{
    text-decoration: none;
    cursor: pointer;
    color: black;
}
@media(max-width: 1450px)
{
    #responsive-box{
        width: 100%;
    }
    #main-img{
        height: 115px;
        width: 335px;
    }
}

/* NAV BAR */
#nav-bar{
    width: 100%;
    height: 60px;
    background-color: rgb(18, 18, 18);
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #ffffff;
}
#nav-bar a{
    text-decoration: none;
    color: #ffffffb7;
    transition: 0.2s;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}
#nav-bar a:hover{
    color: #ffffff;
}
#nav{
    list-style: none;
    display: flex;
}
#nav li{
    border-top: 3px solid #bfa98000;
    margin-top: -10px;
    transition: 0.4s;
}
#nav li:hover{
    border-top: 3px solid #dcb46a;
}
.links{
    margin-top: 10px;
    padding: 0px 20px 0px 20px;
    cursor: pointer;
    transition: 0.2s;
}
.mostrar-menu, .esconder-menu{
    font-size: 30px;
    cursor: pointer;
    display: none;
    transition: 0.4s;
    order: 1;
}
.mostrar-menu:hover, .esconder-menu:hover{
    color: #dcb46a;
}
#check{
    display: none;
}

.img{
    display: flex;
    justify-content: center;
}
.img img{
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.sobre-slider{
    margin-top: 7%;
    position: absolute;
    display: block;
    z-index: 98;
    color: #ffffff;
    justify-content: center;
}
.sobre-slider h1{
    font-size: 55px;
    font-weight: bolder;
    display: flex;
    justify-content: center;
}
.sectionn{
    background-color: rgb(18, 18, 18);
    color: #ffffff;
}
.sectionn .container p{
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 100px 0;
}
.listita{
    padding: 20px 27%;
}
.listita h4{
    text-align: center;
    font-weight: bold;
}
.listita li{
    margin: 8px;
}
.sect{
    margin-top: 80px;
}
.contactt{
    display: flex;
    margin-top: 20px;
}
.contactt img{
    height: 5%;
    width: 5%;
    margin-right: 10px;
}
#mama{
    text-align: center;
}

/* form */
.form-accidente .container{
    padding: 20px 10%;
}
.contact-form{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-left: 8%;
    margin-top: 6%;
}
.contact-form input{
    width: 100%;
    margin: 10px 0;
    padding: 0 11px;
    border: #c8c6c6 solid 1px;
    outline: none;
    cursor: pointer;
    height: 40px;
}
.des{
    margin-top: 2%;
}
#dosin{
    margin: 10px 10px;
}
#butnn{
    width: auto;
    height: auto;
    padding: 15px 35px;
    border: none;
    border-radius: 10px;
    background: #dcb46a;
    color: #ffffff;
    transition: 0.4s;
}
.input-container{
    width: 100%;
    display: flex;
    justify-content: center;
}
#butnn:hover{
    transform: scale(1.1);
    opacity: 0.9;
}
#mensaje-contact{
    width: 100%;
    margin: 10px 0;
    padding: 0 11px;
    border: #c8c6c6 solid 1px;
    outline: none;
    cursor: pointer;
}
.contact-accident{
    font-size: 10px;
}

#whalogo{
    position: fixed;
    left: 40px;
    bottom: 40px;
}
#whalogo img{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    transition: 0.4s;
}
#whalogo img:hover{
    transform: scale(1.2);
    opacity: 0.9;
}
/* NAV BAR RESPONSIVE */
@media(max-width: 1100px)
{
    .mostrar-menu, .esconder-menu{
        display: block;
    }
    #nav-bar nav{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #242424;
        z-index: 99;
        right: -100%;
        top: 0;
        text-align: center;
        padding: 100px 0;
        transition: 0.8s;
    }
    #nav{
        display: block;
    }
    #nav li{
        padding: 20px;
    }
    .esconder-menu{
        position: absolute;
        top: 40px;
        right: 40px;
    }
    #check:checked ~ nav{
        right: 0;
    }
    #nav li:hover{
        border-top: 3px solid #dcb46a00;
    }
    #nav a{
        transition: 0.4s;
    }
    #nav a:hover{
        color: #dcb46a;
        transform: scale(1.1);
    }
    .slider-footer{
        display: none;
    }
}
@media(max-width: 991px)
{
    .contact-form{
        margin-left: 0;
    }
    form, textarea{
        min-width: 800px;
    }
    #mama{
        width: 100%;
    }
}
@media(max-width: 860px){
    #auto{
        width: 100%;
    }
    form, textarea{
        min-width: 500px;
    }
}
@media(max-width: 600px){
    .listita h4{
        text-align: center;
    }
    .sobre-slider{
        text-align: center;
    }
    form, textarea{
        min-width: 400px;
    }
    .listita{
        padding: 0;
    }
}
@media(max-width: 400px){
    form, textarea{
        min-width: 370px;
    }
    #main-img{
        height: 60px;
        width: 220px;
    }
    .box{
        display: flex;
        justify-content: center;
        margin: 2% 5% 2% 2%;
    }
}