* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #6b9ab8;
}

nav {
    background-color: #330672;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
    background: #0b3071;
}

.navbar {
    color: #6b9ab8;
    background: #330672;
    height: 100px;
    position: fixed;
    top: 0;
    width: 100%;
    border-bottom: 1px solid whitesmoke;
    z-index: 100;
}

.navbar .container {
        background: #330672;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height : 100%;
        
}

.logo {
    font-family: "Rocket Script", serif;
    font-size: xx-large;
    font-weight: bold;
    background-color: #330672;
}

ul {
    list-style: none;
    background-color: #330672;
}
.navbar ul {
    font-family: "Mono-Sans", sans-serif;
    background-color: #330672;
    display: flex;
        
}

.navbarlink {
    display: inline-block;
    text-decoration: none;
    color: #6b9ab8;
    background-color: #330672;
    font-size: 1.5rem;
    font-weight: 500;
    padding-left: 20px;
    padding-right: 20px;
    
}

.navbarlink:hover {
    background-color: #330672;
    color: #95c9ec;
    transform: scale(1.2);
    transition: all 0.3s ease;

}

.container2 {
    margin: 100px auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.jelly {
    margin-top: 100px;
    height: 300;
    width: 400px;
    align-items: center;
    border-radius: 20px;
    
    
    
}
.title2 {
    padding-top: 60px;
    font-family: "Mono Sans", sans-serif;
    color: #330672;
    font-size: 2.5rem;
    font-weight: 500;
    display: inline-flex;
    justify-content: space-around;
    align-items: top;
    width: 100%;
}

.text {
    font-family: "Mono Sans", sans-serif;
    font-size: 22px;    
    font-weight: 500;
    color: #330672;
    display: inline-flex;
    padding: 30px;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    width: 100%;
    line-height: 2.5;
    
}

.memberimages {
    width: 250px;
    height: 250px; 
    border-radius: 15px;
    
}

.title3 {
    
    font-family: "Mono Sans", sans-serif;
    color: #330672;
    font-size: 2.5rem;
    font-weight: 500;
    display: inline-flex;
    justify-content: space-around;
    align-items: top;
    width: 100%;
}

.pictext {
    line-height: 1.3;
    padding-top: 30px;
    width: 350px;
    font-family: "Mono-Sans", sans-serif;
    background-color: transparent;
    color: #330672;
    /* max-width: 340px; */
    position: relative;
    text-align: center;
    z-index: 5;
    
}

#teamcontainer {
    padding-top: 30px;
    width: 100%;
    display: inline-flex;
    justify-content: space-evenly;
    align-items: flex-start;
    
}

.teammember {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.membername {
    padding-top: 10px;
    font-family: "Mono Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #330672;
    text-align: center;
}

.title4 {
    padding-top: 100px;
    font-family: "Mono Sans", sans-serif;
    color: #330672;
    font-size: 2.5rem;
    font-weight: 500;
    display: inline-flex;
    justify-content: space-around;
    align-items: top;
    width: 100%;
}

#games {
    max-width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#gamescontainer {
    padding-top: 30px;
    width: 100%;
    display: inline-flex;
    justify-content: space-evenly;
    align-items: flex-start;
    
}

.games {
    padding-top: 10px;
    font-family: "Mono Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #330672;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.gamename {
    padding: 20px 0px;
    font-family: "Mono Sans", sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #330672;
    text-align: center;
}

.gametext {
    line-height: 1.5;
    padding-top: 30px;
    margin: 0 40px 0 40px;
    font-family: "Mono-Sans", sans-serif;
    background-color: transparent;
    color: #330672;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    z-index: 5;
    
}

.screenshot {
    width: 480px;
    height: 270px;
    display: inline-flex;
    justify-content: space-evenly;
    align-items: center;
}

.container6 {
    padding-top: 50px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: bottom;
}

.footer {
    font-family: Mono-Sans, sans-serif;
    background-color: #330672;
    color: #95c9ec;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100%;
    border-top: 1px solid whitesmoke;
    z-index: 100;
}

/* Hamburger menu styling */
.toggle-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background-color: #330672;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: #6b9ab8;
    border-radius: 10px;
}

@media (max-width: 768px) {
    #teamcontainer {
        padding-top: 30px;
        width: 100%;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
    }

    .screenshot {
        width: 400px;
        height: 225px;
        
    }

    .footer {
        font-size: 0.6rem;
       text-align: center;
       
    }

    .logo {
        font-family: "Rocket Script", serif;
    }

    .navbar-links {
        display: none;
        width: 100%;
    }

    .navbar-links ul {
        flex-direction: column;
        width: 100%;
    }

    .navbar-links li {
        text-align: center;
        margin: 10px 0;
        background-color: #330672;
    }

    .toggle-button {
        display: flex;
    }


    .navbar-links.active {
    margin-top: 100px;
    width: 40%;
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0px;
    background-color: #330672;
    }

}