@import url('https://fonts.googleapis.com/css2?family=Dawning+of+a+New+Day&family=Nunito:wght@300;400;700;800&display=swap');

body {
    font-family: 'nunito';
    background-color: #FCF9F7;
    color: #A6AA84;
    font-weight: 300;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    background-color: #A6AA84;
    padding: 0%;
    font-size: 0.8rem;
}

header nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

h1 {
    font-family: 'nunito';
    font-size: 4rem;
    font-weight: bold;
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
    padding-top: 1rem;
}

h2 {
    font-family: 'nunito';
    font-size: 2rem;
    font-weight: 400;
    padding-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-family: 'dawning of a new day';
    font-size: 2.2rem;
    font-weight: normal;
    transform: rotate(-15deg);
    text-align: center;
    margin-left: 2rem;
    max-width: 300px;
}

h5 {
    font-family: 'nunito';
    font-size: 4rem;
    font-weight: bold;
    max-width: 30rem;
    padding-top: 1rem;
    padding-left: 1rem;
    font-family: 'nunito', sans-serif;
    text-transform: uppercase;
    flex-basis: 100%;
}

p {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

img {
    max-width: 70%;
    height: auto;
}

button {
    font-family: 'nunito';
    background-color: #FCF9F7;
    color: #A6AA84;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    margin: 1rem auto 1rem;
    display: block;
}

button:hover {
    background-color: #e3e0da;
}


nav ul {
    gap: 4rem;
    padding: 1rem;
    text-transform: uppercase;
    font-weight: bold;
}

nav a {
    text-decoration: none;
    color: #FCF9F7;
}

nav img {
    height: 35px;
    max-width: 400px;
}

#home {
    display: flex;
    align-items: center;
    padding: 2rem 1rem;
    padding-left: 3rem;
    position: relative;
    background-color: #FCF9F7;
    color: #FCF9F7;
    max-width: 100%;
}

#home img {
    margin: 2rem;
    max-width: 60%;
    height: auto;
}

#home h4 {
    margin-right: 5rem;
}

#home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background-color: #878B6C;
}

#home>* {
    z-index: 1;
}

#logo-banner {
    max-width: 1200px;
    margin: 0%;
}

.logo-banner {
    width: 110vw;
    max-width: 110%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

#werk {
    text-align: center;
    padding: 4rem 1rem;
}

#werk h1 {
    font-family: 'nunito';
    font-weight: bold;
    font-size: 4rem;
    margin-bottom: 1rem;
}

#werk h2 {
    font-family: 'nunito';
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.image-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.image-row a {
    flex: 1 1 30%;
    max-width: 30%;
    display: block;
}

.image-row.bottom-row a {
    flex: 1 1 45%;
    max-width: 45%;
}

.image-row a img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-row a img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

#werk img {
    border-radius: 0;
    transition: transform 0.3s ease;
}

#werk img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

#over {
    background-color: #A6AA84;
    color: #FCF9F7;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem 2rem;
    align-items: start;
    position: relative;

}

#over p:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    padding-left: 5rem;
    padding-top: 7rem;
}

#over img:nth-of-type(1) {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
}

#over img:nth-of-type(2) {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    border-radius: 16px;

}

#over p:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
    margin: 0 0 1rem 0;
    padding-top: 5rem;
    padding-right: 5rem;
}

.cv-button {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    width: max-content;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid #FCF9F7;
    background-color: #FCF9F7;
    color: #A6AA84;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.cv-button:hover {
    background-color: #A6AA84;
    color: #e3e0da;
    border: 2px solid #FCF9F7;
}

#quotes {
    font-size: 1.6rem;
    color: #FCF9F7;
    right: 1rem;
    background-color: #A6AA84;
    padding-bottom: 5rem;
    padding-top: 3rem;
}


#skills {
    background-color: #A6AA84;
    color: #FCF9F7;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 2rem;
    align-items: center;
}

#skills h3 {
    grid-column: 1 / -1;
    font-family: 'nunito', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.skill-name {
    font-weight: 700;
    font-family: 'nunito', sans-serif;
    font-size: 1.1rem;
    margin: 0;
}

.skills-bol {
    margin: 0;
    display: flex;
    gap: 0.3rem;
    justify-content: start;
}

.skills-bol img {
    height: 15px;
    height: auto;
    display: block;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #878B6C;
    color: #FCF9F7;
    margin: 0 auto;
    position: relative;
}

.footer-text {
    flex: 1 1 auto;
    min-width: 200px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 2rem;
}


.social-icons {
    gap: 1rem;
    list-style: none;
    margin: 0 10rem;
    display: flex;
    max-width: 7rem;
    min-width: 5rem;
}



.pattern {
    width: 30%;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    #home {
        flex-direction: column;
        text-align: center;
    }

    #werk img {
        max-width: 90%;
    }

    #skills img:first-child {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .image-row {
        flex-direction: column;
        align-items: center;
    }

    .image-row img {
        flex: 1 1 90%;
        max-width: 90%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    #over {
        display: block;
        padding: 2rem 1rem;
    }

    #over p,
    #over img,
    .cv-button,
    #quote {
        grid-column: unset !important;
        grid-row: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 1rem auto;
        justify-self: unset !important;
        align-self: unset !important;
        transform: none !important;
        text-align: center;
    }

    .cv-button {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    #skills {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    #skills ul {
        flex-basis: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .social-icons {
        margin-top: 1rem;
        flex-wrap: wrap;
        max-width: 7rem;
        min-width: 5rem;
    }

    .pattern {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 1rem;
    }
}


.project {
    background-color: #878B6C;
    color: #FCF9F7;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-left: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-right: 0rem;
    color: #FCF9F7;
    gap: 1.5rem;
    align-items: start;
}

.project h5 {
    grid-column: 1 / 2;
    grid-row: 1;
    margin-bottom: 0.5rem;
}

.project p {
    grid-column: 1 / 2;
    grid-row: 2;
    margin-top: 0;
}

.project img {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    width: 100%;
    justify-self: end;
}

#foto {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
}

#foto img {
    flex: 1 1 30%;
    max-width: 30%;
    object-fit: cover;
}

.btn-left {
    background-color: #A6AA84;
    color: #FCF9F7;
    border: none;
    padding: 0.8rem 1.5rem;
    font-family: 'nunito', sans-serif;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s;
    margin-right: 1rem;
    display: inline-block;
    margin-left: 2rem;
    margin-top: 2rem;
}

.btn-left:hover {
    background-color: #878B6C;
}

.btn-right {
    background-color: #A6AA84;
    color: #FCF9F7;
    border: none;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-family: 'nunito', sans-serif;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin-right: 2rem;
    transition: background-color 0.3s, color 0.3s;
}

.btn-right-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.btn-right:hover {
    background-color: #FCF9F7;
    color: #A6AA84;
}

.button-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 2rem 0 2rem;
  gap: 1rem;
}

.button-row .btn-left {
    flex: 0 0 auto;
    margin-bottom: 2rem;
}

.button-row .btn-right {
    margin-left: auto;
}