
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    scroll-behavior: smooth;
}

h1 {
    font-size: 4em;
    letter-spacing: 2px;
}
h2 {
    font-size: 2em;
    letter-spacing: 2px;
}

.icon {
    height: 30px;
    margin: 10px;
}


/* //////////////////////  Navbar  ///////////////////////////// */
nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color: #363537;
    font-family: 'Montserrat', sans-serif;
}

.logo {
    color: white;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 22px;
}

.nav-links{
    display: flex;
    justify-content: space-around;
    width: 35%;
}

.nav-links li {
    list-style: none;
}

.nav-link-item{
    color: white;
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 20px;
}

.mobile-nav{
    display: none;
    cursor: pointer;
}

.mobile-nav div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 1024px){
    body {
        overflow-x: hidden;
    }
    .nav-links{
        width: 50%;
    }
}
@media screen and (max-width: 768px){
    body {
        overflow-x: hidden;
    }
    .nav-links{
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: #363537;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }
    .nav-links li{
        opacity: 0;
    }
    .mobile-nav{
        display: block;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* mobile nav animation from 3 bars to an x */
.mobile-nav-animation .line1{
    transform: rotate(-45deg) translate(-5px, 6px);
}
.mobile-nav-animation .line2{
    opacity: 0;
}
.mobile-nav-animation .line3{
    transform: rotate(45deg) translate(-5px, -6px);
}


/* //////////////////////  Intro Banner with picture ////////////////////// */
#site-banner{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #0066c0;
    color: white;
    width: 100%;
}

.banner-center {
    width: 70%;
    margin: 0 auto;
    padding: 200px 0;
    display: flex;
}

.site-banner-text {
    margin: auto;
    width: 50%;
}

.site-banner-text h1, .site-banner-text h2{
    width: 90%;
    padding: 20 0;
}

#myImg {
    max-width: 500px;
    border-radius: 25px;
}

@media screen and (max-width: 1800px){
    h1{  font-size: 2.5em;    }
    h2{  font-size: 1.5em;    }
    #myImg {  width: 500px;   }
}

@media screen and (max-width: 1300px){
    h1{  font-size: 2em;      }
    h2{  font-size: 1.25em;   }
    #myImg {  width: 400px;   }
}

@media screen and (max-width: 768px){
    h1{  font-size: 1.75em;   }
    h2{  font-size: 1.25em;   }
    #myImg{
        width: 250px;
        padding: 20px 0;
        border-radius: 125px ;
    }   
    .banner-center {
        display: block;
        padding: 100px 0;
    }
    .site-banner-text, .site-banner-text h1, .site-banner-text h2{
        margin: 0;
        width: 100%;
    }
}

/* //////////////////////  Skillset ////////////////////// */
#skillset{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #f0f0f0;
    color: black;
    width: 100%;
}

.skillset-center {
    width: 80%;
    padding: 150px 0 ;
    margin: 0 auto;
}

.skillset-content{
    width: 80%;
    margin: auto;
    display: flex;
    padding: 50px 0;
}
.column {
    width: 33.3%;
    padding: 25px 0px;
    text-align: center;
}
.skillset-title {
    font-family: 'Montserrat', sans-serif;
    padding: 25px 0px;
    width: 80%;
    margin: auto;
    border-bottom: 4px solid grey;
}
.skillset-subtitle {
    margin: 20px;
}
.skills-list li {
    font-size: 1.5em;
    margin: 5px;
    list-style: none;
    letter-spacing: 2px;
}
.skillset-1{
    border: 4px solid grey;
    border-radius: 25px 0 0 25px;
}
.skillset-2{
    border-top: 4px solid grey;
    border-bottom: 4px solid grey;
}
.skillset-3 {
    border: 4px solid grey;
    border-radius: 0 25px 25px 0;
}

@media screen and (max-width: 800px) {
    .skillset-content{
        display: block;
        padding: 0;
    }
    .skillset-center {
        padding: 100px 0;
    }
    .column {
        width: 90%;
        padding: 25px 0px;
        margin: 35px auto;
    }
    .skills-list li {
        font-size: 1em;
        margin: 10px 0;
    }
    .skillset-title {
        padding: 15px 0px;
        width: 80%;
        margin: auto;
    }
    .skillset-1, .skillset-2, .skillset-3 {
        border: 4px solid grey;
        border-radius: 25px;
    }
}

/* //////////////////////  Projects ////////////////////// */
#projects {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #0066c0;
    color: black;
    width: 100%;
}

.projects-center {
    width: 80%;
    padding: 200px 0 ;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
}
.projects-center h1 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}

.projects-list {
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.projects-content {
    position: relative;
    width: 30%;
    margin: 5% 1%;
    float: left;
    overflow: hidden;
    cursor: pointer;
}

.projects-content img {
    width: 100%;
    height: 300px;
}

#unravelImg{
    border-radius: 12px;
    height: 100%;
    max-width:200px;
}

/* Background that transitions in with the details */
.projects-content .projects-content-overlay {
    background:#FCCA74;
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.projects-content:hover .projects-content-overlay {
    height: 100%;
    opacity: 1;
}

/* centering the details of the card */
.projects-content-details {
    position: absolute;
    width: 80%;
    top: 20%;
    left: 50%;
    text-align: center;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease-in-out;
    font-size: 1.25em;
    letter-spacing: 1px;
    font-weight: bold;
}
.projects-content-details p{
    margin: 40px 0;
}

.projBtn {
    text-decoration: none;
    border: 2px solid #0066c0;
    border-radius: 25px;
    /* /* margin-top: 20px;  */
    padding: 5px; 
    background: #0066c0;
    color: #fff; 
}

/* display the details when hovering over project cards */
.projects-content:hover .projects-content-details{
    top: 50%;
    left: 50%;
    opacity:1;
}

.rounded {
    border-radius: 12px;
}

.card{
    height: 100%;
    max-width: 100%;
}


@media screen and (max-width: 800px) {
    .projects-center {
        padding: 100px 0;
    }
    #unravelImg{
        height: fit-content;
    }
    .projects-list{
        margin: 50px auto;
        display: block;
    }
    .projects-content {
        width: 100%;
        margin: 15% 0;
    }
    .projects-content img {
        width: 100%;
        height: 250px;
    }
    .projects-content-details {
        font-size: 1em;
        width: 90%;
    }
}


/* //////////////////////  CONTACT ////////////////////// */
.contact-center {
    width: 80%;
    padding: 200px 0 ;
    margin: 0 auto;
    text-align: center;
}

.contact-content-links ul {
    padding: 50px 0;
    display: flex;
    list-style: none;
    justify-content: space-around;
}

.contact-content-links a, .contact-content-links p {
    font-size: 1.5em;
    text-decoration: none;
    font-weight: bold;
    color: darkblue;
}

.contact-content-subtitle {
    margin: 35px 0;
}


/* TODO: change depending on img file */
.list-icon img {
    max-width: 22px;
    max-height: 22px;
    margin-right: 15px;
}

@media screen and (max-width: 800px) {
    .contact-center {
        padding: 100px 0;
    }
    .contact-content-links ul {
        display: block;
        padding: 25px 0;
    }
    .contact-content-links li {
        margin: 40px 0;
    }
}


/* //////////////////////  FOOTER ////////////////////// */
.site-footer {
    background-color: #363537;
    color: white;
    width:100%;
}
.site-footer-inner{
    text-align: center;
    padding: 20;
}
@media screen and (min-width: 1921px) {
    .site-footer-inner {
        padding: 50 0;
    }
}


/* borders */
#skillset, #projects, #contact, footer {
    border-top: 2px solid black;
}