
html {
    scroll-behavior: smooth;
}

.back-to-top {
    display: block;

    width: 200px;

    margin: 40px auto;

    padding: 12px;

    text-align: center;
    text-decoration: none;

    color: white;
    background-color: rgb(35, 35, 35);

    border-radius: 8px;

    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: rgb(70, 70, 70);
}

.page {
    animation: FadeIn;
    animation-duration: 1s;
    animation-timing-function: ease;
}

@keyframes FadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.personal-website-section {
    width: 800px;
    margin: 40px auto 0 auto;

    background-color: rgb(52, 152, 219);
    border-radius: 6px 6px 0 0;

    text-align: center;
}

.personal-website-section h2 {
    margin: 0;
    padding: 10px;

    font-size: 30px;
}

.personal-website {
    width: 800px;
    margin: 0 auto 80px auto;

    background-color: rgb(41, 128, 185);
    border-radius: 0 0 6px 6px;

    text-align: center;
    overflow: hidden;

    transition: box-shadow 0.3s ease;
}

.personal-website:hover {
    box-shadow: 0 12px 28px rgba(223, 223, 223, 0.4);
}

.personal-website p {
    padding: 20px;
    margin: 0;
    font-size: 25px;
    line-height: 1.5;
}

.personal-website-image {
    width: 100%;
    height: 450px;

    object-fit: cover;
    object-position: center 35%;

    display: block;

    transition: transform 0.3s ease;
}

.personal-website-image:hover {
    transform: scale(1.03);
}

.unity-games-section {
    width: 800px;
    margin: 40px auto 0 auto;

    background-color: rgb(120, 75, 220);
    border-radius: 6px 6px 0 0;

    text-align: center;
}

.unity-games-section h2 {
    margin: 0;
    padding: 10px;

    font-size: 30px;
}

.unity-games {
    width: 800px;
    margin: 0 auto 80px auto;

    background-color: rgb(80, 45, 150);
    border-radius: 0 0 6px 6px;

    text-align: center;
    overflow: hidden;

    transition: box-shadow 0.3s ease;
}

.unity-games:hover {
    box-shadow: 0 12px 28px rgba(223, 223, 223, 0.4);
}

.unity-games p {
    padding: 20px;
    margin: 0;
    font-size: 25px;
    line-height: 1.5;
}

.unity-games-image {
    width: 100%;
    height: 450px;

    object-fit: cover;
    object-position: center 35%;

    display: block;

    transition: transform 0.3s ease;
}

.unity-games-image:hover {
    transform: scale(1.03);
}

.bugsy-section {
    width: 800px;
    margin: 40px auto 0 auto;

    background-color: rgb(55, 185, 85);
    border-radius: 6px 6px 0 0;

    text-align: center;
}

.bugsy-section h2 {
    margin: 0;
    padding: 10px;

    font-size: 30px;
}

.bugsy {
    width: 800px;
    margin: 0 auto 80px auto;

    background-color: rgb(35, 135, 60);
    border-radius: 0 0 6px 6px;

    text-align: center;
    overflow: hidden;

    transition: box-shadow 0.3s ease;
}

.bugsy:hover {
    box-shadow: 0 12px 28px rgba(223, 223, 223, 0.4);
}

.bugsy p {
    padding: 20px;
    margin: 0;
    font-size: 25px;
    line-height: 1.5;
}

.bugsy-image {
    width: 100%;
    height: 750px;

    object-fit: cover;
    object-position: center 35%;

    display: block;

    transition: transform 0.3s ease;
}

.bugsy-image:hover {
    transform: scale(1.03);
}


.future-projects-section {
    width: 800px;
    margin: 40px auto 0 auto;

    background-color: rgb(235, 145, 40);
    border-radius: 6px 6px 0 0;

    text-align: center;
}

.future-projects-section h2 {
    margin: 0;
    padding: 10px;

    font-size: 30px;
}

.future-projects {
    width: 800px;
    margin: 0 auto 80px auto;

    background-color: rgb(180, 100, 25);
    border-radius: 0 0 6px 6px;

    text-align: center;
    overflow: hidden;

    transition: box-shadow 0.3s ease;
}

.future-projects:hover {
    box-shadow: 0 12px 28px rgba(223, 223, 223, 0.4);
}

.future-projects p {
    padding: 20px;
    margin: 0;
    font-size: 25px;
    line-height: 1.5;
}

.future-projects-image {
    width: 100%;
    height: 750px;

    object-fit: cover;
    object-position: center 35%;

    display: block;

    transition: transform 0.3s ease;
}

.future-projects-image:hover {
    transform: scale(1.03);
}

.page-bottom-space {
    height: 30px;
}

@media (max-width: 600px) {

    .personal-website-section,
    .personal-website,
    .unity-games-section,
    .unity-games,
    .bugsy-section,
    .bugsy,
    .future-projects-section,
    .future-projects {
        width: 90%;
    }

    .personal-website p,
    .unity-games p,
    .bugsy p,
    .future-projects p {
        font-size: 18px;
    }

    .personal-website-image,
    .unity-games-image,
    .bugsy-image,
    .future-projects-image {
        height: 250px;
    }

    .personal-website-section h2,
    .unity-games-section h2,
    .bugsy-section h2,
    .future-projects-section h2 {
        font-size: 24px;
    }
}