html {
    height: 100%;
}

body {
    background-color: rgb(5,26,106);
    height: 100vh;
    width: 100vw;
    margin: 0;
    color: white;
    font-family: Verdana;
    font-size: 100%;
    font-weight: bold;
}

container {
    height: 100vh;
    max-width: 100vw;
    margin: auto;
    display: grid;
    grid-gap: .1vw;
    grid-template-rows: 20vh auto 15vh;
    grid-template-columns: 1fr;
    grid-template-areas: "header"
                         "content"
                         "footer";
}

header {
    grid-area: header;
    text-align: center;
    font-size: 90%;
}

header h1 {
    font-size: 7vmin;
    margin: 3vh 1vh 1vh 1vh;
}

header h2 {
    font-size: 5vmin;
    margin: 1vh 1vh 3vh 1vh;
}

#headshot {
    float: right;
    border-radius: 50%;
    max-height: 90%;
    width: auto;
    margin: 1vh 5vh 5vh 1vh;
}

content {
    grid-area: content;
    overflow: auto;
}

#personal-statement {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    width: 100%;
    margin-bottom: 15%;
}

#fishVid {
    height: 50vh;
    width: auto;
    border-radius: 80%;
    margin-left: 3%;
}

#personal-statement p {
    display: block;
    text-align: justify;
    overflow: hidden;
    font-size: calc(0.5rem + 1.5vmin);
    text-shadow: .25rem .25rem rgb(5,26,106);
    height: 60vh;
    width: 90%;
    margin: 10% 2% 0 2%;
}

#personal-statement p strong {
    font-size: calc(0.5rem + 2vmin);
}

#skill-stories {
    height: 80%;    
}

#ss-headers {
    width: 100vw;
    top: 5%;
    text-align: center;
    margin-bottom: 2%;
}

#skillscroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}

#skillscroll li {
    flex: 0 0 auto;
    list-style: none;
    height: 40vmin;
    margin: 1vmin;
    background-image: url("./assets/coral_background2000px.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 50%;
    line-height: 40vmin;
    text-align: center;
}

#skillscroll li button {
    width: 40vmin;
    border: none;
    background-color: rgba(5,26,106,.4);
    color: white;
    font-size: calc(0.5rem + 2vmin);
    font-weight: bold;
    padding: 3vmin;
    border-radius: 10%;
    outline: 0;
}

li > button {
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    top: 55%;
    left: 50%;
    margin-left: -50vmin;
    margin-top: -35vmin;
    z-index: 5;
    height: 70vmin;
    width: 100vmin;
    border-radius: 50%;
    overflow: auto;
    background-color: rgba(255,255,255,.6);
}

.modal-content {
    position: fixed;
    top: 55%;
    left: 50%;
    margin-left: -45vmin;
    margin-top: -32.5vmin;
    margin-right: 2vmin;
    height: 65vmin;
    width: 90vmin;
    border-radius: 50%;
    overflow: auto;
    background-color: rgb(5,26,106);
    text-align: center;
   
    display: grid;
    grid-gap: .1vmin;
    grid-template-rows: 15vmin 40vmin 5vmin;
    grid-template-columns: 1fr;
    grid-template-areas: "headline"
                         "story"
                         "close";
}

headline {
    grid-area: headline;
    position: absolute;
    width: 60%;
    height: 80%;
    left: 50%;
    margin-left: -30%;
    padding-bottom: 2vmin;
    top: 45%;
    text-align: center;
    font-size: calc(0.5rem + 2vmin);
}

story {
    grid-area: story;
    text-align: justify;
    font-size: calc(0.5rem + 1.5vmin);
    position: absolute;
    width: 80%;
    height: 60%;
    top: 25%;
    left: 50%;
    margin-left: -40%;
    overflow: auto;
}

close {
    grid-area: close;
    text-align: center;
    font-size: calc(0.5rem + 2vmin);
    font-weight: bold;
    color: white;
    margin-top: 3%;
}

.close:hover,
.close:focus {
    color: pink;
    text-decoration: none;
    cursor: pointer;
}

footer {
    grid-area: footer;
    display: flex;
    justify-content: space-around;
}

footer image {
    max-width: 100%;
    height: auto;
}

.link {
    color: white;
    padding-top: 2vh;
    font-size: 4vmin;
}

@media only screen and (max-width: 768px) {
    #personal-statement {
        position: relative;
        display: flex;
        justify-content: center;
    }

    #personal-statement p {
        position: absolute;
        height: 93%;
        margin: 15% 0 5% 0;
    }

    #fishVid {
        position: absolute;
    }
    
    #ss-headers {
        margin-bottom: 8%;
    }
    
    headline {
        font-size: 80%;
    }
}