@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body{
    font-family: sans-serif;
    background-image: url(../img/Fondoazul.png);
    background-size: cover;
    color: #ffffff;
}


.container{
    max-width: 960px;
    margin-left: 190px;
}



.recuadros{
    padding: 50px 0 0 0;
    display: flex;
    flex-direction: column;
}



.box-container-1{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    gap: 0px;
    justify-items: center;
}

.box-container-2{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(1024px, 1fr));
    gap: 0px;
    justify-items: center;
}
.box-container-3{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(1350px, 1fr));
    gap: 0px;
    justify-items: center;
}

.box-1{
    border-radius: 5px;
    z-index: -1000;
    display: none;
}

.box-1:nth-child(1),
.box-1:nth-child(2),
.box-1:nth-child(3),
.box-1:nth-child(4),
.box-1:nth-child(5){
    display: inline-block;
}
.caja-recuadros{
    margin: auto;
	width: 180px;
	height: 180px;
	background: transparent linear-gradient(180deg, #FFFFFF 0%, #0B5E9B 100%) 0% 0% no-repeat padding-box;
	box-shadow: 3px 3px 8px #FFFFFF7C;
	border-radius: 54px;
	opacity: 1;
}

.img1{
    margin-top: 35px;
    margin-left: 33px;
    width: 124px;
    height: 110px;
}
.imgfoto{
    margin-top: 35px;
    margin-left: 50px;
    width: 85px;
    height: 110px;
}
.img2{
    margin-top: 25px;
    margin-left: 35px;
    width: 123px;
    height: 132px;
}
.img3{
    margin-top: 30px;
    margin-left: 25px;
    width: 135px;
    height: 126px;
}
.img4{
    margin-top: 35px;
    margin-left: 25px;
    width: 135px;
    height: 120px;
}
.img5{
    margin-top: 35px;
    margin-left: 25px;
    width: 135px;
    height: 110px;
}

.content h3{
    font-size: 15px;
    margin-bottom: 10px;
    text-align: center;
}

.content{
    color: #030303;
    font-size: 15px;
}

@media (max-width:1161px){

    .header{
        background-color: #0B5E9B;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        min-height: 350px;
        display: flex;
        align-items: center;
    }

    .menu{
        padding: 20px;
    }

    .menu label{
        display: initial;
    }
    .menu .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #030303;
        display: none;
    }

    .menu .navbar ul li{
        width: 100%;
    }

    #menu:checked ~ .navbar{
        display: initial;
    }

    .header-content{
        flex-direction: column;
        padding: 180px 30px 30px 30px;
    }

    .recuadros{
        padding: 30px;
    }
}
@media(max-width:500px){
    .container{
        max-width: 960px;
        margin-left: 0px;
    }
}
