@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&family=Poppins:wght@500&family=Shadows+Into+Light&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    text-decoration: none;
}

header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    position: absolute;
}


/*  Header  Superior*/
.header__superior{
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.logo img{
    width: 300px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

.texto_superior{
    width: 400px;
    display: flex;
    align-items: center;
    margin: auto;    
}

.texto_superior h2{
    display: flex;
    align-items: center;
    font-size: 26px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-style: italic;
    text-shadow: 0px 0px 10px rgb(179, 101, 101);
    color: #dd0d17;
}


/*  Barra Menu  */
.container__menu{
    width: 100%;
    height: 70px;
    background: #023877;
    padding: 0px 20px;
}

.menu{
    max-width: 1200px;
    margin: auto;
    height: 100%;
}

nav{
    height: 100%;
}

nav > ul{
    height: 100%; 
    display: flex;   
}

nav  ul  li{
    height: 100%;
    list-style: none;
    position: relative;
}

nav > ul > li:first-child > a{
    background-image: url(../imagenes/casa.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 20px 40px;
}

nav > ul > li:first-child:hover > a{
    background-image: url(../imagenes/casa.png);
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: center center;
}

nav > ul > li > a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 30px;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 300ms ease;
}

nav > ul > li > a:hover{
    transform: scale(1.1);
    background: #0074C7;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

#selected{
    transform: scale(1.1);
    background-color: #0074C7;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);    
}


/*  Sub Menu*/
nav ul li ul{
    width: 220px;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 90px;
    left: -5px;
    padding: 14px 0px;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    z-index: 10;
}

nav ul li:hover ul{
    visibility: visible;
    opacity: 1;
    top: 70px;
}

nav ul li ul::before{
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid white;
    position: absolute;
    top: -12px;
    left: 20px;
}

nav ul li ul li a{
    display: block;
    color: #0099E9;
    padding: 6px;
    padding-left: 14px;
    margin-top: 10px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 300ms ease;
}

nav ul li ul li a:hover{
    background: #0074C7;
    color: #fff;
    transform: scale(1.1);
    padding-left: 30px;
    font-size: 14px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);           /*  Sombra  */
}

main{
    background: #f0f0f0;
    padding: 40px 20px;
    margin-top: 194px;
}

.titulo{
    width: 100%;
    max-width: 1100px;
    margin: auto;   
    font-size: 12px;
    font-family: sans-serif;
    font-style: italic;
    text-align: center;
    color: rgb(224, 21, 14);
    margin-bottom: 40px;
}

.container-temp-s{
    width: 100%;
    max-width: 1100px;
    display: flex;
    margin: auto;
    padding: 30px;
    background: rgb(250, 247, 247);
    margin-top: 5px;
    border-top: 6px solid rgb(109, 228, 192);
    border-bottom: 6px solid rgb(109, 228, 192);
    border-radius: 40px;
    margin-bottom: 70px;
}

.container-temp-s img{
    width: 500px;
    margin-right: 20px;
    border-radius: 30px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.753);
}

.container-temp-s p{
    font-size: 28px;
    font-weight: 600;
    padding-top: 40px;
    text-align: center;
    color: rgb(9, 25, 170);
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.753);
}

.container-temp-c{
    width: 100%;
    max-width: 1200px;   
    display: flex;
    margin: auto;
    margin-bottom: 80px;
}

.buseta, .camion{
    border-radius: 30px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.753);
}

.container-temp-c p{
    margin-top: 30px;
    font-size: 18px;
    padding: 30px;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify;
    color: rgb(34, 34, 34);
}

.container-temp-i{
    width: 100%;
    max-width: 1200px;
    display: flex;
    margin: auto;
}

.container-temp-i p{
    margin-top: 2px;
    font-size: 18px;
    padding: 30px;
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
    text-align: justify; 
    color: rgb(34, 34, 34);   
}

.container-temp-i img{
    border-radius: 5px;
}

.texto-inf{
    width: 80%;
    margin: auto;
    padding-top: 30px;
}

.texto-inf p{
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    color: rgb(34, 34, 34);
}

.dist{
    width: 80%;
    margin: auto;
    margin-top: 20px;
    border: 1px solid blue;
    padding-bottom: 20px;
}

.dist h2{
    text-align: center;
    font-weight: 700;
    padding-top: 20px;
    font-size: 24px;
    font-style: italic;
    color: blue;
}

.botones-temp{
    width: 100%;
    display: flex;
    *flex-direction: column;
    *flex-direction: row;
    justify-content: space-between;
    margin-top: 30px;    
}

.btn{
    border: 3px solid rgba(100, 100, 100, 0.1);
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 20px;
    width: 360px;		
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    color: #FFF;
    background-size: 300%;
    transition: 0.6s;    
}

.btn:hover{
    background-position: right;
}

.btn1{
    background-image: linear-gradient(to left, #00B7DA, #161569, #00B7DA);
}

           /* ---------    footer     --------- */

footer{
    width: 100%;
    padding: 10px 0px;
    *background-image: url(imagenes/background-footer.svg);
    background-color: #b9e2d8;
    background-size: cover;
}

.container__footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    margin-top: 10px;
}

.box__footer{
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.box__footer .logo img{
    width: 150px;
}

.box__footer .terms{
    max-width: 350px;
    margin-top: 20px;
    font-weight: 500;
    color: #7a7a7a;
    font-size: 18px;
}

.box__footer .terms p{
    text-align: justify;
}

.box__footer h2{
    margin-bottom: 10px;
    color: #343434;
    font-weight: 700;
}

.box__footer a{
    margin-top: 10px;
    color: #7a7a7a;
    font-weight: 500;
}

.box__footer a .fab{
    margin: 0 10px;
}

.box__footer a:hover{
    opacity: 0.8;
}

.box__footer a img{
    width: 20px;
    *margin-right: 10px;
}

.box__copyright{
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 0px 80px;
}

.box__copyright p{
    margin-top: 20px;
    color: #7a7a7a;
}

.box__copyright hr{
    border: none;
    height: 1px;
    background-color: #7a7a7a;
}



/*  Elementos Responsivos  --------------------  */

.icon__menu{
    font-size: 26px;
    color: white;
    cursor: pointer;
    width: 26px;
    height: 100%;
    *display: flex;
    display: none;
    align-items: center;
}

#label__check{
    width: 26px;
    height: 100%;
    display: none;
}

#check__menu{
    display: none;
}

@media screen and (max-width: 720px) {
    
    .search input{
        display: none;
    }

    .header__superior{
        padding: 10px;
    }

    .logo img{
        width: 200px;
    }

    nav > ul{
        flex-direction: column;
        background-color: #023877;
        position: fixed;
        left: 0;
        top: 158px;
        width: 100%;
        height: 0px;
        transition: all 300ms ease;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
    }

    nav > ul > li > a:hover{
        transform: scale(1);
    }

    nav ul li ul{
        left: 90px;
    }

    nav > ul > li:hover ul{
        top: 50px;
    }

    nav > ul > li:first-child a{
        background-position: 20px;
    }

    #selected{
        transform: scale(1);
    }

    #label__check{
        display: block;
    }

    .icon__menu{
        display: flex;
    }

    #check__menu:checked ~ nav > ul{
        height: 300px;
        visibility: visible;
        opacity: 1;
    }

    main{
        margin-top: 158px;
    }
}