@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --fontI: "Open Sans", sans-serif;
    --fontII: "Oswald", sans-serif;
    --fontIII: "Playfair Display", serif;
}

body {
    background-color: #FFFFFF;
}

header {
    width: 100%;
    background-color: transparent;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 2;
    transition: background 0.3s ease;
}

section {
    overflow: hidden;
}

#menuBtnDiv {
    position: relative;
    z-index: 600;
}

#menuBtn {
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.1rem;
}



/* Rotate forward animation */
#menuBtn.roll-forward i {
    animation: rollForward 0.3s ease forwards;
}

/* Rotate backward animation */
#menuBtn.roll-backward i {
    animation: rollBackward 0.3s ease forwards;
}

@keyframes rollForward {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: rotate(90deg);
        opacity: 1;
    }
}

@keyframes rollBackward {
    0% {
        transform: rotate(90deg);
        opacity: 1;
    }

    100% {
        transform: rotate(0deg);
        opacity: 1;
    }
}

/* Base hidden state */
.menu-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: 0.4s ease;
}

/* When the sidebar opens */
.sidebar.active .menu-item {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger effect */
.menu-item:nth-child(1) {
    transition-delay: 0.10s;
}

.menu-item:nth-child(2) {
    transition-delay: 0.20s;
}

.menu-item:nth-child(3) {
    transition-delay: 0.25s;
}

.menu-item:nth-child(4) {
    transition-delay: 0.30s;
}

.menu-item:nth-child(5) {
    transition-delay: 0.35s;
}





header.scrolled {
    background: #1B1B1B;
    transition: background 0.3s ease;
}

.smallHeader {
    padding: 0.5rem;
}

#smHdLogo {
    height: 55px;
    width: 55px;
}

.smallHeader span {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-left: 1remrem;
    font-family: var(--fontIII);
    font-optical-sizing: auto;
    font-style: normal;
}

/* LARGE MENU */
.largeMenu .menu,
.largeMenu .top-bar {
    background-color: transparent;
}

.smallHeader span,
.largeMnTitle span {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    font-family: var(--fontIII);
    font-optical-sizing: auto;
    font-style: normal;
}

.smallHeader span {
    font-size: 1.5rem;
}

.largeMenu .navDiv {
    display: flex;
    justify-content: right;
}

.largeMenu .navDiv li a {
    color: #cacaca;
}


.h1Sec {
    background-color: grey;
    padding: 5.5rem;
    padding-top: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background: url('https://ag-tech.web.app/assets/images/bg.jpg') no-repeat left center/cover;
}

.h1Div {
    border: 7px solid white;
    padding: 1rem 1rem;
    color: white;
}

h1 i {
    font-size: 3.8rem;
    color: plum;
}

.h1Div h1 {
    font-size: 4rem;
    font-weight: 700;
    font-family: "Playfair Display";
    font-optical-sizing: auto;
    font-style: normal;
}

.secII {
    background: rgba(0, 0, 0, 0.52) url('https://ag-tech.web.app/assets/images/bgi.jpg') no-repeat left center/cover;
    padding: 3rem 2rem;
    background-blend-mode: darken;
}

.secII h2 {
    color: #E1DFDB;
    font-family: var(--fontIII);
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 34px;

}

.secII p {
    color: #FFFFFF;
    font-family: var(--fontI);
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.secII .button {
    border-color: #FFFFFF;
    border-radius: 0.8rem;
    color: #FFFFFF;
    font-family: var(--fontI);
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 700;
    font-variation-settings:
        "wdth" 100;
}

.secII .button:hover {
    background-color: #E1DFDB;
    color: black;
    border: none;
}


.secIII {
    background-color: #E1DFDB;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.secIII .liHead {
    padding: 1rem;
    padding-left: 0;
}

.secIII h2 {
    font-family: var(--fontIII);
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 34px;
    color: #212121;
}

.secIII .liHead p {
    font-weight: 700;
    font-family: var(--fontI);
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.secIII ul {
    padding-bottom: 0.5rem;
}

.secIII ul li {
    margin-bottom: 1rem;
}

.secIII ul li span {
    font-weight: 700;
}

.secIII ul li a {
    color: #500b44;
}

.secIII ul li a:hover {
    text-decoration: underline;
}

.secIII em {
    margin-left: 0.3rem;
}

.secIV {
    background-color: #303033;
    padding-bottom: 3rem;
}

.secIV .head {
    padding: 2rem;
    padding-left: 0;
}

.secIV .head h5 {
    color: #E1DFDB;
    font-weight: 700;
    font-family: var(--fontI);
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.secIV .cliI p {
    color: #E1DFDB;
    font-size: 36px;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
}

.secIV .cliII {
    padding-top: 3.8rem;
    padding-bottom: 0.4rem;
}

.secIV .cliII p {
    color: #bbb7af;
    font-size: 1.5rem;
    font-family: var(--fontIII);
    font-optical-sizing: auto;
    font-style: normal;
}

.secV {
    padding: 4rem 4rem;
    background: rgba(0, 0, 0, 0.492) url('https://ag-tech.web.app/assets/images/bgii.jpg') no-repeat left center/cover;
    background-blend-mode: darken;
}

.secV h2 {
    color: #E1DFDB;
    font-family: var(--fontIII);
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 34px;
}

.secV p {
    color: #E1DFDB;
    font-family: var(--fontI);
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}


.secVI {
    background-color: #303033ec;
    padding: 2rem 2rem;
}

.secVI .button {
    background-color: #E1DFDB;
    color: #000;
    padding-right: 5rem;
    padding-left: 5rem;
    border-radius: 1rem;
    font-family: var(--fontI);
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.secVI button:hover {
    background-color: #9c9c9b;
    color: #000;
}

footer {
    background-color: #303033ec;
    padding: 3rem 0rem;
}


/* SYSTEMS PAGE*/
#sysSecIII {
    padding: 3rem;
}

#sysSecIII .products {
    background-color: rgb(34, 28, 25);
    border-radius: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

.overlay-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    border-radius: 2rem;
}

.overlay-icon i {
    color: #fff;
    font-size: 1.5rem
}

#sysSecIII .products:hover .overlay-icon {
    opacity: 1;
}

#sysSecIII .aDiv {
    padding: 1rem;
}

#sysSecIII a h4 {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff6e3;
}

#sysSecIII a p {
    color: #ffffff;
}

#sysSecIV {
    background-color: #2f2f34;
    padding: 2rem;
}

#sysSecIV span {
    color: #fff;
    font-weight: 600;
}

#sysSecIV i {
    color: brown;
    padding-right: 0.3rem;
}

footer {
    background-color: #272728;
    overflow: hidden;
}

footer p {
    color: #E1DFDB;
}

footer .divh2 {
    padding: 1rem 1rem;
    padding-left: 0;
}

footer .h2 {
    color: #fbc458;
    font-weight: 600;
    margin-bottom: 21rem;
    font-size: 1.5rem;
}

footer li a {
    color: #E1DFDB;
    font-weight: 300;
    font-size: 0.8rem;
}

footer li a:hover {
    text-decoration: underline;
    color: #9c9c9b;
}

footer p {
    font-size: 0.9rem;
    font-weight: 300;
}

.ohiolg {
    height: 55px;
    width: 55px;
}


@media (min-width: 480px) {

    #headLogo {
        height: 45px;
        width: 45px;
    }

    .chat-header span {
        font-size: 2.1rem;
    }

    .menu-toggle {
        font-size: 1.7rem;
    }
}

@media (min-width: 640px) {

    #headLogo {
        height: 50px;
        width: 50px;
    }

    .chat-header span {
        font-size: 2rem;
    }

    .menu-toggle {
        font-size: 1.8rem;
    }
}

@media (min-width: 740px) {
    .introBox {
        top: 40%;
    }
}

@media (min-width: 800px) {


    #headLogo {
        height: 55px;
        width: 55px;
    }

    .chat-header span {
        font-size: 2.3rem;
    }

    .menu-toggle {
        font-size: 1.8rem;
    }
}

@media (min-width: 930px) {


    #headLogo {
        height: 60px;
        width: 60px;
    }

    .chat-header span {
        font-size: 2.5rem;
        letter-spacing: 7px;
    }

    .menu-toggle {
        font-size: 2rem;
    }
}