* {
    box-sizing: border-box;
    /* padding and margin are included in width and height */
    font-family: noto sans;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

/* HEADER */
header {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 3;
}

/*navbar*/
.navbar {
    min-height: 40px;
    /* height of navbar */
    display: flex;
    justify-content: space-between;
    /* arranges navbar horizontally */
    align-items: center;
}

.header-logo {
    height: clamp(40px, 3vw, 50x);
    width: clamp(150px, 3vw, 200px);
    margin-top: 5px;
    margin-left: 20px;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    /* arranges it horizontally */
    align-items: center;
    gap: 50px;
    margin-right: 40px;
}

.nav-item {
    padding: 5px;
    font-weight: 500;
    list-style-type: none;
}

.nav-link {
    color: black;
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: 3px underline #50B848;
}

/* hamburger icon */
.hamburger {
    display: none;
    cursor: pointer;
    margin-right: 10px;
}

/* hamburger bar settings */
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px;
    background-color: #50B848;
    border-radius: 10px;
}

/* === SUBHEADER === */
.header-title {
    text-align: center;
    font-size: 60px;
    font-weight: 500;
    color: white;
    padding: 115px 0;
    margin: 0;
}

/* CONTACT FORM */
.contact-form {
    margin-top: 80px;
    margin-bottom: 50px;
}

.form-container {
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    margin: 0 auto;
    background-color: #ececec;
}

.form {
    padding: 50px;
    font-weight: 500;
}

.form-title {
    font-size: 35px;
    font-weight: 600;
    margin: 0;
    text-align: center;
    color: #50B848;
}

.form-desc {
    font-size: 20px;
    margin: 15px 0 30px 0;
    text-align: center;
}

label {
    display: block;
    font-size: 17px;
    font-weight: 500;
}

.asterik {
    color: red;
}

.input-area {
    width: 500px;
    max-width: 100%;
    height: 30px;
    border-radius: 8px;
    border: none;
}

.message {
    height: 150px;
}

.form-buttons {
    text-align: center;
    display: flex;
    justify-content: center;
}

.contact-submit {
    width: 100px;
    height: 30px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    background-color: #50B848;
    color: white;
    cursor: pointer;
}

.contact-submit:hover {
    transform: scale(1.1);
    transition: 0.1s;
}

/* FOOTER */
.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ececec;
    padding: 50px 0 25px 0;
}

.footer {
    display: flex;
    padding: 0 20px;
}

.logo-socials-container {
    display: flex;
    align-items: center;
}

.footer-logo {
    width: 100px;
    height: auto;
}

.footer li {
    list-style: none;
    text-align: left;
}

.footer a {
    text-decoration: none;
    color: black;
}

.footer a:hover {
    text-decoration: 3px underline #50B848;
}

.links-services {
    display: flex;
}

.footer-quick-links {
    margin: 0 70px;
}

.footer-services {
    margin-right: 70px;
}

.footer-socials,
.footer-quick-links,
.footer-services,
.footer-office {
    width: 100%;
    max-width: 400px;
}

/* remove when Meraki has social media */
.footer-socials-container {
    display: none;
}

.footer-socials-list {
    display: flex;
    margin: 10px 0 0 -40px;
    gap: 10px;
}

.fa-brands {
    font-size: 30px;
}

.socials-title,
.quick-links-title,
.services-title,
.office-title {
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 600;
    color: #50B848;
}

.socials-title {
    margin-top: 10px;
    margin-top: 26px;
    margin-bottom: 0;
}

.footer-links-list,
.footer-service-list,
.footer-office-list {
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 500;
}

.quick-links-title,
.services-title,
.office-title {
    margin-bottom: 10px;
}

.links li,
.services li,
.office li {
    margin-bottom: 8px;
}

/* COPYRIGHT */
.copyright {
    background-color: #50B848;
    padding: 10px;
    color: white;
    font-weight: 500;
    text-align: center;
}

/* MOBILE LAYOUT */
@media(max-width:300px) {
    .contact-form {
        padding: 50px 10px;
    }
}

@media(max-width:360px) {
    .copyright {
        font-size: 13px;
    }
}

@media(max-width:500px) {
    .contact-form {
        padding: 50px 30px;
    }
}

@media(max-width:900px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 32px;
        flex-direction: column;
        background-color: #50B848;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 10px;
    }

    .nav-item {
        color: white;
        font-weight: 600;
    }

    /* When menu is active */
    .nav-menu.active {
        left: 0;
    }
}

@media (max-width:1100px) {
    .footer {
        padding: 0 10px;
    }

    .footer-quick-links {
        margin: 0 20px;
    }

    .footer-services {
        margin-right: 20px;
    }

    .footer-logo {
        width: 70px;
        height: auto;
    }

    .fa-brands {
        font-size: 25px;
    }
}

@media (max-width:830px) {
    .footer {
        display: block;
    }

    .logo-socials-container {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    .logo-socials {
        display: flex;
        gap: 30px;
    }

    .footer-socials-container {
        margin-top: -20px;
    }

    .links-services {
        display: flex;
    }

    .quick-links-title,
    .services-title,
    .office-title {
        margin-bottom: 5px;
    }

    .footer-quick-links {
        margin-right: 0px;
        margin-left: 0px;
    }

    .footer-services {
        margin-right: 0px;
    }
}

@media (max-width:370px) {

    .footer,
    .links-services {
        display: block;
    }
}