/*GENERAL DOCUMENT FORMATTING*/
:root {
    --text-color: #33b210;
    --link-color: #030018;
    --background-color: #FDF5E7;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'neue-haas-grotesk-display', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
}
a {
    text-decoration: none;
    color: var(--link-color);
}

/* NAVBAR STYLES */
nav {
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    align-items: center;
    height: 80px;
}
nav .left a {
    font-size: 18px;
    color: var(--text-color);
    font-weight: bold;
}
nav .right a {
    font-size: 18px;
    color: var(--text-color);
    font-weight: bold;
}

/* IMG CAROUSEL */

.container {
    width: 100%;
    height: 500px;
    position: relative;
    margin-bottom: 20px;
}

img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    top:0%;
    left:0%;
    animation: fade 9s ease-in-out infinite alternate;
    margin-bottom: 20px;
}

img:nth-of-type(1) {
    animation-delay: 0s;
}

img:nth-of-type(2) {
    animation-delay: 3s;
}

img:nth-of-type(3) {
    animation-delay: 6s;
}

@keyframes fade {
    0% {opacity: 1;}
    33% {opacity: 0;}
    67% {opacity: 0;}
    100% {opacity: 1;}
}

/* ABOUT ME SECTION */

.about-me {
    padding: 50px;
    text-align: center;
}

.about-me h1 {
    font-size: 45px;
    padding: 20px 40px;
}