

body {
    background-image: linear-gradient(to top right, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0) 70%), url(../img/background.jpg);
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    overflow-x: hidden;
    overflow-y: hidden;
}

a{
    text-decoration: none;
    color: white;
}

.navbar {
    width: 100vw;
    height: 50px;
    background: linear-gradient(180deg, rgba(23, 23, 23, 0.9), rgba(23, 23, 23, 0.9) 75%, rgba(185, 185, 185, 0));
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure the navbar is above other content */
    display: flex;
    justify-content: first baseline; /* Distribute links evenly */
    align-items: center; /* Center items vertically */
}

.navbar a {
    text-decoration: none;
    color: white;
    font-family: "Open Sans",arial,sans-serif;
    font-size: 15.5px;
    padding: 10px 15px;
    position: relative;
    top: -5px;
}

.navbar a:hover {
    text-decoration: underline; /* Underline on hover */
    color: #ccc; /* Lighten text color on hover */
}

.login{
    margin-left: auto;
}

.textbox{
    width: 31%;
    font-size: 2.21vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    left: 3%;
    opacity: 0;
    animation: slideInFromBottom 2s forwards;
    position: absolute;
    top: 36%;
}

.bottomtext{
    width: 140%;
}

.profilepicture{
    position: absolute;
    left: 73%;
    top: 23.7%;
    opacity: 0;
    animation: slideInFromRight 2s forwards;
    width: 24%;
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.aboutme{
    font-size: 0.73em;
}

@media screen and (max-width: 1292px) {
    .aboutme{
        font-size: 0.68em;
    }
}

@media screen and (max-width: 1154px) {
    .aboutme{
        font-size: 0.66em;
    }

    .bottomtext{
        width: 160%;
    }
}

@media screen and (max-width: 958px) {
    .aboutme{
        font-size: 0.66em;
    }

    .bottomtext{
        width: 140%;
    }

    .textbox{
        width: 41%;
    }
}

@media screen and (max-width: 784px) {
    body {
        background-attachment: fixed;
        overflow-x: hidden;
    }

    .aboutme{
        font-size: 0.66em;
    }

    .bottomtext{
        width: 140%;
    }

    .textbox{
        width: 48%;
    }

    .profilepicture{
        left: 59%;
        top: 14.7%;
        width: 33%;
    }
}

@media screen and (max-width: 660px) {
    body {
        background-attachment: fixed;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .aboutme{
        font-size: 0.66em;
    }

    .bottomtext{
        width: 140%;
    }

    .textbox{
        width: 48%;
        top: 62%;
        padding-bottom: 4%;
    }

    .profilepicture{
        left: 56%;
        top: 54.7%;
        width: 38%;
    }
}

@media screen and (max-width: 550px) {
    body {
        background-attachment: fixed;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .aboutme{
        font-size: 0.66em;
    }

    .bottomtext{
        width: 140%;
    }

    .textbox{
        width: 48%;
        top: 51%;
    }

    .profilepicture{
        left: 64%;
        top: 63.7%;
        width: 32%;
    }

    .login{
        display: none;
    }
}

@media screen and (max-width: 404px) {
    body {
        background-attachment: fixed;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .aboutme{
        font-size: 0.66em;
    }

    .bottomtext{
        width: 140%;
    }

    .textbox{
        width: 48%;
        top: 51%;
    }

    .profilepicture{
        left: 57%;
        top: 80.7%;
        width: 37%;
    }

    .login{
        display: none;
    }

    .navbar{
        height: 32px;
    }

    .navbar a{
        font-size: 11.5px;
    }
}
