@import url('https://fonts.googleapis.com/css2?family=Kdam+Thmor+Pro&display=swap');

body{
    margin: 0;
    font-family: "Kdam Thmor Pro", sans-serif ;
    background-color: #1f1f1f;
    color: white;
}

.topbar {
    background-color: #00752D;
    display: flex;
    justify-content: center;
    gap: 8%;
    padding: 0;
    font-size: 11px;
    height: 20px;
    align-items: center;
}

.menuBar {
    background-color: #098B3B;
    display: flex;
    align-items: center;
    padding: 0 2% 0 0;
    height: 55px;
}

.logoBox {
    background-color: #00752D;
    width: 7%;
    min-width: 120px;
    max-width: 155px;
    height: 75px;
    margin-top: -20px;
    margin-right: 5px;
    padding-left: 8px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.logoBox h1 {
    margin: 0;
    font-size: 52px;
    line-height: 50px;
}

.logoBox p {
    margin: 8px 0 0 0;
    font-size: 14px;
    line-height: 14px;
}

.logoLink {
    color: white;
    text-decoration: none;
}

.menuLinks {
    display: flex;
    gap: 0;
    align-items: center;
    flex: 1;
}

.menuLinks a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    border-right: 1px solid #00752D;
    width: 20%;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loginBox {
    margin-left: auto;
}

.loginBox a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.adminIconBox {
    display: flex;
    gap: 18px;
    align-items: center;
}

.adminIconBox a {
    color: white;
    text-decoration: none;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.adminIconBox i {
    font-size: 22px;
    margin-bottom: 2px;
}

.frontPageImage {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.frontPageImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.frontPageText {
    position: absolute;
    top: 80px;
    left: 7%;
    color: white;
    width: 430px;

    background-color: rgba(0, 0, 0, 0.25);
    padding: 25px;
    border-radius: 8px;
}

.frontPageText h2 {
    font-size: 48px;
    line-height: 1.35;
    margin: 0 0 22px 0;
    font-weight: normal;
}

.frontPageText p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 28px 0;
    width: 100%;
}

.frontPageText button {
    width: 40%;
    min-width: 145px;
    height: 42px;
    margin-right: 4%;
    color: white;
    border-radius: 6px;
    font-family: "Kdam Thmor Pro", sans-serif;
    font-size: 14px;
    cursor: pointer;
}

.frontPageText a:first-of-type button {
    background-color: #00752D;
    border: 1px solid #00752D;
}

.frontPageText a:last-of-type button {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.infoBox {
    background-color: #1f1f1f;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info {
    width: 18%;
    max-width: 300px;
    min-width: 180px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 2%;
    border-right: 1px solid #666666;
}

.info h3 {
    margin: 0;
    font-size: 10px;
    color: white;
}

.info p {
    margin: 1px 0 0 0;
    font-size: 8px;
    color: #9e9e9e;
}

.categorySection {
    background-color: #1E1E1E;
    padding-top: 20px;
    padding-bottom: 0;
}

.categorySection h2 {
    margin: 0 auto 12px auto;
    width: 80%;
    max-width: 1200px;
    font-size: 12px;
    color: white;
}

.categoryBox {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.categoryCard {
    background-color: #202020;
    width: 190px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.categoryCard img {
    width: 100%;
    height: 115px;
    object-fit: cover;
    display: block;
}

.categoryCard h3 {
    margin: 4px 0 0 6px;
    font-size: 11px;
    color: white;
}

.categoryCard p {
    margin: 2px 0 8px 6px;
    font-size: 9px;
    color: #9e9e9e;
}

.categoryCard a {
    position: absolute;
    right: 12px;
    bottom: 6px;
    color: #00752D;
    text-decoration: none;
    font-size: 20px;
}

.categoryCard button {
    display: none;
}

@media (min-width: 2200px) {
    .topbar {
        font-size: 14px;
        height: 28px;
    }

    .menuBar {
        height: 78px;
    }

    .logoBox {
        height: 106px;
        margin-top: -28px;
    }

    .logoBox h1 {
        font-size: 74px;
        line-height: 72px;
    }

    .logoBox p {
        font-size: 18px;
        line-height: 18px;
    }

    .menuLinks a {
        font-size: 18px;
        height: 78px;
    }

    .loginBox a {
        font-size: 18px;
    }

    .adminIconBox a {
        font-size: 15px;
    }

    .adminIconBox i {
        font-size: 30px;
    }

    .frontPageImage {
        height: 650px;
    }

    .frontPageText {
        top: 95px;
        left: 7%;
        width: 560px;
        padding: 35px;
    }

    .frontPageText h2 {
        font-size: 62px;
    }

    .frontPageText p {
        font-size: 20px;
    }

    .frontPageText button {
        height: 56px;
        font-size: 18px;
    }

    .infoBox {
        height: 50px;
    }

    .info {
        max-width: 380px;
        min-width: 220px;
    }

    .info h3 {
        font-size: 14px;
    }

    .info p {
        font-size: 11px;
    }

    .categorySection {
        padding-top: 30px;
        padding-bottom: 0;
    }

    .categorySection h2 {
        width: 80%;
        max-width: 1650px;
        margin-bottom: 18px;
        font-size: 17px;
    }

    .categoryBox {
        width: 80%;
        max-width: 1650px;
    }

    .categoryCard {
        width: 300px;
    }

    .categoryCard img {
        height: 180px;
    }

    .categoryCard h3 {
        margin: 6px 0 0 8px;
        font-size: 15px;
    }

    .categoryCard p {
        margin: 2px 0 10px 8px;
        font-size: 12px;
    }

    .categoryCard a {
        font-size: 30px;
    }
}
