body {
    /* background-color: #253551; */
    background: rgb(37, 53, 81);
    background: linear-gradient(
        90deg,
        rgba(37, 53, 81, 1) 0%,
        rgba(74, 106, 162, 1) 80%,
        rgba(37, 53, 81, 1) 100%
    );
    margin: 0;
    height: 100vh;
}

h1 {
    color: #ffffff;
    font-family: 'Futura PT Medium', 'Times New Roman', Times, serif;
    font-weight: normal;
    font-size: 2.5rem;
    padding: 0;
    margin: 0;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    color: #ffffff;
    border: none;
}

.header {
    position: relative;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 2rem;
    width: calc(90vw - 6rem);
    align-items: center;
    padding: 2rem 3rem;
}

.header-link {
    color: #ffffff;
    font-family: 'Futura PT Light', 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    text-decoration: none;
    margin: 0 1rem;
}

.page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: calc(100vw - 3rem);
    min-height: calc(100% - 8rem);
    padding-left: 3rem;
}

.home-content {
    color: #ffffff;
    font-family: 'Futura PT Medium', 'Times New Roman', Times, serif;
    font-size: 2rem;
    width: calc(100vw - 3rem);
}

.home-content-title {
    font-size: 4rem;
}

.home-content p {
    margin-bottom: 2rem;
    width: 60vw;
}

.home-content button {
    font-family: 'Futura PT Medium', 'Times New Roman', Times, serif;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
    background-color: rgba(1, 1, 1, 0);
    border: 2px solid #ffffff;
    height: 4rem;
    width: 16rem;
}

@media screen and (max-width: 930px) {
    .header {
        position: relative;
    }
    .home-content p {
        width: calc(100vw - 6rem);
    }
    .home {
        height: calc(100dvh - 6rem);
    }
    .home-content {
        font-size: 1.5rem;
    }

    .home-content-title {
        font-size: 3rem;
    }
}

@media screen and (max-width: 380px) {
    .home {
        justify-content: start;
    }
}

/* Particle Animation */
.particle-container {
    position: fixed; /* Keeps the div fixed relative to the viewport */
    top: 0;
    left: 0;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    z-index: -1; /* Ensures that content scrolls over it */
}

.particle {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    /* Assign different sizes for particles */
}

/* Keyframes for moving particles to the right */
@keyframes drift {
    to {
        transform: translateY(-50vh) translateX(100vw); /* Move particles to the full width of the viewport */
    }
}
/* Apply the animation to all particles */

.portfolio {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: calc(80vw);
    min-height: calc(100vh - 13rem);
    margin: 5rem auto 0 auto;
}

.portfolio-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

@media screen and (max-width: 1030px) {
    .portfolio-row {
        flex-direction: column;
    }
}

.portfolio-entry {
    position: relative;
    background-color: gray;
    width: 30rem;
    height: 20rem;
    margin: 1rem;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 580px) {
    .portfolio-entry {
        width: 21rem;
        height: 14rem;
    }
}

.portfolio-entry img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border: none;
}

.portfolio-entry-title {
    position: absolute;
    bottom: 0;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    height: 5rem;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.portfolio-entry-title span {
    color: #ffffff;
    font-family: 'Futura PT Medium', 'Times New Roman', Times, serif;
    font-size: 2rem;
    margin: 0 2rem;
}

.about {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 45rem;
    min-height: calc(100vh - 13rem);
    margin: 2rem auto;
    padding-bottom: 5rem;
    color: #fff;
    font-family: 'Futura PT Light', 'Times New Roman', Times, serif;
    font-size: 1.5rem;
}
.about img {
    width: 35rem;
    height: 25rem;
    object-fit: contain;
    margin-bottom: 1rem;
}
.about h6 {
    font-family: 'Futura PT Medium', 'Times New Roman', Times, serif;
    font-size: 1.6rem;
    margin: 0;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    width: 45rem;
    text-align: center;
}

@media screen and (max-width: 745px) {
    .about h2 {
        font-size: 2rem;
        margin: 0;
    }
    .about {
        width: calc(100vw - 4rem);
        font-size: 1.2rem;
    }
    .about img {
        width: calc(100vw - 4rem);
        height: calc(100vw - 4rem);
        margin: 0;
    }
    .about h6 {
        width: calc(100vw - 4rem);
        font-size: 1.3rem;
    }
}

.desktop-menu {
    display: block;
}
@media screen and (max-width: 800px) {
    .desktop-menu {
        display: none;
    }
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    position: relative;
}
@media screen and (max-width: 800px) {
    .hamburger-menu {
        display: block;
    }
    .header {
        width: calc(100vw - 6rem);
    }
}

#menu__toggle {
    opacity: 0;
}

.menu__btn {
    position: relative;
    display: block;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1;
}

.menu__btn span,
.menu__btn span::before,
.menu__btn span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}

.menu__btn span::before {
    content: '';
    top: 8px;
}

.menu__btn span::after {
    content: '';
    top: 16px;
}

.menu__box {
    display: none;
    position: relative;
    background-color: rgba(37, 53, 81, 1);
    width: 100vw;
}

.menu__item {
    padding: 0.8rem 3rem;
    height: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu__item a {
    font-family: 'Futura PT Medium', 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    display: block;
    color: #fff;
    text-decoration: none;
    width: 100%;
}

.menu__item:hover {
    background-color: #ddd;
}

#menu__toggle:checked + .menu__btn + .menu__box {
    display: block;
}

/* Fonts */
@font-face {
    font-family: 'Futura PT Book';
    font-style: normal;
    font-weight: normal;
    src: local('Futura PT Book'),
        url('./fonts/Futura/FuturaCyrillicBook.woff') format('woff');
}

@font-face {
    font-family: 'Futura PT Light';
    font-style: normal;
    font-weight: normal;
    src: local('Futura PT Light'),
        url('./fonts/Futura/FuturaCyrillicLight.woff') format('woff');
}

@font-face {
    font-family: 'Futura PT Medium';
    font-style: normal;
    font-weight: normal;
    src: local('Futura PT Medium'),
        url('./fonts/Futura/FuturaCyrillicMedium.woff') format('woff');
}

@font-face {
    font-family: 'Futura PT Demi';
    font-style: normal;
    font-weight: normal;
    src: local('Futura PT Demi'),
        url('./fonts/Futura/FuturaCyrillicDemi.woff') format('woff');
}

@font-face {
    font-family: 'Futura PT Heavy';
    font-style: normal;
    font-weight: normal;
    src: local('Futura PT Heavy'),
        url('./fonts/Futura/FuturaCyrillicHeavy.woff') format('woff');
}

@font-face {
    font-family: 'Futura PT Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Futura PT Bold'),
        url('./fonts/Futura/FuturaCyrillicBold.woff') format('woff');
}

@font-face {
    font-family: 'Futura PT Extra Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Futura PT Extra Bold'),
        url('./fonts/Futura/FuturaCyrillicExtraBold.woff') format('woff');
}
