* {
    box-sizing: border-box;
    scroll-padding-top: 150px;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background: linear-gradient();
    text-align: center;
    font-size: 20px;
}

a {
    color: inherit;
    text-decoration: inherit;
}

p {
    width: 65%;
    margin: auto;
    padding: 15px;
    text-align: left;
}

h1 {
    font-size: 3rem;
    margin-top: 5px;
}

h3 {
    margin-top: 50px;
    margin-bottom: 0;
}

header {
    position: fixed;
    top: 0;
    margin: 0;
    padding: 0;
    z-index: 100;
}

#profile-container {
    width: 150px;
    background-color: rgba(0, 0, 255, 0.5);
    border-radius: 0 0 50% 0;
    box-shadow: 10px 10px 30px 5px black;
}

#profile-pic {
    width: 150px;
    height: 175px;
    border-radius: 0 0 50% 0;
}

#nav-bar {
    position: fixed; 
    top: 30px;
    right: 0px;
    width: 960px;
    height: 50px;
    padding: 10px;
    color: rgb(208, 242, 255);
    background-color: rgba(0, 0, 255, 0.5);
    border-radius: 35px 0 0 35px;
    box-shadow: 10px 10px 30px 5px black;
}

.nav-button {
    text-align: center;
    font-size: 1.3rem;
    height: 50px;
    width: 20%;
    padding: 10px;
    margin: 20px;
}

article {
    margin: 150px auto auto auto;
    width: 100%;
}

#home {
    position: relative;
    min-height: 650px;
    height: calc(100vh - 150px);
    background: light-blue;
    padding-bottom: 75px;
    border-bottom: double thick blue;
    color:rgb(1, 1, 75);
}

#home-footer {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 60%;
    padding: 10px;
    bottom: 0; 
    margin-left: 20%;
    font-size: 2rem;
    color: lightslategray
}

#name {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 65%;
    height: 50px;
    padding-top: 6px;
    margin: auto;
    font-weight: bold;
    font-size: 1.7rem;
    color: rgb(208, 242, 255);
    background-color: rgb(2, 2, 94);
    border-radius: 35px;
}

section {
    width: 100%;
    min-height: 400px;
    padding: 10px;
}

.dark-section {
    color: rgb(208, 242, 255);
    background-color: rgb(2, 2, 94);
}
.light-section {
    color: black;
    background-color: lightgray;
    border-top: double thick blue;
    border-bottom: double thick blue;
}

#proj-viewer { 
    display: none;
}

#certs {
    display: flex; 
    flex-direction: column;
    align-items: center;
}

#cert-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
}

.cert-div {
    position: relative;
    width: 300px;
    height: 250px;
    margin: 15px;
    padding: 5px; 
    background-color:rgb(1, 1, 75);
    border: double 2px rgb(1, 1, 75);
    border-radius: 15px;
}

.cert-img {
    width: 275px;
    height: 230px;
    border:solid 1px rgb(1, 1, 75);
    border-radius: 15px; 
}

.cert-cover {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 300px;
    height: 250px;
    margin: 15px;
    padding: 10px; 
    padding-top: 50px;
    color: rgb(208, 242, 255);
    font-size: 2.3rem;
    background-color: rgba(0,0,0,.8);
    opacity: 0;
    border: double thick blue;
    border-radius: 15px;
    cursor: pointer;
}
.cert-cover:hover {
    opacity: 1;
}

.viewer {
    position: fixed;
    display: none;
    top: 5%;
    left: 15%;
    width: 70%;
    height: 90%;
    text-align: center;
    border:solid 2px rgb(208, 242, 255);
    border-radius: 20px;
    box-shadow: 10px 10px 30px 2px black;
    z-index: 999;
}

#cert-viewer {
    background-color:rgb(1, 1, 75);
    color:rgb(208, 242, 255);
}

#cert-img {
    height: 70%;
}

#projects {
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 125px;
}

#project-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 100px;
}

.proj-button {
    position: relative;
    height: 50px;
    width: 15%;
    padding: 10px;
    margin-bottom: 0px;
    font-size: 1.5rem;
    border: solid 2px blue;
    border-bottom: none;
    border-radius: 25px 25px 0 0;
    cursor: pointer;
}

.proj-cnt {
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px;
    padding-top: 10px;
    border-radius: 0 25px 0 0;
    background-color: green;
    color: white;
}

#proj-display {
    position: relative;
    height: 450px;
    width: 100%;
    margin-top: 0px;
    padding-top: 10%;
    overflow: hidden;
    background-color: lightblue;

}

.proj-cell {
    position: absolute;
    top: 10%;
    width: 20%;
    height: 80%;
    padding: 15px;
    font-size: 1.5rem;
    background-color: blue;
    border: solid 2px darkblue;
    border-radius: 15px;
    box-shadow: 5px 5px 20px 2px black;
    cursor: pointer;
}

.proj-cell:hover {
    border: solid 1px blue;
    box-shadow: 3px 3px 30px 3px blue;
    color: green;
}

.proj-img-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85%;
    width: 100%;
}

.proj-img {
    max-height: 95%;
    max-width: 85%;
    border: solid 2px rgb(1, 1, 75);
    border-radius: 15px;
    box-shadow: 5px 5px 15px 1px black;
}

#proj-id-left {
    top: 0;
    left: 0;
    pointer-events: none;
}

#proj-id-right {
    top: 0;
    right: 0;
    pointer-events: none;
}

.proj-scroll {
    position: absolute;
    width: 75px;
    height: 100%;
    padding-top: 100px;
    background-color: rgba(0,0,0,.3);
}

.arrow-cover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: green;
    opacity: 0;
    pointer-events: none;
}

#left-cover {
    box-shadow: 20px 0 50px 20px green;
}

#right-cover {
    box-shadow: -20px 0 50px 20px green;
}
#left-arrow {
    height: 0;
    width: 0;
    margin: auto;
    border-top: 100px solid transparent;
    border-bottom: 100px solid transparent;
    border-right: 50px solid rgba(100,100,100,.5);
    pointer-events: none;
}

#right-arrow {
    height: 0;
    width: 0;
    margin: auto;
    border-top: 100px solid transparent;
    border-bottom: 100px solid transparent;
    border-left: 50px solid rgba(100,100,100,.5);
    pointer-events: none;
}

#proj-viewer {
    background-color:rgb(1, 1, 75);
    color:rgb(208, 242, 255);
}

#proj-viewer a {
    color: rgb(244, 255, 92);;
}

#proj-viewer a:hover {
    color: red;
}

#proj-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    height: 50px;
    width: 50px;
    padding-top: 3px;
    font-size: 2rem;
    color: red;
    background-color: rgba(255,0,0,.3);
    border: solid 1px darkred;
    border-radius: 15px;
    cursor: pointer;
}

#proj-close-btn:hover {
    background-color: red;
    color: white;
}

#proj-frame {
    min-width: 80%;
    min-height: 70%;
    background-color:rgb(208, 242, 255);
    color: rgb(1, 1, 75);
}

#contact {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-size: 1.5rem;
}

#cont-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 10px 50px 10px 50px;
}

.cont-button {
    height: 100px;
    width: 25%;
    font-size: 2rem;
    cursor: pointer;
}

#resume-form {
    display: none;
    position: fixed;
    top: 25%;
    left: 25%;
    width: 50%;
    min-height: 50%;
    padding: 20px;

    background-color:rgb(1, 1, 75);
    color:rgb(208, 242, 255);
    border: 2px double blue;
    border-radius: 20px;
    box-shadow: 10px 10px 30px 2px black;
}

#resume-message {
    display: none;
    position: fixed;
    top: 45%;
    left: 25%;
    height: 10%;
    width: 50%;
    padding: 15px;
    font-size: 2rem;
    color: green;
    background-color: rgb(224, 248, 224);
    border-radius: 20px;
    box-shadow: 10px 10px 30px 2px black;
    opacity: 0;
    transition: opacity 1s;
}

#resume-form input {
    padding-left: 25px;
    margin-top: 20px;
    width: 65%;
    height: 45px;
    font-size: 1.3rem;
    border-radius: 10px;
}

#experience {
    min-height: 650px;
}

.coin {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border-top: solid 2px white;
    border-left: solid 2px white;
    border-right: solid 2px darkgrey;
    border-bottom:solid 2px darkgrey;
    font-size: 3rem;
    padding-top: 100px;
    box-shadow: 5px 5px 30px 5px black;
}

#edu {
    top: 50px;
    right: 50px;
    background: radial-gradient(white, white, darkgreen);
    color: darkgreen;
}

#wrk {
    top: 50px;
    left: 50px;
    background: radial-gradient(white, white, darkblue);
    color: darkblue;
}

.exp-divide {
    position: relative;
    width: 100%;
    height: 335px;
}

.edu-sect {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100px;
    height: 100px;
    transition: 1s;
}

.edu-text {
    display: none;
    width: 70%;
    height: 150px;
    background-color: grey;
    color:rgb(1, 1, 75);
    border-radius: 20px;
    border: double 2px blue;
    box-shadow: 5px 5px 30px 5px black;
    overflow: hidden;
    opacity: 0;
    transition: 1s;
}

.edu-text h3 {
    margin-top: 5px;
}


.edu-sect:hover {
    width: 65%;
    z-index: 10;
}

.edu-sect:hover .edu-text {
    display: block;
    opacity: 1;
}


#edu-1 {
    top: -15px;
    right: 260px;
    align-items: start;
}

#edu-2 {
    top: 85px;
    right: 325px;
    align-items: center;
}

#edu-3 {
    top: 210px;
    right: 300px;
    align-items: end;
}

#wrk-1 {
    top: -65px;
    left: 175px;
    align-items: start;
}

#wrk-2 {
    top: 15px;
    left: 275px;
    align-items: center;
}

#wrk-3 {
    top: 125px;
    left: 325px;
    align-items: center;
}

#wrk-4 {
    top: 235px;
    left: 275px;
    align-items: end;
}


#experience img {
    height: 100px;
    max-width: 100px;
    border-radius: 50%;
    transition: 1s;
    box-shadow: 10px 10px 30px 5px black;
    border-top: solid 4px white;
    border-left: solid 4px white;
    border-bottom: solid 4px black;
    border-right: solid 4px black;
    cursor: pointer;
    opacity: .7;
}

#experience .edu-sect:hover img {
    transform: translate(15, -15);
    height: 100px;
    max-width: 300px;
    border-radius: 15px;
    opacity: 1;
}


/* Media Queries */
@media (max-width: 1600px) {  
    #home {
        background-color: red;
    }
}


@media (max-width: 1400px) {  
    #home {
        background-color: orange;
    }
}


@media (max-width: 1280px) {  
    #home {
        background-color: yellow;
    }
}


@media (max-width: 720px) {  
    #home {
        background-color: blue;
    }
}


@media (max-width: 460px) {  
    #home {
        background-color: green;
    }
}


