*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body{
    max-width: 500px;
    margin: auto;
}

main{
    background-color: #DBF0FD;
}

h1, h2, p, a{
    font-family: "Work Sans", serif;
}

/* cab */

.con-cab{
    height: 20vh;
    width: 100%;
    background-color: #031421;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.con-cab img{
    height: 100%;
}

/* inf */

.con-inf{
    padding: 8px 40px;
    margin-bottom: 30px;
    margin-top: 20px;
}

.con-inf p{
    text-align: justify;
}

/* 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;
}

/* btns */

.con-btn{
    padding: 0px 20px;
}

.btns{
    width: 100%;
    min-height: 25vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    justify-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-bottom: 20px;
}

.btns a img{
    width: 20%;
    margin-right: 15px;
}

.btn-1{
    width: 100%;
    font-size: 0.8rem;
    color: white;
    text-decoration: none;
    background-color: #031421;
    text-align: center;
    height: 90%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 20px;
    padding-left: 10px;
}

.btn-2{
    width: 100%;
    font-size: 0.8rem;
    color: white;
    text-decoration: none;
    background-color: #031421;
    text-align: center;
    height: 90%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 20px;
    padding-left: 10px;
}

.btn-3{
    width: 100%;
    font-size: 0.8rem;
    color: white;
    text-decoration: none;
    background-color: #031421;
    text-align: center;
    height: 90%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 20px;
    padding-left: 10px;
}

.btn-4{
    width: 100%;
    font-size: 0.8rem;
    color: white;
    text-decoration: none;
    background-color: #031421;
    text-align: center;
    height: 90%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 20px;
    padding-left: 10px;
}

.btn-5{
    width: 100%;
    font-size: 0.8rem;
    color: white;
    text-decoration: none;
    background-color: #031421;
    text-align: center;
    height: 90%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 20px;
    padding-left: 10px;
}

.btn-6{
    width: 100%;
    font-size: 0.8rem;
    color: white;
    text-decoration: none;
    background-color: #031421;
    text-align: center;
    height: 90%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 20px;
    padding-left: 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;
}

@media (max-width: 320px){
    .btn-1,.btn-2,.btn-3,.btn-4,.btn-5,.btn-6{
        font-size: 0.6rem;
    }
}