.ratio {
    background-color: rgba(255, 255, 255, 0) !important;
}

#main {
    display: grid;
    grid-template-rows: 366px 366px;
    row-gap: 50px;

    width: 100dvw;
    height: 100vh;
    padding: 50px 0;
    transition: 0.7s;
}

.row {
    width: 100%;
    height: 400px;
    padding: 0;
    margin: 0;
}


#fitcaffe,
#laguna {
    background-color: rgb(124, 128, 128);
    border-radius: 7px;
}

#fitcaffe {
    position: relative;

    background-image: url("img/background/fitcaffe-background.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    padding: 10px;
}

#fitcaffe img {
    height: 366px;
    width: 100%;
}

#fitcaffe-logo {
    background-color: rgba(240, 248, 255, 0);
    border-radius: 7px;
    height: 40% !important;
    width: 65% !important;
    padding: 8px 12px;
}

#fitcaffe #city,
#description {
    position: absolute;
    color: white;

    font-family: "Ubuntu", sans-serif;
}

#fitcaffe #city {
    font-size: 15pt;
    right: 507px;
    top: 140px;
}

#fitcaffe #description {
    font-size: 13pt;
    right: 62px;
    top: 140px;
}

#fitcaffe-buttons {
    position: absolute;
    bottom: 10px;
    right: 90px;

    justify-content: end;
    width: 140px;
    padding: 10px;
}

#fitcaffe-buttons a {
    background-color: rgb(47, 51, 54);
    transition: 0.4s;

    width: 200px;
    font-size: 12.5pt;

    text-decoration: none;

    color: white !important;
}

#fitcaffe-buttons a:hover {
    transform: scale(1.15);

}

#timetable,
#fitcaffe-photos {
    margin-top: 8px;
}

#fitplay {
    background-color: rgb(47, 51, 54);
    transition: 0.4s;

    font-size: 12.5pt;

    text-decoration: none;

    color: white !important;

    position: absolute;
    top: 50px;
    right: 80px;

    border-radius: 100px;
}

#fitplay:hover {
    transform: scale(1.15);
}

#fitcaffe img {
    width: 75px;
    height: auto;
}

#laguna {
    position: relative;

    background-image: url("img/background/laguna-background.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    padding: 14px;

    margin-bottom: 50px;
}

#laguna img {
    height: 366px;
    width: 100%;
}

#laguna-logo {
    background-color: rgba(240, 248, 255, 0);
    border-radius: 7px;
    height: 65% !important;
    width: 50% !important;
    padding: 8px 12px;
}

#laguna-buttons {
    position: absolute;
    bottom: 10px;
    right: 90px;

    justify-content: end;
    width: 140px;
    padding: 10px;

}

#laguna-buttons a {
    background-color: #034786;
    transition: 0.4s;

    width: 200px;
    font-size: 13pt;

    text-decoration: none;

    color: white !important;
}

#laguna-buttons a:hover {
    transform: scale(1.15);
}

#pricing,
#laguna-photos {
    margin-top: 8px;
}

.modal-body {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 850px;
    height: auto;
}

.modal-body .img-fluid {
    border-radius: 10px;
}

.modal-body .btn-close {
    transition: 0.2s;
    right: 10px !important;
    top: 10px !important;
    border-radius: 20px;
}

.modal-body .btn-close:hover {
    transform: scale(1.105);
}

.modal-body .carousel-control {
    transition: 0.2s;
}

.modal-body .carousel-control:hover {
    transform: scale(1.105);
}


.modal a {
    display: flex;
    font-size: 17pt;
    cursor: pointer;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width:320px) and (max-width: 426px) {
    #main {
        padding: 0;
        row-gap: 0;
        grid-template-rows: 320px 320px;
        width: 100vw;
    }

    #fitcaffe,
    #laguna {
        width: 100%;
        height: auto;
    }

    #fitcaffe,
    #laguna {
        border-radius: 0;
        padding: 0;
    }

    #fitcaffe-logo,
    #laguna-logo {
        height: 40% !important;
        width: 100% !important;
        padding: 8px 0;
    }

    #fitcaffe-buttons,
    #laguna-buttons {
        width: 95%;
        right: 20px;
        left: 20px;
    }

    #fitcaffe-buttons a,
    #laguna-buttons a {
        width: 97%;
        font-size: 12.5pt;
    }

    #fitplay {
        top: 40%;
        left: 45%;
    }

    #fitplay:hover {
        transform: scale(1.15);
    }

    #fitcaffe #city {
        right: 10%;
        top: 120px;
    }

    #fitcaffe #description {
        visibility: hidden;
    }

    #laguna {
        margin-bottom: 0;
    }

    #laguna-logo {
        height: 55% !important;
        width: 100% !important;
    }

    .modal-body {
        width: 300px;
        height: auto;
    }

    #fitcaffe-buttons a:hover,
    #laguna-buttons a:hover {
        transform: scale(1.03) !important;
    }

    .fade {
        padding: 0 !important;
    }

}

@media only screen and (max-width: 600px) {
    #main {
        grid-template-rows: 400px 100%;
    }

    #fitcaffe img {
        width: 70px;
    }


}

@media only screen and (min-width: 600px) {
    #fitcaffe #city {
        right: 200px;
        top: 120px;
    }
}

@media only screen and (min-width: 768px) {
    #fitcaffe #city {
        right: 250px;
        top: 120px;
    }
}

@media only screen and (min-width: 992px) {
    #fitcaffe #city {
        right: 340px;
        top: 140px;
    }
}

@media only screen and (min-width: 1440px) {
    #fitcaffe #city {
        right: 470px;
        top: 160px;
    }
}


@media only screen and (min-height: 800px) {
    #laguna {
        margin-bottom: 0;
    }
}