* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    color: black;
    line-height: 1.5em;
    font-size: 16px;
    font-weight: 400;
}

div.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-weight: 400;
}

/* Header Styles*/
header {
    background-color: beige;
    color: rgb(39, 116, 66);
}

header p.name {
    font-family: "Helvetica";
    font-weight: 800;
    font-size: xx-large;
    font-size: 29px;
}

header div.wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 50px;
}

header nav a:link,
header nav a:visited {
    color: rgb(7, 120, 46);
    text-decoration: none;
    font-weight: 500;
}

header nav a:hover {
    color: black;
}

footer.site-footer {
    background-color: beige;
    color: rgb(39, 116, 66);
    padding: 40px 0;
    font-size: 14px;
    border-top: 2px solid rgb(7, 120, 46);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: "Helvetica";
    font-weight: 800;
    font-size: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) sepia(63%) hue-rotate(90deg) saturate(400%);
    transition: transform 0.2s ease;
}

.footer-socials img:hover {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) contrast(120%) hue-rotate(20deg);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgb(7, 120, 46);
    text-decoration: none;
    font-weight: 500;
}

.footer-nav a:hover {
    color: black;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
}

.back-to-top {
    text-decoration: none;
    font-weight: bold;
    color: rgb(7, 120, 46);
}

.back-to-top:hover {
    color: black;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #000000;
    padding: 4.6rem;
}

.hero-overlay h1 {
    font-size: 2rem;
    font-weight: 800;
    font-family: "Inter", sans-serif;
    margin-bottom: 1rem;
    background-color: #d9ffb0;
    block-size: 90px;
    padding: 37px;
    border-radius: 37px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
    opacity: 97.2%;
    font-family: 'Inter', sans-serif;
}

.hero-overlay p {
    font-size: 1.1rem;
    font-family: "Inter", sans-serif;
    margin-bottom: 2rem;
    color: #000000;
    background-color: #d9ffb0;
    block-size: 39px;
    padding: 8px;
    border-radius: 99px;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
    opacity: 97.2%;
    width: 70%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.hero-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #d9ffb0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
    color: #000000;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s step-start;
}

.hero-button:hover {
    background-color: #2f8b25;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
}

/* ABOUT*/
#about {
    background-color: #d9ffb0;
    padding: 2em;
}

#about div.wrapper {
    display: flex;
    flex-direction: row;
    gap: 80px;
}

div.about-left {
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

div.about-left img {
    width: 200px;
    height: auto;
    border-radius: 10px;
}

div.about-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#inspo {
    background-color: #d9ffb0;
    padding: 60px 0;
    text-align: center;
}

.inspo-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

#inspo .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #277442;
    margin-bottom: 30px;
}

blockquote {
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    color: #008b4a;
    background-color: beige;
    padding: 32px;
    border-left: 10px solid #2c844a;
    border-radius: 22px;
    box-shadow: 0 4px 12px rgba(11, 11, 11, 0.1);
}

blockquote span {
    display: block;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 400;
    color: #0d120e;
}
/* GALLLERY?*/
#gallery {
    min-height: 200px;
}

#gallery div.wrapper {
    padding: 60px 20px;
}

div.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; 
}

div.gallery a {
    width: calc(25% - 30px); 
    display: block;
    border-radius: 12px;
    overflow: hidden; 
}

div.gallery img {
    width: 100%;
    height: auto;
    object-fit: cover; 
    transition: transform 0.3s ease, opacity 0.3s ease; 
}

div.gallery img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* PROJECT STYLE*/
#projects {
    background-color: #f5f5f5; 
    padding: 60px 20px;
}

.cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.card {
    display: flex;
    flex-direction: row;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.card img {
    width: 50%;
    height: auto;
    object-fit: cover;
}

.card-text {
    width: 50%;
    background-color: #d9ffb0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-text h4 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

/* THE OTHER SCREENS*/
@media only screen and (max-width:1000px) {
    #about p{
        font: size 1em;
    }
    #about h1{
        font: size 1em;
    }
}
@media only screen and (max-width: 1000px) {

    /* Header */
    header div.wrapper {
        padding: 0 20px;
    }

    nav ul {
        gap: 30px;
    }

    /* ABOUT section */
    #about div.wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        text-align: center;
    }

    div.about-left,
    div.about-right {
        width: 100%;
        align-items: center;
    }

    /* PROJECT cards */
    .card {
        flex-direction: column;
    }

    .card img,
    .card-text {
        width: 100%;
    }
}
@media only screen and (max-width: 760px) {

    /* Header nav */
    header div.wrapper {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    /* HERO */
    .hero-overlay {
        padding: 2rem;
    }

    .hero-overlay h1 {
        font-size: 1.5rem;
        padding: 20px;
    }

    .hero-overlay p {
        font-size: 1rem;
        width: 100%;
    }

    /* GALLERY */
    div.gallery a {
        width: calc(50% - 15px);
    }
}
img {
    max-width: 100%;
    height: auto;
}
@media only screen and (max-width: 760px) {
    .hero-container img {
        object-fit: contain;
    }
}
@media only screen and (max-width: 760px) {
    h2 {
        font-size: 1.6rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.4em;
    }
}
