body {
    font-family: 'Red Hat Display', sans-serif;
    margin: 0;
    padding-top: 0px; 
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    letter-spacing: 3px;
    background-color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    min-width: 320px; 
}


#title {
    font-size: 60px;
    color: #ffffff;
    letter-spacing: 20px;
    text-align: center;
    margin-top: 50px;

    width: 100%;
    max-width: 100vw;

    opacity: 0;
    animation: fadeIn 1.5s forwards;

    position: relative;
    padding-bottom: 40px;   

}


#title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);

  width: min(650px, 85vw);  
  height: 2px;
  background: #000;
}


#statement {
    margin-top: 2em;
}


@media screen and (max-width: 768px) {
    #title {
        font-size: 40px;
        letter-spacing: 10px;
    }

    .container {
        max-width: 90%;
        font-size: 16px;
        display: flex; 
        flex-direction: column; 
    }

    #bottomtext {
        font-size: 15px;
        padding: 10px;
        margin-top: auto; 
    }

    .about-image-container {
        max-width: 90%;
    }

    .about-image {
        width: 100%;
        height: auto;
    }
}


@media screen and (min-width: 769px) {
    #title {
        font-size: 60px;
        letter-spacing: 25px;
    }

    .container {
        max-width: 800px;
        display: flex; 
        flex-direction: column; 
        font-size: 17px;
    }

    #bottomtext {
        font-size: 16px;
        padding: 20px;
        margin-top: auto; 
    }

    .about-image-container {
        max-width: 300px;
    }

    .about-image {
        width: 300px;
        height: auto;
    }
}


.container {
    text-align: center;
    margin-top: 10px;
    color: rgb(0, 0, 0);
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
    display: flex; 
    flex-direction: column;
    
    
     
}


#bottomtext {
    margin-top: auto; 
    text-align: center;
    padding: 20px;
    margin-bottom: 15px;
    color: rgb(0, 0, 0);
    width: 100%;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    gap: 15px;
    padding: 10px;
    font-size: 17px;
    background-color: #000000;
    color: #ffffff;
    justify-content: flex-start;
    z-index: 1000;
}


.navbar a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1em;
    padding: 8px;
    transition: background-color 0.3s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}


.navbar a:hover {
    background-color: #c7c7c7;
}


@media screen and (max-width: 768px) {
    .navbar {
        font-size: 14px;
        padding: 8px;
        gap: 10px;
    }

    .navbar a {
        padding: 6px;
    }
}


@media screen and (max-width: 480px) {
    .navbar {
        font-size: 12px;
        padding: 6px;
        gap: 8px;
    }

    .navbar a {
        padding: 5px;
    }
}


.about-image-container {
    width: 100%;
    max-width: auto; 
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 1px 8px rgb(72, 72, 72);
    transition: transform 0.3s ease;
    opacity: 0;
    margin: 50px auto 30px; 
    animation: fadeIn 1.5s forwards;
    margin-bottom: 100px;
}


.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    opacity: 1;
    transition: opacity 0.3s ease; 
}


.about-image-container:hover {
    transform: scale(1.05); 
}


.about-image-container:hover .about-image {
    opacity: 1; 
}


@media screen and (max-width: 768px) {
    .about-image-container {
        max-width: 300px; 
    }
}


@media screen and (max-width: 540px) {
    .about-image-container {
        max-width: 65%; 
    }

    .container {
        max-width: 80%;
    }
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.about-header {
    position: relative;
    width: 100%;
    padding-top: 75px;   
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
}

.about-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: #000;
    z-index: -1;
}
