*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body{
    max-width: 500px;
    margin: auto;
}

/* cab */

.con-cab{
    background-image: url("img/fondo-cab.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 35vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.con-cab h1{
    font-family: "Work Sans", serif;
    color: white;
    font-size: 1.5rem;
}

.con-cab h2{
    font-family: "Work Sans", serif;
    color: #C6C6C6;
    font-size: 1.5rem;
}

/* btn */

.con-btn{
    height: 22vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.guar{
    min-width: 50%;
    font-family: "Work Sans", serif;
    color: #00365F;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}

.guar img{
    margin-right: 10px;
}

.con-btn a img{
    width: 65px;
}

.btns{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}

/* inf */

.con-inf{
    padding: 20px;
}

.con-inf p{
    font-family: "Work Sans", serif;
}

.con-inf h2{
    font-family: "Work Sans", serif;
    margin: 20px 0px;
}

/* gal */

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery img:hover {
    transform: scale(1.1);
}
.lightbox {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transform: translate(-50%, -50%);
}
.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}
.lightbox .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.lightbox .prev,
.lightbox .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 0 20px;
    user-select: none;
}
.lightbox .prev {
    left: 10px;
}
.lightbox .next {
    right: 10px;
}

/* foo */

.con-foo{
    height: 10vh;
    width: 100%;
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.con-foo a{   
    width: 40%;
    margin-left: 10px;
}

.con-foo a img{
    height: auto;
    width: 100%;
}

.con-foo h2{
    font-size: 0.9rem;
    font-weight: 400;
    margin-right: 10px;
    font-family: "Work Sans", serif;
}

@media (max-width: 384px){

    .con-cab{
        height: 45vh;
        padding: 20px 5px;
    }

    .con-cab h1{
        font-size: 1.1rem;
    }

    .con-cab h2{
        font-size: 1rem;
    }

    /* btn */

    .con-btn a img{
        width: 45px;
    }
}