* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}


body {
    line-height: 1.5;
    font-family: "Figtree", sans-serif;
    font-size: 1.2rem;
    color: #2C2C2C;
    background-color: #FCFCFC;
    margin: 0;
}


img {
    width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    padding: 0;

    a {
        color: #2C2C2C;
    }
}

a {
    text-decoration: none;
    color: #3B5361;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

h1 {
    color: #3B5361;
    font-size: clamp(40px, 8vw, 56px);
    font-weight: 700;
    line-height: 120%;
    margin: 0;
}

h2 {
    color: #3B5361;
    text-align: center;
    margin-top: 0;
}

h3,
h4 {
    margin: 0.5rem 0;
}

p {
    margin: 0;
}

.section-title {
    margin: 0 0 3rem 0;
}

.primary-button1,
.primary-button2,
.secondary-button1 {
    display: flex;
    gap: 16px;
    width: 100px;
    height: 48px;
    padding: 12px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 2px solid #3B5361;
    color: #FCFCFC;
    font-weight: 600;
    font-size: 1rem;
    background-color: #3B5361;
}

.primary-button2 {
    width: 240px;
    border: 2px solid #A14B7C;
    background-color: #A14B7C;

    img {
        width: 10%;
    }
}

.secondary-button1 {
    color: #3B5361;
    background-color: #FCFCFC;
}

.primary-button1:hover,
.primary-button2:hover,
.secondary-button1:hover {
    opacity: 0.8;
    transition: all 0.3s ease;
}

header {
    padding: 16px 10%;
    background-color: #FCFCFC;
    position: sticky;
    top: 0;
    z-index: 99;
}

.navbar {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: none;
}

.mobile-menu-open {
    cursor: pointer;
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    text-align: center;
    gap: 3rem;
    transition: right 0.8s ease;

    .mobile-menu-close {
        position: fixed;
        top: 16px;
        right: 80px;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.8s ease, visibility 0.8s ease;
    }

    .mobile-nav {
        padding-top: 72px;
    }

        ul li {
        padding: 1rem;
    }

    .actions {
        display: flex;
        flex-flow: column nowrap;
        gap: 1rem;
        padding-bottom: 50px;
    }

}


.mobile-nav-menu.active {
    right: 0;
}

.mobile-nav-menu.active .mobile-menu-close {
    opacity: 1;
    visibility: visible;
}

main {
    .hero, .features, .about-us, .contact {
        padding: 64px 10%;
    }

    a {
        color: #3B5361;
    }
}

.hero-wrapper,
.hero-content {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 3rem;

    p {
        padding-top: 2rem;
    }
}

.hero-content {
    gap: 2rem;
}


.features {
    position: relative;
    background-image: url('./images/pexels-mizunokozuki-13735971.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    z-index: 0;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #D0E1DF;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

.features > * {
    position: relative;
    z-index: 2;
}

.features-content {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 3rem;
}

article {
    flex-grow: 1;
    display: flex;
    flex-flow: column nowrap;
}

article .icon {
    width: 10%;
}

.about-us {
    background-color: #D0E1DF;
}

.about-us-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.member {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    flex-basis: 80%;

    h4 {
        margin: 0;
    }

    img {
        width: 150px;
        border-radius: 50%;
        border: 4px solid #3B5361;
    }

}

.about-us-content .member:nth-of-type(5),
.about-us-content .member:nth-of-type(6) {
    img {
        border: 4px solid #FCFCFC;
    }
}

.linkedin,
.github {
    color: #3B5361;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.form {

    .button {
        display: flex;
        justify-content: center;
    }
}

.contact-info {
    display: grid;
    margin-bottom: 24px;
}

input,
textarea {
    min-height: 48px;
    border-radius: 4px;
    border: 1px solid #2B2B2B;
    background: #FCFCFC;
    padding: 8px;
    font-size: 1rem;
}

textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

footer {
    padding: 64px 10%;
    color: #FCFCFC;
    background-color: #3B5361;

    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    text-align: center;
    gap: 1rem;

    ul li {
        padding: 4px;
    }

    a {
        color: #FCFCFC;
    }
}

.footer-logo {
    height: 40px;
    width: auto;
}

.divider {
    width: 100%;
    position: relative;
    border-top: 1px solid #fcfcfc;
    box-sizing: border-box;
    height: 1px;
}

.copyright {
    font-size: 1rem;
}

@media screen and (min-width: 567px) {

    .features-content {
        flex-flow: row wrap;
    }

    article {
        flex-basis: 40%;
    }

    article .icon {
        width: 8%;
    }

    .about-us-content {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media screen and (min-width: 1024px) {


    header {
        padding: 8px 10%;
    }
    .mobile-menu-open {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        gap: 5rem;

        nav ul,
        .actions {
            display: flex;
            flex-flow: row nowrap;
            gap: 3rem;
        }

        .actions {
            gap: 2rem;
        }
    }

    .hero-wrapper {
        flex-flow: row;
    }

    .hero-content {
        align-items: flex-start
    }

    .hero-img {
        width: 150%;
    }

    .section-title {
        margin: 0 20% 56px 20%;
    }

    .about-us-content {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-us-content .member:nth-of-type(5) {
        grid-column: -4 / -3;
    }

    .form {
        margin: 0 15%;
    }

}