@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;800&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
}

body{
    background-color: #ffffff;
}

button{
    background:  orangered;
    color: white;
    width: 120px;
    height: 60px;
    border-radius:20px 20px 20px 20px;
    border-color: transparent;
}
button a{
    color: white;
    text-decoration: none;
}
button:hover{
    background:  #ffbc0e;
}
*,
*::before
*::after{
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    min-height: 100vh;

    
}
header{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.4);
    padding: 0 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.logo{
    font-size: 25px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    margin-right: auto;

}
.logo h1{
    position: absolute;
    top: 10px;
    left: 170px;
    font-size: 2rem;
}
.logo h1:hover{
color: rgb(241, 157, 0);

}

header .logo img{
    height: 70px;
    width: auto;
    transition: all 0.3s;
}

header .logo img:hover{
    transform: scale(1.2);
}
nav ul{
    list-style: none;
}
header nav ul li{
    float: left;
    position: relative;
    
}
header nav ul li a{
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    padding: 20px;
    display: block;
    transition:  all .2s ease;

}

header nav ul li a:hover{
    background:  rgb(241, 157, 0);
    border-radius: 50px;

}

header nav ul li ul{
    position: absolute;
    right: 0;
    width: 300px;
    background-color: rgba(0,0,0,0.4);
    display:none;
}


header nav ul li ul li a{
    font-size: 15px;
    text-transform: capitalize;
}

header nav ul li ul li{
    width:100% ;

}

header nav ul li ul li ul{
    position: absolute;
    top: 0;
    right: 300px;
    }

header nav ul li:hover > ul {
    display: initial;

}

#toggle,
header label{
    display: none;
    cursor: pointer;
}

.pie-pagina{
    position: absolute;
    top: 4100px;
    width: 100%;
    background-color: #000000;
}
.pie-pagina .grupo-1{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap:50px;
    padding: 45px 0px;
}
.pie-pagina .grupo-1 .box figure{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pie-pagina .grupo-1 .box figure img{
    width: 250px;
}
.pie-pagina .grupo-1 .box h2{
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
}
.pie-pagina .grupo-1 .box p{
    color: #efefef;
    margin-bottom: 10px;
}
.pie-pagina .grupo-1 .red-social a{
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    background-color: #c78b0b;
    text-align: center;
    transition: all 300ms ease;
}
.pie-pagina .grupo-1 .red-social a:hover{
    color: orangered;
}
.pie-pagina .grupo-2{
    background-color: #000000;
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}
.pie-pagina .grupo-2 small{
    font-size: 15px;

}
@media screen and (max-width:800px){

    header label{
        display: initial;

    }

    header{
        padding: 20px 10px;
    }

    header nav{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0,0,0,0.4);
        display: none;
    }
    header nav ul li{
        width: 100%;

    }
    header nav ul li a {
        padding: 8px 30px 8px 10%;
    }
    header nav ul li ul{
        position: relative;
        width: 100%;
        left: 0;

    }

    header nav ul li ul li{
        background-color: rgba(0,0,0,0.4);
    }

    header nav ul li ul li ul {
        position: relative;
        width: 100%;
        left: 0;
    }

    #toggle:checked ~ nav {
        display: block;
    }

    .logo h1{
        position: absolute;
        top: 50px;
        left: 100px;
    }
    label img{
        width: 50px;
        height: 50px;
    }



    .pie-pagina .grupo-1{
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap:30px;
        padding: 35px 0px;
    }
}

#hero{
    display: flex;
    align-items: center;
   flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 90vh;
    color: white;
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.2)
    )
    ,url('../imagenes/OIG.jpeg');
    background-repeat: no-repeat;
    background-size:cover ;
    background-position:center ;
 }
 #hero h1{
    font-size: 2rem;
    position: relative;
    top: 50px;
 }


 .capac{

    padding: 150px 0px;
    position: inherit;
    text-align: center;
    justify-content: center;
    align-items: center; 
 }

.capac h2{
    font-size: 1.7rem;
}
 .capac .cap1{
    width: 250px;
    height: 200px;
 }

 
 .capac .cap2{
    width: 250px;
    height: 200px;
 }

 .contenedor{
    padding: 0px 10px;
 }
 .levageo{
    padding: 80px 10px;
    position: inherit;
    text-align: center;
    justify-content: center;
    align-items: center;
    border: 2px transparent solid;
    border-radius: 20px;
    box-shadow:5px 5px 10px  #000;
    
 }

 .levageo:hover{
    color: white;
    background: #fc4a1a;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #f7b733, #fc4a1a);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #f7b733, #fc4a1a); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    
    
 }

 .levageo h2{
    font-size: 1.2rem;
}
.levageo p{
    font-size: 17px;
}

.insta{
    padding: 80px 10px;
    position: inherit;
    text-align: center;
    justify-content: center;
    align-items: center;
    border: 2px transparent solid;
    border-radius: 20px;
    box-shadow:5px 5px 10px  #000;
}

.insta h2{
    font-size: 1rem;
}
.insta p{
    font-size: 17px;
}

.insta:hover{
    color: white;
    background: #fc4a1a;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #f7b733, #fc4a1a);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #f7b733, #fc4a1a); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    
 }
.insta h2{
    font-size: 1.2rem;
}
 
.datos{
    padding: 80px 10px;
    position: inherit;
    text-align: center;
    justify-content: center;
    align-items: center;
    border: 2px transparent solid;
    border-radius: 20px;
    box-shadow:5px 5px 10px  #000;
}

.datos:hover{
    color: white;
    background: #fc4a1a;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #f7b733, #fc4a1a);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #f7b733, #fc4a1a); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    
 }

.datos h2{
    font-size: 1.2rem;
}

.datos p{
    font-size: 17px;
}

.ries{
    padding: 80px 10px;
    position: inherit;
    text-align: center;
    justify-content: center;
    align-items: center;
    border: 2px transparent solid;
    border-radius: 20px;
    box-shadow:5px 5px 10px  #000;
}

.ries:hover{
    color: white;
    background: #fc4a1a;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #f7b733, #fc4a1a);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #f7b733, #fc4a1a); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    
 }

.ries h2{
    font-size: 1.2rem;
}

.ries p{
    font-size: 17px;
}


@media (min-width:720px){

    .contenedor{
        display: grid;
        justify-content: center;
        align-items: center;
        position: inherit;
        justify-content: center;
        align-items: center;
    }

    .contenedor .levageo{
        width: 400px;
        height: 390px;
        padding: 25px 10px;
        
    }

    .contenedor .levageo h2{
        font-size: 1rem;
    }

    .contenedor .levageo p{
        font-size: 14px;
    }

    .contenedor .insta{
        width: 400px;
        height: 350px;
        padding: 25px 10px;
        
    }

    .contenedor .insta h2{
        font-size: 1rem;
    }

    .contenedor .insta p{
        font-size: 15px;
    }

    .contenedor .datos{
        width: 400px;
        height: 350px;
        padding: 25px 15px;
        
    }

    .contenedor .datos h2{
        font-size: 1rem;
    }

    .contenedor .datos p{
        font-size: 15px;
    }

    .contenedor .ries{
        width: 400px;
        height: 350px;
        padding: 25px 15px;
        
    }

    .contenedor .ries h2{
        font-size: 1rem;
    }

    .contenedor .ries p{
        font-size: 15px;
    }


    .pie-pagina{
        position: absolute;
        top: 3000px;


} }

@media (min-width:1200px){


    #hero h1{
        font-size: 3rem;
    }

     .capac .cap1{
        width: 400px;
        height: 300px;
    }
    .capac .cap2{
        width: 400px;
        height: 300px;
    }

    .contenedor{
        position: relative;
        justify-content: center;
        align-items: center;
        display: grid;
        
        grid-template-columns: 360px 360px;
        grid-template-rows: 390px 390px;
        gap: 30px 80px;
        
    }

    .contenedor .levageo{
        place-self: center;
        width: 400px;
        height: 390px;

        
    }

    .contenedor .insta{
        place-self: center;
        grid-column: 2 / 2;
        grid-row: 1 / 2;
        width: 400px;
        height: 390px;
    }

    .contenedor .datos{
        place-self: center;
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        width: 400px;
        height: 390px;
    }

    .contenedor .ries{
        place-self: center;
        grid-column: 2/ 2;
        grid-row: 2 / 3;
        width: 400px;
        height: 390px;
    }

    .pie-pagina{
        position: absolute;
        top: 2600px;


}
}