html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    --blue-color: #1B8996;
    --white-color: #ffffff;
    --title-font: "Libre Baskerville", serif;
    --par-font: "Roboto", sans-serif;
    font-family: var(--par-font);
}

.max-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1em;
}

.logo-wrapper {
    margin-top: -10%;
}

.logo {
    width: 100%;
}

nav {
    border-top: 1px solid var(--blue-color);
    border-bottom: 1px solid var(--blue-color);
    position: sticky;
    top: 0;
    margin-top: -7%;
}

nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
    margin: 0;
    padding: 0.5em;
}

nav ul li {
    list-style: none;
}

.nav-link {
    color: #222;
    text-decoration: none;
    transition: 0.2s ease;
}

.nav-link:hover {
    color: var(--blue-color);
}

.contact-link {
    display: none;
}

@media(min-width: 500px) {
    .contact-link {
        display: block;
    }   
}


h2, h3 {
    font-family: var(--title-font);
    letter-spacing: 1px;
    position: relative;
    z-index: 5;
}


section {
    text-align: center;
    position: relative;
}

.slider {
    overflow: hidden;
    box-shadow: 2px 5px 15px gray;
    margin-top: 1em;
}

.slides {
    display: flex;
    padding: 1em 0;
    animation-name: slide;
    animation-duration: 16s;
    animation-delay: 5s;
    animation-iteration-count: infinite;
}

@keyframes slide {
    0% { transform: translateX(0%); }
    25% { transform: translateX(0%); }
    50% {transform: translateX(-100%);}
    75% { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}

.newspaper-page {
    width: 50%;
    margin-top: 1em;
}


article {
    line-height: 1.3em;
    position: relative;
    z-index: 5;
}

.about-section {
    margin: 5em 0;
}

.about-section article {
    text-align: justify;
}


.why-section {
    background-color: var(--blue-color);
    padding: 2em;
    margin-top: 2em;
}

.group-max-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-section::before {
    content: "";
    width: 250px;
    height: 150px;
    background-color: var(--blue-color);
    position: absolute;
    left: 10%;
    top: -50px;
    border-radius: 50%;
}

.why-section::after {
    content: "";
    width: 250px;
    height: 150px;
    background-color: var(--blue-color);
    position: absolute;
    right: 10%;
    top: -50px;
    border-radius: 50%;
}


.why-img {
    width: 100%;
    border-radius: 5px;
}

.why-section .desc {
    color: var(--white-color);
    margin: 1em;
    font-size: 1.1rem;
    font-weight: bold;
}

.group {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.group article {
    background-color: var(--white-color);
    color: #222;
    padding: 1em;
    border-radius: 5px;
    flex-grow: 1;
    flex-basis: 200px;
}



.for-whome-section {
    background-color: #d1e7ea;
    padding: 2em;
}

.for-whome-section h2 {
    color: var(--blue-color);
}

.for-whome-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-top: 2em;
    position: relative;
}

.for-whome-section article {
    flex-grow: 1;
    flex-basis: 150px;
    background-color: var(--white-color);
    padding: 1em;
    border-radius: 5px;
    position: relative;
}

.for-whome-section article p {
    max-width: 600px;
    margin: 1em auto 2em;
}

.for-whome-section button {
    width: 100%;
    margin-top: 1em;
    border-radius: 5px;
    cursor: pointer;
    background-color: var(--blue-color);
    color: var(--white-color);
    font-size: 1.1rem;
    outline: none;
    border: none;
    padding: 0.8em;
    left: 200px;
    top: 200px;
    z-index: 5;
    transition: 0.2s ease;
}

.for-whome-section button:hover {
    color: var(--blue-color);
    background-color: var(--white-color);
    box-shadow: inset 0px 0px 2px 1px var(--blue-color);
}

.for-whome-img-wrapper {
    margin-top: 2em;
    max-width: 1000px;
    margin: 0 auto;
}

.for-whome-img {
    width: 100%;
    border-radius: 5px;
}



.about-the-founder-section {
    margin-top: 4em;
}

.about-founder-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 2em;
    text-align: left;
}

.likedin-icon {
    width: 40px;
}

.about-the-founder-section h2 {
    margin: 0;
}

.founder {
    color: var(--blue-color);
    font-size: 1.4rem;
    margin: 0;
    padding: 0;
}

.about-founder-text {
    padding: 0 2em;
    line-height: 1.3rem;
    text-align: justify;
}

.about-the-founder-img-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.about-the-founder-img {
    width: 100%;
}



.contact-section {
    background-color: #E7EAD1;
    padding: 4em 1em;
}

form {
    margin-top: 3em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

form input, form textarea, form button {
    text-align: center;
    padding: 1em;
    outline: none;
    border: none;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: 0.2s ease;
}

form input:focus, form textarea:focus {
    box-shadow: 0px 0px 3px 2px var(--blue-color);
}

form textarea {
    min-height: 150px;
    max-height: 250px;
    resize: vertical;
    font-family: var(--par-font);
}

form button {
    cursor: pointer;
    background-color: #1B8996;
}

form button:hover, form button:focus {
    color: var(--white-color);
    box-shadow: inset 0px 0px 2px 1px var(--white-color);
}



@media(min-width: 1000px) {

    h2 {
        font-size: 1.8rem;
    }

    .about-section article {
        font-size: 1.1rem;
    }

    .about-the-founder-section {
        margin: 2em 0;
    }

    .about-the-founder-section .group-max-container {
        display: flex;
    }

    .about-founder {
        width: 50%;
    }

    .about-founder-text {
        font-size: 1.1rem;
        line-height: 1.3em;
    }

    .about-the-founder-img-wrapper {
        width: 50%;
    }
}


@media(min-width: 1150px) {
    .about-founder {
        margin-top: 2em;
    }

    .about-founder-text {
        font-size: 1.1rem;
        line-height: 1.7em;
    }
} 