@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;300;400;600&display=swap');

html,
body {
    margin: 0;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth
}




:root {
    --bkgray: rgb(30, 30, 30);
    --blue: rgb(15, 23, 42);
    --teal: rgb(45, 212, 191);
    --greenbk: rgba(45, 212, 191, .1);
    --bluenav: rgba(15, 23, 42, .2);
    --sm-font-family: 'Barlow', sans-serif;
    --sm-font-size: 12pt;
    --sm-font-weight: 400;
    --sm-font-style: normal;
    --sm-font: var(--sm-font-style) var(--sm-font-weight) var(--sm-font-size) var(--sm-font-family);
    --lg-font-family: 'Barlow', sans-serif;
    --lg-font-size: 20pt;
    --lg-font-weight: 400;
    --lg-font-style: normal;
    --lg-font: var(--lg-font-style) var(--lg-font-weight) var(--lg-font-size) var(--lg-font-family);
    --border-rad-5: 5px;
    --light-glass-bk: rgba(100, 116, 139, 0.8);
    --sm-filter: blur(40px);
    --lg-filter: blur(20px);
    --sm-light-glass-bk: rgba(255, 255, 255, 0.1);
    --sm-glass-border-light: 1.5px solid rgba(100, 116, 139, 0.3);
    --sm-glass-border-greenbk: 1.5px solid rgba(45, 212, 191, .1);
    --sm-glass-sh: 0 0 10px rgba(0, 0, 0, 0.2);
    --lg-glass-border-light: 1.5px solid rgb(255, 255, 255, .4);
    --lg-glass-sh: 0 0 80px rgba(0, 0, 0, 0.3);
}




.hamburger {
    display: none;
    width: 75px;
    height: auto;
    background-color: transparent;
    border: none;
}

.navbar .mini {
    height: 100%;
    width: auto;
}

.nav-container {
    display: flex;
    flex-direction: row;
    height: 100%;
    margin-right: 20px;
    width: auto;
}









canvas {
    position: fixed;
    display: block;
}

.iframe {

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



body {
    /*background: linear-gradient(.12turn, #e66465, #9198e5);*/
    background-color: rgb(15, 23, 42);
    overflow-x: hidden;

}

h1 {
    all: unset;


    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: bolder;
    font-style: normal;
    font-size: 50pt;
    color: white;
    text-align: left;

}

h2 {

    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: bolder;
    font-style: normal;
    font-size: 20pt;
    color: white;
    margin-left: 20px;

}

h3 {
    all: unset;
    font-family: 'Franklin Gothic Small', 'Arial Narrow', Arial, sans-serif;
    font-weight: normal;
    font-style: normal;
    text-align: left;
    font-size: 16pt;
    color: var(--teal);
}





.nav-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.nav-header {
    all: unset;
    display: flex;
    align-items: center;
    width: auto;
    height: 100%;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: bolder;
    font-style: normal;
    font-size: 20pt;
    color: white;
    margin-left: 20px;

}

.navbar {
    z-index: 5;
    position: fixed;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    height: 4rem;
    backdrop-filter: var(--lg-filter);
    -webkit-backdrop-filter: var(--lg-filter);
    background-color: var(--bluenav);
    box-shadow: var(--sm-glass-sh);
    border-bottom: var(--lg-glass-border-light);

}

.buttons {
    all: unset;

    display: flex;
    flex-direction: row;
    align-items: center;

}

.buttons>* {
    all: unset;
    height: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-style: normal;
    font-size: 12pt;
    border: none;
    padding-inline: 30px;
    background-color: transparent;
    color: white;
}

.buttons>*:hover {

    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-style: normal;
    font-size: 12pt;
    border: none;
    background-color: var(--greenbk);
    color: var(--teal);
    transition: all 100ms ease-in-out;
}

.switch {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-style: normal;
    font-size: 12pt;
    position: relative;
    border: none;
    width: auto;
    background-color: transparent;
    color: white;
    border-right: 1px solid var(--border);
    margin-right: 10px;
    padding-right: 20px;
}


.theme {
    height: 100%;
    width: 100px;
    border-left: 1px solid var(--border);
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
}




/* Intro */

.about-section {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: space-between;
    width: 60%;
    height: 300px;
    margin-top: 50vh;
}

.profile-image {
    object-fit: fill;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 3.5px;
}

.name {
    position: absolute;
    /* must add shadow prop*/
    bottom: 0%;
    padding-left: 3px;
    font: var(--lg-font);
    font-weight: 600;
    color: white;
}

.image-container {
    top: 0%;
}

.introduction {
    display: block;
    color: white;
    align-self: self-start;
    height: calc(100% - 5px);
    width: 100%;
    margin-top: 10px;

    overflow: hidden;
    font: var(--sm-font);

}





/* Projects */
project-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    -webkit-backdrop-filter: var(--lg-filter);
    backdrop-filter: var(--lg-filter);
    border: var(--sm-glass-border-light);
    box-shadow: var(--lg-glass-sh);
    border-radius: var(--border-rad-5);
}
    project-item:hover {
        border: var(--lg-glass-border-light);
        transition: all 200ms ease-in-out;
    }

.projects-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.project-container {
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
    width: 70%;
    height: 10%;
}

.project-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 30%;
    width: auto;
    overflow: hidden;
}

.project-title {
    height: auto;
    flex-shrink: 0;
    font: var(--lg-font);
    font-weight: 600;
    text-align: center;
    color: white;
    width: auto;
    padding-top: 10px;
    margin-inline: 10px;
    overflow: hidden;
    opacity: .7;
    backdrop-filter: invert();
}



.techs {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    height: 10%;
    width: 100%;
    transform: scale(.9);
}

.project-description {

    height: auto;
    overflow: hidden;   
    color: white;
    text-align: center;
    font: var(--sm-font);
    margin-left: 10px;
    margin-right: 10px;
    padding-block: 10px;
    opacity: .7;


}

.project-item-container {
    height: -webkit-fill-available;
    box-shadow: var(--sm-glass-sh);
}

.links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 10%;
    width: auto;
    overflow: hidden;
    box-shadow: var(--sm-glass-sh);

    border-radius: 0 0 5px 5px;

}

.project-img {
    overflow: hidden;
    object-fit: fill;
    width: 100%;
    height: 100%;
    border-radius: 5px 5px 0 0;


}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: var(--sm-filter);
    -webkit-backdrop-filter: var(--sm-filter);
    background-color: var(--sm-light-glass-bk);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    color: white;
    opacity: .7;
    backdrop-filter: invert();
    height: 100%;
    width: 100%;

    font: var(--sm-font);
    font-size: 10pt;
    transition: all 200ms ease-in-out;
}

.project-link:hover {
    background-color: var(--lg-light-glass-bk);

}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: white;
    opacity: .7;
    padding: 3px;
    /* Firefox */
}
button {
    all: unset;
    padding: 3px;
    padding-inline: 5px;
    font: var(--sm-font);
    color: white;
    opacity: .7;
    border: var(--lg-glass-border-light);
    background-color: var(--sm-light-glass-bk);
    backdrop-filter: var(--sm-filter);
    -webkit-backdrop-filter: var(--sm-filter);
    border-radius: 2px;
    box-shadow: var(--sm-glass-sh);
}
button:hover {
    all: unset;
    padding: 3px;
    padding-inline: 5px;
    font: var(--sm-font);
    color: white;
    opacity: .7;
    border: var(--sm-glass-border-light);
    background-color: var(--sm-light-glass-bk);
    backdrop-filter: var(--sm-filter);
    -webkit-backdrop-filter: var(--sm-filter);
    border-radius: 2px;
    box-shadow: var(--sm-glass-sh);
    transition: all 200ms ease-in-out;
}
input[type="text"] {
    all: unset;
    width: 80%;
    font: var(--sm-font);
    color: white;
    opacity: .7;
    background-color: var(--sm-light-glass-bk);
    backdrop-filter: var(--sm-filter);
    -webkit-backdrop-filter: var(--sm-filter);
    border-radius: 2px;
    box-shadow: var(--sm-glass-sh);
}
input[type="color"] {
    all: unset;
    height: 100%;
    width: 100%;
    font: var(--sm-font);
    color: white;
    opacity: .7;
    background-color: var(--sm-light-glass-bk);
    border-radius: 2px;
}


select {
    width: 100%;
    font: var(--sm-font);
    color: white;
    opacity: .7;
    border: none;
    background-color: var(--sm-light-glass-bk);
    backdrop-filter: var(--sm-filter);
    -webkit-backdrop-filter: var(--sm-filter);
    border-radius: 2px;
    box-shadow: var(--sm-glass-sh);
}
select > option {
    font: var(--sm-font);
    color: black;
    background-color: transparent;
    border: none;
    border-radius: 0px;
}
.contact-section {
    width: 80%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

}

.contact-desc {
    width: 60%;
    height: 100%;
    margin-left: 50px;
    margin-top: 10px;
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14pt;
    color: white;

}

.contact-form {

    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: left;
    margin-top: -15px;
    width: 40%;
    height: 100%;

}

.message {
    height: 100%;
    width: 80%;
    margin-top: 18px;
    margin-right: 10px;
}

.message textarea {
    overflow: hidden;
    height: 5rem;
    resize: none;
    width: calc(100% + 6px);
    font: var(--sm-font);
    color: white;
    opacity: .7;
    background-color: var(--sm-light-glass-bk);
    backdrop-filter: var(--sm-filter);
    -webkit-backdrop-filter: var(--sm-filter);
    border-radius: 2px;
    border: none;

}

textarea:focus {
    overflow: hidden;

    width: 100%;
    resize: none;
    border-radius: 3px;
    outline: none;
    background-color: transparent;
    width: 100%;
    font: var(--sm-font);
    color: white;
    opacity: .7;
    transition: all 100ms ease-in-out;


}


.contact-form>input {
    padding: 5px;
    margin-top: 18px;
}

.email-mailer {
    margin-top: 0;
}

.contact-form>input:focus {
    box-shadow: none;

    background-color: transparent;
    transition: all 100ms ease-in-out;
}

.contact-submit {
    all: unset;
    font: var(--sm-font);
    color: white;
    opacity: .7;
    padding: 7px;
    margin-bottom: 10px;
    margin-top: 10px;
    border-radius: 3px;
    backdrop-filter: var(--sm-filter);
    -webkit-backdrop-filter: var(--sm-filter);
}

.contact-submit:hover>svg {
    stroke: var(--teal);
}

.other-contacts {
    position: fixed;
    width: auto;
    left: 0%;

    bottom: 0%;

    z-index: 5;

}


.contact-main {
    height: 90%;
    width: auto;
}

.contact-grid {
    height: 10%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.bar-contact-item {
    object-fit: contain;
    width: 30px;
    height: auto;
    margin: 5px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;

    filter: invert() brightness(100%);

    aspect-ratio: 1;

}

.bar-contact-item:hover {

    filter: invert() brightness(75%);
    transition: all 100ms ease-in-out;
}

.bar-contact-item>img {

    width: 30px;
    height: 30px;

}



.experience-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-top: 10vh;
    width: 80%;
    height: 500px;
}

.experience-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.experience {
    height: 100%;
    width: 50%;
}

.job-bullet{
    margin-top: 3px;
}
.resume {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: 25px;
    transform: translate(-50%, -50%);
    height: 85%;
    width: 50%;
}

.tech {
    height: 100%;
    width: 50%;
    margin-left: 50px;

}

.project-tech {
    font: var(--sm-font);
    font-size: 8pt;
    padding-inline: 5px;
    line-height: 20px;
    margin-left: 10px;
    height: 20px;
    border-radius: 500px;
    backdrop-filter: var(--sm-filter);
    color: var(--teal);
    background-color: var(--greenbk);
}


job-item {
    display: flex;
    flex-direction: row;

}

job-item:hover {
    display: flex;
    flex-direction: row;
    background-color: var(--sm-light-glass-bk);
    backdrop-filter: var(--sm-filter);
    -webkit-backdrop-filter: var(--sm-filter);
    border-radius: 2px;
}

.blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    display: none;
    background-color: var(--lg-light-glass-bk);
    backdrop-filter: var(--lg-filter);
    -webkit-backdrop-filter: var(--lg-filter);
}

.expand-resume {
    margin-left: 15px;

    width: fit-content;
    height: fit-content;
    margin-top: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 10pt;
    color: white;
    padding: 8px;

}

.expand-resume:hover {
    margin-left: 15px;

    margin-top: 20px;

    padding: 8px;

    background-color: var(--sm-light-glass-bk);
    backdrop-filter: var(--sm-filter);
    -webkit-backdrop-filter: var(--sm-filter);
    border-radius: 4px;

}

.exit-resume {
    width: fit-content;
    height: fit-content;
    position: relative;
    left: 20px;

    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 10pt;
    color: white;
    padding: 5px;

}

.exit-resume:hover {
    padding: 5px;

    background-color: var(--sm-light-glass-bk);
    backdrop-filter: var(--sm-filter);
    -webkit-backdrop-filter: var(--sm-filter);
    border-radius: 4px;

}

.job-length {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 9pt;
    color: white;
    opacity: .6;
    width: 20%;
    height: 100%;
    margin: 15px;

}

.job-info {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    width: 100%;
}

.job {
    display: flex;
    flex-direction: row;
    justify-content: start;
    flex-wrap: wrap;
    align-items: center;
    height: 35px;
    width: 100%;
}

.job-tech {
    font: var(--sm-font);
    font-size: 8pt;
    margin-right: 10px;
    padding-inline: 5px;
    height: 15px;
    border-radius: 500px;
    color: var(--teal);
    background-color: var(--greenbk);
    backdrop-filter: var(--sm-filter);
}

.job-company {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 10pt;
    color: white;
}

.job-title {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 8pt;
    color: white;
    opacity: .6;
}

.job-description {
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 8pt;
    color: white;
    margin: 7px;
    opacity: .9;
}


.contact-success {
    flex-direction: column;
    align-items: left;
    justify-content: start;
    width: 40%;
    height: 100%;
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24pt;
    color: white;
    margin: 7px;
    opacity: .9;
}

.contact-failure {
    flex-direction: column;
    align-items: left;
    justify-content: start;
    width: 40%;
    height: 100%;
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24pt;
    color: white;
    margin: 7px;
    opacity: .9;
}



@media (max-width: 700px) {
    .bar-contact-item>img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .bar-contact-item {
        width: 40px;
    }

    .resume {
        width: 80%;
        height: 60%;
    }

    .contact-section {
        height: fit-content;
        width: 90%;
        align-items: center;
    }

    .contact-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        width: 100%;
        height: 100%;

    }

    .contact-form {
        align-items: center;
        width: 90%;
        margin-bottom: 25px;
    }

    .contact-submit {
        background-color: var(--sm-light-glass-bk);
        backdrop-filter: var(--sm-filter);
        -webkit-backdrop-filter: var(--sm-filter);
    }


    .contact-desc {
        margin: 0;
        width: 90%;
    }

    .tech {
        margin-left: 0;

        width: 100%;
        height: auto;
    }

    .experience-section {
        height: fit-content;
    }

    .experience-container {
        flex-direction: column;
        height: 100%;
        width: 100%;
    }

    .experience {
        width: 100%;
        height: 250px;
    }

    .navbar .mini {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        height: 4rem;
    }

    .navbar.show .mini {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        height: 4rem;
    }

    .nav-container .buttons {
        display: none;
        flex-direction: column;
        width: 100%;
        height: 80%;
    }

    .nav-container .buttons.show {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: start;

        width: 100%;
        height: 100%;
    }

    .nav-container .buttons.show>* {
        width: 50%;
        height: 100%;
        text-align: left;
    }

    .navbar.show {
        height: 30%;
        width: 100%;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .nav-container {
        display: none;
    }

    .nav-container.show {
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 100%;
        margin: 20px;
    }

    .hamburger {
        display: block;
    }

    .about-section {
        width: 80%;
    }

    .project-container{
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    }
}

.experience-tech {
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
    grid-gap: 10px;
    margin-left: 50px;

}

.hex {
    background-color: var(--sm-light-glass-bk);
    backdrop-filter: var(--sm-filter);
    -webkit-backdrop-filter: var(--sm-filter);
    border: var(--lg-glass-border-light);

    width: 60px;
    height: 60px;

    position: relative;
    display: inline-block;
    border-radius: 500px;


}

.hex img {
    width: 70%;
    height: 70%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-47%, -50%);


}

.about-container{
    display:flex;
    justify-content: center;
    width: 100%;
    margin: 10%;
}
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

    .instagram-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }

        .instagram-grid img:hover {
            transform: scale(1.1);
            box-shadow: 0 8px 20px rgba(0,0,0,0.25);
            z-index: 5;
        }