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

:root {
    --themecolor: #00e4f0;
    --white: #ffffff;
}

body {
    background: #F2F2F2;
    margin: 0;
    font-family: "Montserrat", serif;
    display: flex;
    flex-direction: column;
}

h2 {
    margin: 0;
}

nav {
    background: rgb(3, 15, 64);
    width: 100%;
}

nav a {
    text-decoration: none;
    color: white;
    text-shadow: 1px 1px 2px #000000;
    text-transform: full-width;
    font-weight: 800;
    font-size: 0.8rem;
    transition: all 0.3s ease 0s;
}


/* Extra small devices (phones) */

@media only screen and (max-width: 600px) {
    nav a {
        font-size: 0.7rem;
    }
}

#myBtn 
{
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 15px;
    border: none;
    outline: none;
    background-color: #00e4f0;
    color: white;
    cursor: grab;
    padding: 15px;
    border-radius: 5px;
}

#myBtn:hover 
{
    background-color: rgb(3, 15, 64);
    transform: scale(1.2,1.2);
}

/* Medium devices (tablets) */

@media only screen and (min-width: 768px) {
    nav a {
        font-size: 0.8rem;
    }
}

nav a:hover {
    color: var(--themecolor);
    text-shadow: 1px 1px 2px #030f40;
}

nav ul {
    list-style: none outside;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 8px;
    padding-left: 30px;
    padding-right: 30px;
}

nav ul li {
    margin: 8px;
}

/* Medium devices (tablets) */

@media only screen and (min-width: 600px) {
    .myBtn {
        display: none;
    }
    nav {
        position: fixed;
        top: 0;
    }
}

/* Image Citation
https://wallpaperaccess.com/1920x1080-hd-beach-desktop 
*/

#intro {
    margin: 0px;
    height: 100vh;
    background-image: url(beach.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #F2F2F2;
}

#intro h1 {
    font-size: 1.8rem;
    text-shadow: 2px 2px 8px #030f40;
}

#intro h2 {
    font-size: 1rem;
    font-weight: 400;
    text-shadow: 2px 2px 6px #030f40;
}


/* Extra small devices (phones) */

@media only screen and (max-width: 600px) {
    .intro-h2-tablet {
        display: none;
    }
    .intro-h2-mobile {
        display: block;
    }
}


/* Medium devices (tablets) */

@media only screen and (min-width: 600px) {
    .intro-h2-tablet {
        display: contents;
    }
    .intro-h2-mobile {
        display: none;
    }
}

#intro aside {
    margin: 48px;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    text-shadow: 2px 2px 4px #030f40;
}

#about {
    margin: 0;
    padding-top: 5vh;
    padding-bottom: 8vh;
    background-color: black;
    color: #F2F2F2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#about h2 {
    color: var(--themecolor);
    font-size: 1.2rem;
    line-height: 1.875;
    margin-bottom: 0.3rem;
    letter-spacing: .4rem;
    text-align: center;
}

#about h3 {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-align: center;
}

#about p {
    color: gray;
    text-align: center;
    margin: 32px;
    width: 40%;
}


/* Extra small devices (phones) */

@media only screen and (max-width: 600px) {
    #about p {
        width: 70%;
    }
}


/* Medium devices (tablets) */

@media only screen and (min-width: 600px) {
    #about p {
        width: 50%;
    }
}

#about img {
    height: 6.6rem;
    width: 6.6rem;
    float: none;
    display: inline-block;
    border: 1px solid var(--themecolor);
    border-radius: 50%;
    margin: 0.9rem 1rem 0 2rem;
}

#about button {
    background-color: black;
    font-family: "Montserrat", serif;
    border-radius: 4px;
    color: gray;
    border: 2px solid var(--themecolor);
    padding: 0.6rem;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}

#about button:hover {
    background-color: var(--themecolor);
    color: white;
}

#skills {
    margin: 0;
    padding-bottom: 5vh;
    background-color: rgb(24, 24, 24);
    color: #F2F2F2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#skills h2 {
    color: var(--themecolor);
    font-size: 1.2rem;
    line-height: 1.875;
    margin-bottom: 0.3rem;
    letter-spacing: .4rem;
    text-align: center;
}

#skills p {
    color: white;
    text-align: center;
}

#education {
    margin: 0;
    padding-bottom: 5vh;
    padding-top: 5vh;
    background-color: black;
    color: #F2F2F2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#education h2 {
    color: var(--themecolor);
    font-size: 1.2rem;
    line-height: 1.875;
    margin-bottom: 0.3rem;
    letter-spacing: .4rem;
    text-align: center;
}

#education h3 {
    color: #3559e8;
    font-size: 1.2rem;
    line-height: 1.875;
    margin-bottom: 0.3rem;
    text-align: center;
}

#education p {
    color: gray;
    margin: 1.2vh;
}


/* Extra small devices (phones) */

@media only screen and (max-width: 600px) {
    #education {
        padding-left: 10vw;
        padding-right: 10vw;
    }
}


/* Medium devices (tablets) */

@media only screen and (min-width: 600px) {
    #education {
        padding-left: 25vw;
        padding-right: 25vw;
    }
}

#experience {
    margin: 0;
    padding-bottom: 5vh;
    padding-top: 5vh;
    background-color: rgb(24, 24, 24);
    color: #F2F2F2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#experience h2 {
    color: var(--themecolor);
    font-size: 1.2rem;
    line-height: 1.875;
    margin-bottom: 0.3rem;
    letter-spacing: .4rem;
    text-align: center;
}

#experience h3 {
    color: #3559e8;
    font-size: 1.2rem;
    line-height: 1.875;
    margin-bottom: 0.3rem;
    text-align: center;
}

#experience p {
    color: gray;
    margin: 1.2vh;
}


/* Extra small devices (phones) */

@media only screen and (max-width: 600px) {
    #experience {
        padding-left: 10vw;
        padding-right: 10vw;
    }
}


/* Medium devices (tablets) */

@media only screen and (min-width: 600px) {
    #experience {
        padding-left: 25vw;
        padding-right: 25vw;
    }
}

#projects {
    margin: 0;
    padding-bottom: 1vh;
    padding-top: 5vh;
    background-color: black;
    color: #F2F2F2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#projects h2 {
    color: var(--themecolor);
    font-size: 1.2rem;
    line-height: 1.875;
    margin-bottom: 0.3rem;
    letter-spacing: .4rem;
    text-align: center;
}

#projects h3 {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-align: center;
}

#projects p {
    color: gray;
    text-align: center;
}

#projects button {
    background-color: black;
    font-family: "Montserrat", serif;
    border-radius: 4px;
    color: gray;
    border: 2px solid var(--themecolor);
    padding: 0.5rem;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
    margin: 7px;
}

#projects button:hover {
    background-color: var(--themecolor);
    color: white;
}

#projects a {
    text-decoration: none;
    color: white;
    text-shadow: 1px 1px 2px #000000;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.3s ease 0s;
}

.project-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 7vh;
}

#contact {
    margin: 0;
    padding-left: 25vw;
    padding-right: 25vw;
    padding-bottom: 5vh;
    padding-top: 5vh;
    background-color: rgb(24, 24, 24);
    color: #F2F2F2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#contact h2 {
    color: var(--themecolor);
    font-size: 1.2rem;
    line-height: 1.875;
    margin-bottom: 0.3rem;
    letter-spacing: .4rem;
    text-align: center;
}

#contact h3 {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-align: center;
}

#contact ul {
    list-style: none outside;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 8px;
    padding-left: 30px;
    padding-right: 30px;
}

#contact a {
    text-decoration: none;
    color: white;
    text-shadow: 1px 1px 2px #000000;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.8rem;
    transition: all 0.3s ease 0s;
}

.social-link {
    text-decoration: none;
    transition: all 0.3s ease 0s;
    background: transparent;
}

.social-icon {
    width: 2.3rem;
    height: 2.3rem;
    float: none;
    display: inline-block;
    margin: 1rem;
    transition: all 0.7s 0s;
}

.social-icon:hover {
    transform: rotate(720deg);
}


/* Extra small devices (phones) */

@media only screen and (max-width: 600px) {
    #contact {
        padding-left: 10vw;
        padding-right: 10vw;
    }
}

.contact-form-input {
    background-color: black;
    font-family: "Montserrat", serif;
    color: #888888;
    border-color: var(--themecolor);
    border-style: solid;
    border-radius: 2px;
    border-width: 0.7px;
    transition: all 0.3s ease 0s;
}

.contact-form-input:hover {
    background-color: #030f40;
    color: white;
}

.contact-form-btn {
    background-color: black;
    font-family: "Montserrat", serif;
    border-radius: 4px;
    color: #888888;
    border: 2px solid var(--themecolor);
    padding: 0.5rem;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}

.contact-form-btn:hover {
    background-color: var(--themecolor);
    color: white;
}

.contact-form-legend {
    text-align: center;
    align-self: center;
}

#contact fieldset {
    width: 40vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5vw;
    border-color: var(--themecolor);
    border-style: solid;
    border-radius: 3vw;
    border-width: 0.9px;
}

@media only screen and (max-width: 600px) {
    #contact fieldset {
        width: 60vw;
    }
}

footer {
    margin: 0;
    padding: 1vh;
    background-color: black;
    color: #F2F2F2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}