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;
    }
}


.programming-section {

    width: 800px;
    margin: 40px auto 0 auto;

    border-radius: 6px 6px 0 0;

    text-align: center;
    background-color: rgb(50, 170, 50);
}

.programming-section h2 {
    margin: 0;
    padding: 10px;

    font-size: 30px;
}

.programming {
    width: 800px;
    margin: 0 auto 80px auto;

    border-radius: 0 0 6px 6px;

    text-align: center;
    overflow: hidden;

    background-color: rgb(40, 120, 40);

    transition: box-shadow 0.3s ease;
}

.programming:hover {
    box-shadow: 0 12px 28px rgba(223, 223, 223, 0.4);
}

.programming p{
    padding: 20px;
    margin: 0;
    font-size: 25px;
    line-height: 1.5;
}

.programming-image {
    width: 100%;
    height: 450px;

    object-fit: cover;
    object-position: center 35%;

    display: block;

    transition: transform 0.3s ease;
}

.programming-image:hover {
    transform: scale(1.03);
}

.game-development-section {
    width: 800px;
    margin: 40px auto 0 auto;

    border-radius: 6px 6px 0 0;

    text-align: center;

    background-color: rgb(98, 46, 196);
}

.game-development-section h2 {
    margin: 0;
    padding: 10px;
    
    font-size: 30px;
}

.game-development {
    width: 800px;
    margin: 0 auto 80px auto;

    border-radius: 0 0 6px 6px;

    text-align: center;
    overflow: hidden;

    background-color: rgb(51, 27, 123);

    transition: box-shadow 0.3s ease;
}

.game-development:hover {
    box-shadow: 0 12px 28px rgba(223, 223, 223, 0.4);
}

.game-development p {
    padding: 20px;
    margin: 0;
    font-size: 25px;
    line-height: 1.5;
}

.game-development-image {
    width: 100%;
    height: 450px;

    object-fit: cover;
    object-position: center 35%;

    display: block;

    transition: transform 0.3s ease;
}

.game-development-image:hover {
    transform: scale(1.03);
}

.content-creation-section {
    width: 800px;
    margin: 40px auto 0 auto;

    border-radius: 6px 6px 0 0;

    text-align: center;
    background-color: rgb(46, 196, 151);
}

.content-creation-section h2 {
    margin: 0;
    padding: 10px;

    font-size: 30px;
}

.content-creation {
    width: 800px;
    margin: 0 auto 80px auto;

    border-radius: 0 0 6px 6px;

    text-align: center;
    overflow: hidden;

    background-color: rgb(44, 145, 114);

    transition: box-shadow 0.3s ease;
}

.content-creation:hover {
    box-shadow: 0 12px 28px rgba(223, 223, 223, 0.4);
}

.content-creation p {
    padding: 20px;
    margin: 0;
    font-size: 25px;
    line-height: 1.5;
}

.content-creation-image {
    width: 100%;
    height: 450px;

    object-fit: cover;
    object-position: center 35%;

    display: block;

    transition: transform 0.3s ease;
}

.content-creation-image:hover {
    transform: scale(1.03);
}

.bugsy-link {
    text-decoration: none;
}

.playing-piano-section {
    width: 800px;
    margin: 40px auto 0 auto;

    border-radius: 6px 6px 0 0;

    text-align: center;

    background-color: rgb(182, 192, 42);

}

.playing-piano-section h2 {
    margin: 0;
    padding: 10px;

    font-size: 30px;
}

.playing-piano {
    width: 800px;
    margin: 0 auto 80px auto;

    border-radius: 0 0 6px 6px;

    text-align: center;
    overflow: hidden;

    background-color: rgb(140, 147, 39);

    transition: box-shadow 0.3s ease;
}

.playing-piano:hover {
    box-shadow: 0 12px 28px rgba(223, 223, 223, 0.4);
}

.playing-piano p {
    padding: 20px;
    margin: 0;
    font-size: 25px;
    line-height: 1.5;
}

.playing-piano-image {
    width: 100%;
    height: 450px;

    object-fit: cover;
    object-position: center 35%;

    display: block;

    transition: transform 0.3s ease;
}

.playing-piano-image:hover {
    transform: scale(1.03);
}

.sports-section {
    width: 800px;
    margin: 40px auto 0 auto;

    border-radius: 6px 6px 0 0;

    text-align: center;

    background-color: rgb(196, 46, 46);

}

.sports-section h2 {
    margin: 0;
    padding: 10px;

    font-size: 30px;
}

.sports {
    width: 800px;
    margin: 0 auto 80px auto;

    border-radius: 0 0 6px 6px;

    text-align: center;
    overflow: hidden;

    background-color: rgb(159, 40, 40);

    transition: box-shadow 0.3s ease;
}

.sports:hover {
    box-shadow: 0 12px 28px rgba(223, 223, 223, 0.4);
}

.sports p {
    padding: 20px;
    margin: 0;
    font-size: 25px;
    line-height: 1.5;
}

.sports-image {
    width: 100%;
    height: 450px;

    object-fit: cover;
    object-position: center 35%;

    display: block;

    transition: transform 0.3s ease;
}

.sports-image:hover {
    transform: scale(1.03);
}

.page-bottom-space {
    height: 30px;
}

@media (max-width: 600px) {

    .programming-section,
    .programming,
    .game-development-section,
    .game-development,
    .content-creation-section,
    .content-creation,
    .playing-piano-section,
    .playing-piano,
    .sports-section,
    .sports {
        width: 90%;
    }
}