* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "navbar navbar"
        "main main"
        "footer footer";
    font-size: calc(1rem + 1vw);
}

/*********************** NAV LAYOUT ***********************/
nav {
    font-size: calc(0.75rem + 0.75vw);
    grid-area: navbar;
    position: sticky;
    top: 0;
    background-color: #383838;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.6);
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: end;
}

nav li {
    height: 100px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #ffffff;
}

nav a:hover {
    background-color: #696969;
}

.login {
    font-weight: bold;
    color: #BD100E;
}

.login:hover {
    background-color: #BD100E;
    color: #ffffff;
}

nav li:first-child {
    margin-right: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(56, 56, 56, 0.37);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    width: 100%;
}

.menu-button {
    display: none;
}

.logo {
    background-color: transparent;
}

.logo:hover {
    background-color: inherit;
}

/*********************** MAIN LAYOUT ***********************/
main {
    grid-area: main;
}

.top-info {
    height: 100vh;
    background-image: url("./images/logo-bacground.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.top-info-div-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.top-info-inner-div {
    text-align: left;
    color: #ffffff;
}

/********************** Product **********************/
.title-section {
    text-align: center;
    margin: 50px auto
}

.product-div-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 50px;
    max-width: 100%;
    margin: 50px auto
}

.product-div-container:last-child {
    margin-bottom: 50px;
}

.reverse {
    flex-direction: row-reverse;
}

.box {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-box {
    width: 300px;
    height: 300px;
    background-color: #F4F4F4;
    border: 1px solid white;
    border-radius: 20px;
    display: grid;
    place-items: center;
    margin-top: auto;
    margin-bottom: auto;
}

.text-box h3 {
    font-size: calc(1rem + 1vw);
    margin-bottom: 5px;
}

.text-box p {
    margin: 0;
    text-align: justify;
    font-size: calc(0.6rem + 0.6vw);
}

.image-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
}

.image-div img {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
    0 10px 20px rgba(0, 0, 0, 0.22);
    border-radius: 5px;
    background-color: #ffffff;
    display: block;
    object-fit: contain;
}

/*********************** Offer ***********************/
.offer-div-container {
    padding: 0 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    justify-content: center;
    align-items: stretch;
    margin: 50px auto;
    max-width: 100%;
}

.offer-div-content:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 60px rgba(0, 0, 0, 0.23);
}

.offer-div-content {
    margin: 15px;
    float: left;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    padding-top: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
    0 10px 20px rgba(0, 0, 0, 0.22);
    transition: .4s;
    background-color: #F4F4F4;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.offer-div-content p {
    text-align: center;
    padding-top: 8px;
}

.offer-div-content h3 {
    text-align: center;
    margin: 0;
    padding-top: 10px;
}

.offer-div-content h6 {
    text-align: center;
    margin: 0;
    padding-top: 10px;
    color: #df0909;
}

.offer-div-content img {
    width: 200px;
    height: 200px;
    text-align: center;
    margin: 0 auto;
    display: block;
}

.offer-div-content ul {
    list-style: none;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: left;
}

.offer-div-content li {
    padding-top: 5px;
    padding-left: 10px;
    font-size: calc(0.5rem + 0.5vw);
    text-align: left;
}

.offer-div-content button {
    text-align: center;
    font-size: 24px;
    color: #ffffff;
    width: 100%;
    padding: 20px;
    border: none;
    outline: none;
    cursor: pointer;
    margin-top: auto;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.offer-button-base {
    background: #327E0BF0;
}

.offer-button-premium {
    background: #3b3e6e;
}

.offer-button-individual {
    background: #FF0008C3;
}

/*********************** FOOTER LAYOUT ***********************/
footer {
    grid-area: footer;
    background-color: #383838;
    widows: initial;
    text-align: left;
    font: bold 16px sans-serif;
    padding: 50px;
    margin-top: 80px;
    display: flex;
    gap: 20px;
}

.footer-left,
.footer-right {
    vertical-align: top;
    flex: 1;
}

.footer-center {
    vertical-align: top;
    flex: 2;
    margin-top: 20px;
}

.footer-left h3 {
    color: #7D8655;
    font: normal 64px 'cookie', cursive;
    margin: 0;
}

.footer-left h3 span {
    color: #A3A597;
    font: normal 64px 'cookie', cursive;
    margin: 0;
}

.footer-links {
    color: #ffffff;
    margin: 20px 0 12px;
}

.footer-links a {
    display: inline-block;
    line-height: 1.8;
    text-decoration: none;
    color: inherit;
}

.footer-links a:hover {
    color: #7B371F;
}

.footer-company-name {
    color: #A3A597;
    font-weight: normal;
    margin: 0;
}

.footer-center i {
    color: #ffffff;
    text-align: center;
    line-height: 42px;
    margin: 10px 10px 10px 0;
    vertical-align: middle;
}

.footer-center p {
    display: inline-block;
    color: #ffffff;
    vertical-align: middle;
    margin: 0;
}

.footer-center p a {
    color: #7D8655;
    text-decoration: none;
}

.footer-company-about {
    line-height: 20px;
    color: #A3A597;
    font-weight: normal;
    margin: 0;
}

.footer-company-about span {
    display: block;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-icons {
    margin-top: 25px;
}

.footer-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    cursor: pointer;
    border-radius: 2px;
    background-color: #A3A597;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
    margin-right: 3px;
    margin-bottom: 5px;
}

.facebook:hover {
    background-color: #0866FF;
}

.youtube:hover {
    background-color: #FF0033;
}

.linkedin:hover {
    background-color: #0D7AB5;
}


/*********************** MOBILE ***********************/
@media (min-width: 1200px) {
    body {
        font-size: calc(1.2rem + 1vw);
    }
}

@media (max-width: 955px) {
    body {
        grid-template-columns: 1fr;
        font-size: calc(0.8rem + 1vw);
    }

    nav {
        width: 100%;
        font-size: 24px;
    }

    .hide-on-mobile {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .product-div-container {
        flex-direction: column;
        gap: 10px;
        margin: 0 0 10px 10px;
    }

    .box {
        width: 100%;
    }

    .reverse {
        flex-direction: column;
    }

    .text-box {
        order: 1;
    }

    .text-box p{
        margin-bottom: 20px;
        font-size: calc(0.8rem + 1vw);
        text-align: center;
    }

    .image-box {
        order: 2;
    }

    .image-div {
        width: 100%;
        height: auto;
    }

    .offer-div-container {
        flex-direction: column;
        margin: 0;
    }

    .offer-div-content {
        width: 100%;
        margin: 10px 0;
    }

    .offer-div-content li {
        font-size: calc(0.8rem + 1vw);
    }

    .offer-div-content h3 {
        font-size: calc(1.2rem + 1vw);;
    }

    .offer-div-content h6 {
        font-size: calc(0.8rem + 1vw);;
    }

    .offer-div-content button {
        font-size: 20px;
    }

    footer {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        width: 100%;
    }

    .footer-left h3 {
        font: normal 60px 'cookie', cursive;
    }
}

@media (max-width: 530px) {
    .sidebar {
        width: 100%;
    }
}

@media (max-width: 400px) {
    footer {
        min-width: 360px;
        margin: 0;
        padding: 10px;
        gap: 10px;
    }
}