@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;1,500&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}
/*
html {
    background: rgba(42,194,242, 0.5);
} */

header {
    position: relative;
    background: #111;
    width: 100vw !important;
    height: 100vh !important;
}

nav {
    display: flex;
    position: relative;
    padding: 10px;
    justify-content: space-between;
}

nav ul {
    list-style: none;
}

nav a {
    color: #fff;
    text-decoration: none;
}

main {
    padding: 100px;
    color: #fff;
    position: relative;
    height: 1000px;
    background: rgb(42,194,242);
    display: none;
    border: #fff solid 10px;
}

main.active {
    display: block;
}

main img {
    position: absolute;
    top: 30px;
    right: 0;
    z-index: 0;
    max-height: 1280px;
    max-width: 960px;
    opacity: 0.7;
    border-radius: 10px;
}

/**ID**/

#overlay-about {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #000;
    mix-blend-mode: overlay;
    opacity: 0.1;
    height: 100%;
    width: 100%;
    z-index: 10;
}

#swimmer-background {
    object-fit: cover;
    opacity: 0.7;
}

#overlay {
    background: #03a9f4;
    mix-blend-mode: overlay;
    opacity: 0.2;
}

#hamburger {
    width: 60px;
    height: 60px;
    background: url(http://granitestatepenguins.com/hamburger.svg);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: center;
    cursor: pointer;
    z-index: 30;
}

#hamburger.inactive{
    display: none;
}

#about {
    z-index: 50;
    position: relative;
    max-width: 70%;
}

#membership {
    overflow: scroll;
}

#posts-container {
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    height: 600px;
    align-items: center;
    background: rgba(0,0,0,0.9);
    border-radius: 10px;
    width: 0;
    line-height: 2em;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    padding-top: 25px;
    padding-left: 25px;
    padding-right: 25px;
    white-space: wrap;
    overflow: auto;
}

#posts-container.active {
    visibility: visible;
    width: 700px;
    max-height: 600px;
    z-index: 10;
}

#posts-container p {
    margin-bottom: 10px;
}

#news-button {
    margin-left: 10px;
}

#close-news-button {
    margin-right: 5px;
}

/**Class**/
.social-media-icons {
    max-height: 40px;
    max-width: 40px;
    border: #fff 2px solid;
    border-radius: 50%;
    padding: 3px;
}

.homepage-button {
    color: #fff;
    background: #2ac2f2;
    padding: 10px 27px;
    border-radius: 5px;
    text-align: center;
    font-size: large;
    margin-top: 20px;
    transition: all .2s ease-in-out;
    cursor: pointer;
}

.homepage-button:hover {
    transform: scale(1.2);
}

.fixed-background {
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.text {
    color: #fff;
    position: relative;
    z-index: 10;
    margin-top: 200px;
    margin-left: 50px;
}

.text h2 {
    font-size: 5em;
    font-weight: 800;
    line-height: 1em;
}

.text h3 {
    font-size: 4em;
    font-weight: 700;
    line-height: 1em;
}

.text p {
    font-size: 1.1em;
    font-weight: 400;
}

.menu {
    position: absolute;
    top: 4;
    right: 0;
    width: 200px;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.9);
    border-radius: 10px;
    width: 0;
    line-height: 2em;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    padding-top: 25px;
    padding-bottom: 10px;
    white-space: nowrap;
}

.menu.active {
    visibility: visible;
    width: 200px;
}

.nav-item-bodies {
    position: absolute;
    top: 30px;
    right: 200px;
    background: rgba(0,0,0,0.9);
    border-radius: 10px;
    color: #fff;
    padding: 10px;
    line-height: 2em;
    font-weight: 300;
    width: 0;
    max-height: 350px;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.nav-item-bodies.active {
    visibility: visible;
    width: 500px;
}

.about-text {
    background: rgba(0,0,0,0.4);
    z-index: 100;
    padding: 20px;
    border-radius: 10px;
}

.about-text h2 {
    font-size: 5em;
    font-weight: 800;
    line-height: 1em;
}

.about-text h3 {
    font-size: 4em;
    font-weight: 700;
    line-height: 1em;
}

.about-text p {
    font-size: 1.3em;
    font-weight: 400;
}

.close {
    float: right;
    cursor: pointer;
    font-size: 1.5em;
}

.nav-item-bodies a {
    text-decoration: underline;
}

/* iPad Pro 12.9 */
@media(max-width: 1500px) {
    #about {
        max-width: 90%;
        overflow: scroll;
        max-height: 850px;
    }
    
    #menu {
        min-height: 240px;
    }
}

/* Phone Portrait */
@media(max-width: 475px) {
    main {
        padding: 5px;
    }
    
    #posts-container.active {
        position: fixed;
        top: 15px;
        left: 5px;
        right: 5px;
        max-width: 90%;
        height: 80%;
        max-height: 80%;
        z-index: 10000;
    }
    
    #about-container {
        width: 100%;
    }
    
    #about {
        text-align: center;
        padding: 30px;
        max-width: 100%;
    }
    #penguins-logo {
        height: 130px;
        width: 245px;
    }

    .nav-item-bodies {
        top: 175px;
        right: 0px;
        max-width: 95vw;
        z-index: 10000;
    }

    .text {
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }

    .text h2 {
        font-size: 3em;
        font-weight: 700;
        line-height: 1em;
        margin-bottom: 10px;
    }

    .text h3 {
        font-size: 2em;
        font-weight: 600;
        line-height: 1em;
    }

    .text p {
        font-size: 1.1em;
        font-weight: 400;
    }
    
    .about-text h2 {
        font-size: 2.9em;
        font-weight: 600;
        line-height: 1em;
        margin-bottom: 10px;
    }
    
    .text p {
        font-size: 1.1em;
        font-weight: 400;
    }
    
}


