*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body{
    max-width: 500px;
    margin: auto;
}

main{
    background-color: #1a1a1a;
}

/* cab */

.con-cab{
    height: 30vh;
    width: 100%;
    background-image: url("../img/cab.svg");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 35px;
}

.con-cab img{
    max-width: 44%;
}

/* pre */

.con-pre{
    padding: 0px 35px;
    width: 100%;
}

.con-pre h1{
    color: white;
    font-family: "Work Sans", serif;
    font-weight: 700;
    font-style: italic;
    text-align: right;
    font-size: 1.6rem;
}

.con-pre h2{
    color: red;
    font-family: "Work Sans", serif;
    font-weight: 300;
    font-style: italic;
    text-align: right;
    font-size: 1rem;
}

/* inf */

.con-inf{
    padding: 35px;
    width: 100%;
}

.con-inf p{
    color: white;
    font-family: "Nunito", serif;
    font-weight: 400;
    text-align: justify;
}

.con-inf a{
    width: 15%;
    margin: 5.7%;
}

.con-inf a img{
    width: 100%;
    height: 100%;
}

.btn-inf{
    width: 100%;
    height: 7vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* gal */

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    margin-bottom: 20px;
}
.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;
}

/* btn */

.con-btn{
    padding: 0px 35px;
}

.btns{
    width: 100%;
    min-height: 30vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    justify-items: center;
    gap: 10px;
}

.btns a img{
    width: 100%;
}

.btn-1{
    width: 100%;
}

.btn-2{
    width: 100%;
}

.btn-3{
    width: 100%;
}

.btn-4{
    width: 100%;
}

.btn-5{
    grid-column: -3/-1;
    width: 50%;
}

/* 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-family: "Work Sans", serif;
    font-size: 0.9rem;
    font-weight: 400;
    margin-right: 10px;
    color: white;
}

@media (max-width: 432px){
    .grid div{
        height: 90px;
    }

    .con-btn{
        padding: 0px 10px;
    }

    .con-inf a img{
        width: 100%;
        height: 100%;
    }

    .con-inf a{
        width: 30%;
        margin: 2%;
    }

    #callButton img{
        height: 120%;
        width: auto;
    }
}

@media (max-width: 320px){
    .grid div{
        height: 70px;
    }
}