@font-face {
    font-family: "Lexend Deca";
    src: url("../webfonts/LexendDeca.ttf") format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
    --text-color: #2c2c2c;
    --first-color: #00e16f;
    --white-first-color: #c9fde3;
    --light-second-color: #00bd5e;
    --second-color: #00944a;
    --third-color: #00bbe0;
    --white-third-color: #c2eaf1;
    --dark-third-color: #007b94;
    --negative-color: #e00031;
    --light-grey: #d8d8d8;

    --font: "Lexend Deca";
    /*--white-color: #edebec;*/

    font-family: "Lexend Deca", sans-serif;

    color: var(--text-color);

}

/*---- Scroll Bar ----*/

/* width */
::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 999px;
    transition: background 0.3s;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100vw;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

.action-button {
    text-decoration: none;
    color: white;
    border: none;
    border-radius: 0.6rem;
    padding: 1rem 1.6rem;
    background-color: var(--first-color);
    transition: 0.3s;
    font-weight: 500;
    font-size: 1.2rem;
    font-family: var(--font), sans-serif;
    cursor: pointer;
}

.action-button:hover {
    background-color: var(--text-color) !important;
}

header h1 {
    display: none;
}

header .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    max-width: 100%;

    background-color: white;
    padding: 1.6rem 1.2rem;
}

header .mobile-header .logo {
    width: 60%;
}

header .mobile-header .logo img, footer .main-footer .logo img {
    width: 100%;
}

header .mobile-header .menu-icon button {
    border: none;
    background-color: rgba(0, 0, 0, 0);
    color: var(--text-color);
    font-size: 1.2rem;
    transition: 0.3s;
}

header .mobile-header .menu-icon button:hover {
    transition: 0.3s;
    opacity: 0.6;
    transform: scale(0.8);
}

header .mobile-header .sidebar {
    padding: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    transform: translateX(-100%);
    transition: 0.4s;
}

header .mobile-header .sidebar.open {
    transform: translateX(0);
}

header .mobile-header .sidebar > div {
    width: 100%;
}

header .mobile-header .sidebar div + div {
    margin-top: 1rem;
}

header .mobile-header .sidebar .close-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

header .mobile-header .sidebar #close-button {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--first-color);
    transition: 0.3s;
}

header .mobile-header .sidebar #close-button:hover {
    transform: rotate(-90deg) scale(0.6);
    opacity: 0.6;

}

header .mobile-header .sidebar .logo-area {
    display: flex;
}

header .mobile-header .sidebar .menu-area ul {
    list-style: none;
}

header .mobile-header .sidebar .menu-area li {
    padding: 1.2rem 0;
    transition: 0.3s;
}

header .mobile-header .sidebar .menu-area li:hover {
    background-color: var(--text-color);
}

header .mobile-header .sidebar .menu-area li:hover a {
    color: white;
}

header .mobile-header .sidebar .menu-area li + li {
    border-top: 1px solid var(--light-grey);
}

header .mobile-header .sidebar .menu-area a {
    text-decoration: none;
    color: var(--text-color);
    padding-left: 1rem;
}

header .mobile-header .sidebar .menu-area i {
    font-size: 1.2rem;
    color: var(--first-color);
    margin-right: 0.8rem;
}

header .mobile-header .sidebar .menu-area #especial-option {
    background-color: var(--first-color);
    border-radius: 0.6rem;
    border: none;
    margin-top: 2rem;
}

header .mobile-header .sidebar .menu-area #especial-option a {
    color: white
}

header .mobile-header .sidebar .menu-area #especial-option i {
    color: white;
}

header .mobile-header .sidebar .menu-area #especial-option:hover {
    background-color: var(--second-color);
}

header .mobile-header .sidebar .menu-area #especial-option:hover a {
    color: white;
}

header .mobile-header .sidebar .credits-area {
    margin-top: auto;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 300;
    padding: 1rem 0 0;
    border-top: 1px solid var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
}

header .desktop-header {
    width: 100%;
    padding: 2.4rem 3.2rem;
    height: 5.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .desktop-header .logo-area {
    width: 16rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .desktop-header .logo-area img {
    width: 100%;
}

header .desktop-header .menu-area ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .desktop-header .menu-area li {
    margin-left: 1.6rem;
    transition: 0.3s;
}

header .desktop-header .menu-area a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 300;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
}

header .desktop-header .menu-area a:hover {
    transform: translateY(0.1rem);
}

header .desktop-header .menu-area i {
    color: var(--first-color);
    margin-right: 0.4rem;
    transition: 0.3s;
}

header .desktop-header .menu-area a:hover i {
    color: var(--text-color);
}

header .desktop-header .menu-area #especial-option {
    background-color: var(--first-color);
    border-radius: 0.6rem;
}

header .desktop-header .menu-area #especial-option:hover {
    background-color: var(--second-color);
}

header .desktop-header .menu-area #especial-option a {
    color: white;
    padding: 1rem 1.2rem;
}

header .desktop-header .menu-area #especial-option:hover a {
    transform: none;
    opacity: 1;
}

header .desktop-header .menu-area #especial-option i {
    color: white;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-color: var(--text-color);
    color: white;
}

footer .main-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    padding: 3.2rem;
}

footer a {
    text-decoration: none;
    color: var(--first-color);
    transition: 0.3s;
}

footer a:hover {
    color: var(--second-color);
}

footer h4 {
    font-size: 1.2rem;
}

footer .main-footer div + div, div + ul {
    margin-top: 1.2rem;
}

footer .main-footer .logo-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

footer .main-footer .logo-footer p {
    margin-top: 0.64rem;
}

footer .main-footer .logo {
    width: 60%;
}

footer .social-link {
    font-size: 1.6rem;
    margin-right: 0.4rem;
}

footer .main-footer .menu-footer {
    list-style: none;
}


footer .credits-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
    width: 100%;
    padding: 1rem;
    background-color: var(--second-color);
}

footer .credits-footer span {
    font-weight: 500;
}

@media screen and (min-width: 640px) {
    header .mobile-header {
        display: none;
    }

    footer .main-footer {
        display: grid;
        grid-template-columns: repeat(4, 25%);
        min-height: 20rem;
    }

    footer .main-footer div + div, div + ul {
    margin-top: 0;
    margin-right: 1rem;
}

    footer .main-footer .logo-footer {
        grid-column: 1;
    }

    footer .main-footer .logo {
        width: 100%;
    }

    footer .main-footer .social-footer {
        grid-column: 4;
    }

    footer .main-footer .menu-footer {
        grid-column: 3;
        grid-row: 1;
    }

}

@media screen and (max-width: 639px) {
    header .desktop-header {
        display: none;
    }
}