* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

html {
    scroll-behavior: smooth;
}

.background {
    background: url(Background.png);
    background-color: rgba(34, 35, 39, 0.8);
    background-blend-mode: overlay;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.banner {
    position: relative;
    color: #F4F7F5;
}

#nav {
    height: 80px;
    width: 100%;
    position: fixed;
    display: flex;
    align-items: center;
    background: linear-gradient(#222327, transparent);
    transition: 0.3s;
    z-index: 1;
}

.menu {
    display: flex;
}

.menu li {
    margin: 0 80px;
    list-style: none;
}

.menu a {
    height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 0px solid #F4F7F5;
    font-size: 12px;
    letter-spacing: 4px;
    transition: font-size 0.3s;
}

.menu a:hover {
    font-size: 14px;
}

.menu a.active {
    border-bottom: 2px solid #F4F7F5;
}

a {
    text-decoration: none;
    color: #F4F7F5;
}

.icon {
    position: relative;
    top: 2px;
}

#sideNav {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(34, 35, 39, 0.8);
    overflow-x: hidden;
    transition: 0.6s;
    padding-top: 60px;
    z-index: 1;
}

#sideNav a {
    text-decoration: none;
    color: #F4F7F5;
    font-size: 18px;
    transition: 0.3s;
    display: block;
    padding: 8px 8px 8px 32px;
    letter-spacing: 4px;
}

#sideNav a:hover {
    color: #C7C7C7;
}

#sideNav .close {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    cursor: pointer;
}

#menu {
    position: fixed;
    font-size: 16px;
    cursor: pointer;
    padding: 20px;
    width: 100px;
    display: none;
    letter-spacing: 4px;
    transition: 0.3s;
}

#menu:hover {
    font-size: 20px;
}

@media screen and (max-width: 550px) {
    #nav {
        display: none;
    }

    #sideNav  a{
        font-size: 14px;
    }

    #menu {
        display: block;
        z-index: 1;
    }
}

/*PAGE 1*/

.content {
    height: 620px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content p {
    margin: 10px;
    font-size: 20px;
}

#video {
    margin: -240px 0 200px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#game p {
    position: absolute;
    color: #222327;
    top: 14px;
}

iframe {
    height: 620px;
    width: 70%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #F4F7F5;
    border-radius: 2px;
    height: 30px;
    width: 60px;
}

.button:hover {
    background-color: #222327;
}

.button a {
    color: #222327;
}

.button:hover a {
    color: #F4F7F5;
}

@media screen and (max-width: 550px) {
    .content {
        height: 600px;
        width: 100%;
        text-align: center;
    }

    .content h1 {
        font-size: 20px;
    }

    .content p, #game p {
        font-size: 14px;
    }

    #video {
        margin: -240px 0 80px 0;
    }

    iframe {
        height: 320px;
        width: 80%;
    }

    .button {
        font-size: 14px;
        height: 18px;
        width: 50px;
    }
}

/*PAGE 2*/

.slideshow {
    margin: auto;
    height: 620px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 0.3s;
}

.slides {
    display: none;
}

.slides p {
    position: relative;
    top: 18px;
    right: 360px;
    font-size: 24px;
    font-weight: bold;
}

.slides img {
    width: 380px;
}

.slideshow:hover .prev, .slideshow:hover .next {
    display: block;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    background-color: #F4F7F5;
    color: #222327;
    padding: 16px;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 5px 5px 0;
    display: none;
    opacity: 0.5;
}

.prev {
    left: 0;
}

.next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.prev:hover, .next:hover {
    opacity: 1;
}

.fade {
    animation: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

.row {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 0.3s;
}

.row:hover {
    font-size: 22px;
    background: linear-gradient(to right, #C7C7C7, transparent);
}

.column {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.organelle {
    width: 30%;
}

.function {
    width: 70%;
}

.title {
    position: relative;
    top: 100px;
    text-align: center;
}

.title2, .title3 {
    text-align: center;
}

.title p, .title2 p, .title3 p {
    font-size: 24px;
    background: rgba(244, 245, 247, 0.8);
    color: #222327;
    letter-spacing: 4px;
    font-style: italic;
}

.characteristics p {
    margin: 20px;
    padding: 18px;
}

@media screen and (max-width: 550px) {
    .slideshow {
        height: 580px;
    }

    .slides p {
        font-size: 16px;
        position: absolute;
        top: 40px;
        right: 300px;
    }

    .prev, .next {
        display: block;
    }

    .row {
        text-align: center;
    }

    .row, .characteristics p {
        font-size: 14px;
    }

    .row:hover {
        font-size: 18px;
    }

    .title {
        top: 0;
    }

    .title p, .title2 p, .title3 p {
        font-size: 20px;
    }
}