* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.5;
    background-color: #FFF7E8;
    display: block;
    min-height: 100vh;
    position: relative;
}


a {
    text-decoration: none;
    color: #FFF7E8;
    font-family: 'Poppins', sans-serif;
}

a:hover {
    color: #FFF7E8;
}

p {
    text-align: justify;
    font-family: 'Open Sans', sans-serif;
}

section {
    background-color: #FFF7E8;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    padding: 1rem;
}

section img {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
}

section:nth-child(odd) img {
    float: left;
    margin-right: 1rem;
}

section:nth-child(even) img {
    float: right;
    margin-left: 1rem;
}

section>div {
    overflow: hidden;
}

div>h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

div>h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #555;
    font-family: 'Poppins', sans-serif;
}

div>p {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    font-family: 'Open Sans', sans-serif;
}

header {
    background-image: url('images/hero-img.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #FFF7E8;
    padding: 9rem 1rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

header a {
    background-color: #931e34;
    padding: 1rem 2rem;
    margin-top: 2px;
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 3px;
    font-family: 'Poppins', sans-serif;
}

header a:hover {
    background-color: #9c515f;
}

footer {
    text-align: center;
    background-color: #931e34;
    color: #FFF7E8;
    padding: 1rem;
    margin-top: 2rem;
}

footer p {
    margin-top: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    color: #FFF7E8;
}

footer a:hover {
    color: #FFF7E8;
    background-color: #9c515f;
    padding: 8px;
}

.shadowed-box2 {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 25px;
    top: 20px;
    margin: auto;
    max-width: 75%;
}

.shadowed-box2 h3 {
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
    color: #FFF7E8;
}

@media (max-width: 768px) {

    section>img,
    section:nth-child(odd) img,
    section:nth-child(even) img {
        display: block;
        margin: 0 auto 1rem auto;
        width: 90%;
        max-width: 600px;
        float: none;
        margin: 0 0 1rem 0;
    }

    section>div {
        overflow: visible;
    }
}

.project-inner img {
    display: block;
    transition: 0.3s ease-in-out;
}

section:nth-child(2) img {
    clip-path: ellipse(85% 90% at 50% 50%);
}

section img:hover {
    filter: grayscale(70%);
    filter: brightness(70%);
}

::selection {
    background-color: #9c515f;
    color: #FFF7E8;
}

.logo-top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 100px;
    height: auto;
}

a:focus {
    color: #FFF7E8;
    outline: 2px #9c515f;
}

.to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #931e34;
    color: #FFF7E8;
    padding: 10px 12px;
    border-radius: 3px;
    text-decoration: none;
}

.to-top:hover {
    background-color: #9c515f;
}