/* Global */
body {
    background-color: #F7F4F4;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-menu {
    display: none;
}

/* Header */
.header {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid lightgrey;
    padding: 15px 40px;
    box-sizing: border-box;
}

.business-icon {
    border: none;
    overflow: hidden;
}

.business-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.header-left {
    display: flex;
    flex-flow: row nowrap;
    gap: 8px;
    align-items: center;
    margin-left: 40px;
}

.business-info {
    display: flex;
    flex-flow: column nowrap;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
}

.header-right {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 5px;
}

.business-name {
    font-size: 20px;
}

.business-slogan {
    font-size: 13px;
    color: grey;
}

.button-group-right {
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
}

.button-group-right button {
    border: none;
    background-color: transparent;
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    color: grey;
    padding: 5px 10px;
    transition: .2s ease-in;
    cursor: pointer;
}

.button-group-right button.active {
    color: black;
}

.button-group-right button:hover {
    color: black;
}

.button-group-right button:focus,
.button-group-right button:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.btn-globe button {
    border: none;
    background-color: transparent;
    font-size: 25px;
    color: grey;
    cursor: pointer;
    transition: .2s ease-in;
}

.btn-globe button:hover {
    color: black;
}

.btn-globe button:active,
.btn-globe button:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Footer */
.footer {
    margin-top: auto;
    background-color: white;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 8px 40px;
    width: 100%;
}

.footer-left {
    display: flex;
    flex-flow: row nowrap;
    gap: 8px;
    align-items: center;
    margin-left: 40px;
}

.footer-right {
    font-family: 'Times New Roman', Times, serif;
    color: grey;
    font-size: 17px;
    margin-right: 5px;
}


/* Main Content */
.main-container {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    font-family: 'Times New Roman', Times, serif;
    flex: 1;
    padding: 40px 20px;
}

.title-container {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.small-title {
    background-color: lightgrey;
    padding: 2px 10px;
    border-radius: 15px;
    font-weight: bold;
}

.main-title {
    font-weight: bold;
    font-size: 55px;
    font-family: Arial, Helvetica, sans-serif;
}

.sub-title {
    font-weight: bold;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    color: grey;
    width: 50%;
    text-align: center;
}

.channel-container {
    display: flex;
    flex-flow: row wrap;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    margin: 40px auto;
    max-width: 1100px;
    justify-content: center;
    row-gap: 50px;
    column-gap: 90px;
}

.channel {
    display: flex;
    flex-flow: column nowrap;
    padding: 30px;
    background-color: white;
    border-radius: 25px;
    gap: 8px;
    align-items: center;
    box-shadow: 1px 8px 12px rgba(0, 0, 0, 0.2);
    width: 290px;
    height: 290px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.channel:hover {
    transform: translateY(-5px);
    box-shadow: 1px 12px 18px rgba(0, 0, 0, 0.3);
}

.channel:hover .channel-image {
    transform: scale(1.1);
}

.channel-image {
    border-radius: 50%;
    width: 90px;
    transition: transform 0.3s ease-in-out;
}

.channel-title {
    font-weight: bold;
    font-size: 30px;
}

.channel-description {
    line-height: 20px;
    color: grey;
    font-weight: 600;
}

.channel-button {
    margin-top: 5px;
    visibility: hidden;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.channel:hover .channel-button {
    opacity: 1;
    visibility: visible;
}

.bottom-message {
    display: flex;
    flex-flow: column nowrap;
    align-self: center;
    text-align: center;
    margin: 30px auto;
    background-color: #ECECEC;
    padding: 30px;
    border-radius: 25px;
    font-family: Arial, Helvetica, sans-serif;
    gap: 8px;
    width: 90%;
}

.bottom-message-title {
    font-weight: bold;
    font-size: 22px;
}

.bottom-message-description {
    font-size: 18px;
    font-weight: 600;
    color: gray;
}

/* Modal */
.btn-group {
    display: flex;
    flex-flow: column nowrap;
    gap: 25px;
}

.modal-dialog {
    max-width: 400px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.modal-content {
    border-radius: 25px;
}

.modal-body {
    margin: 30px 20px;
}

.close:focus,
.close:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.btn-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.btn-language {
    border: none;
    color: grey;
    font-size: 18px;
    padding: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, font-weight 0.3s ease;
}

.btn-language:hover {
    background-color: #DAEBFF;
}

.btn-check:checked+.btn-language {
    background-color: #DAEBFF;
    color: black;
    border: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-check:checked+.btn-language:hover {
    background-color: #DAEBFF;
    color: black;
}

/* Responsiveness */
/* Tablet View = 1024 X 764 */
@media (max-width: 1024px) {
    .main-container {
        width: 100%;
    }

    .title-container {
        width: 100%;
    }

    .sub-title {
        width: 90%;
    }

    .channel-container {
        gap: 28px;
    }

    .footer-left {
        display: none;
    }

    .footer-right {
        width: 100%;
        text-align: center;
        padding: 8px;
    }

    .channel-button {
        visibility: visible;
        opacity: 1;
    }

    .bottom-message {
        width: 95%;
    }
}

/* Mobile View = 800 X 360 */
@media (max-width: 800px) {

    html,
    body {
        height: 100vh;
        background-color: #FFFFFF;
    }

    .main-container {
        width: 100%;
        text-align: center;
        padding: 5px;
    }

    .header {
        margin: 0;
        padding: 15px 20px;
    }

    .header-left {
        margin: 0;
    }

    .header-right {
        display: none;
    }

    .business-icon img {
        width: 65px;
        height: 65px;
        object-fit: cover;
    }

    .business-name {
        font-size: 14px;
        margin-bottom: -.5px;
    }

    .business-slogan {
        font-size: 9px;
        margin-top: -.5px;
    }

    .title-container {
        margin-top: 15px;
        width: 100%;
    }

    .small-title {
        margin-bottom: 15px;
    }

    .main-title {
        font-size: 30px;
    }

    .sub-title {
        font-size: 12px;
    }

    .footer-right {
        font-size: 11px;
    }

    .channel-container {
        margin: 10px;
    }

    .channel {
        width: 100%;
        height: 190px;
        gap: 5px;
        padding: 25px;
    }

    .channel-image {
        width: 70px;
    }

    .channel-title {
        font-size: 20px;
    }

    .channel-description {
        font-size: 12px;
        line-height: 18px;
    }

    .channel-button {
        visibility: hidden;
        display: none;
    }

    .channel:hover .channel-button {
        opacity: 1;
        visibility: hidden;
        display: none;
    }

    .bottom-message {
        width: 95%;
        padding: 18px;
        margin: 11px 0 0 0;

    }

    .bottom-message-title {
        font-size: 16px;
    }

    .bottom-message-description {
        font-size: 12px;
    }

    /* Offcanvas Menu */
    .header-menu {
        display: block;
    }

    .offcanvas-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: #333;
        color: white;
        transition: right 0.3s ease;
        z-index: 100;
        box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.5);
    }

    .offcanvas-header {
        display: flex;
        justify-content: flex-end;
        padding: 10px;
    }

    .offcanvas-body {
        padding: 20px;
        font-size: 25px;
    }

    .offcanvas-links {
        list-style-type: none;
        padding: 0;
    }

    .offcanvas-links li {
        margin: 20px 0;
    }

    .offcanvas-links a {
        color: white;
        text-decoration: none;
        font-size: 18px;
        transition: color 0.3s ease;
    }

    .menu-btn {
        background-color: transparent;
        border: none;
        font-size: 30px;
        color: #333;
        cursor: pointer;
    }

    .menu-btn:active,
    .close-btn:active {
        border: none;
        outline: none;
    }

    .close-btn {
        background-color: transparent;
        border: none;
        font-size: 30px;
        color: white;
        cursor: pointer;
        margin: 4px 14px 0 0;
    }

    .mobile-btn-globe button {
        background-color: transparent;
        border: none;
        color: white;
        padding: 0;
    }

    .mobile-btn-globe button {
        border: none;
        outline: none;
        font-size: inherit;
    }
}