

@font-face {
  font-family: 'Inter'; /* Choose a name for your custom font */
  src: url('fonts/Inter/Inter-VariableFont_opsz,wght.ttf');
  font-weight: normal; /* Optional: Define font weight */
  font-style: normal; /* Optional: Define font style */
}

*{
    margin: 0px;
    padding: 0px;
    font-family: 'Inter';
    color: #FFF;
}

a{
    text-decoration: none;
}

.blooper{
    opacity: 0;
    display: none;
    position: fixed;
    text-align: center;
    top: 45vh;
}

.button{
    text-align: center;
    width: 150px;
    padding: 10px;
    background-color: #3c096cff;
    font-size: 20px;
    border-radius: 10px;
    box-sizing: border-box;
}

.button:hover{
    background-color: white;
    color: #240046ff;
    transition-duration: 500ms;
}

.projectHeader{
    font-size: 40px;
    color: #240046ff;
    margin: 10px 0px 20px;
}

.SubjectHeader{
    width: fit-content;
    font-size: 3rem;
    position: relative;
    bottom: 40px;
}

.ParagraphHeader{
    color: #240046ff;
    /* margin: 10px 0px; */
}

.paragraphBox{
    max-width: 800px;
}

.center{
    text-align: center;
}

.flexCol{
    display: flex;
    flex-direction: column;
}

.flexRow{
    display: flex;
    flex-direction: row;
}

.alignCenter{
    align-items: center;
}

.imgCenter{
    display: block;
    margin: 10px auto;
}

.contentBox{
    border-radius: 20px;
    background-color: #9d4eddff;
    padding: 1rem;
}

.borderRadius20px{
    border-radius: 20px;
}

#LoadingScreen{
    width: 100vw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    background-color: #fcfaf6;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1000;
    transition: 1000ms ease-out;
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Inter';
    background: #c77dffff;
    background-size: contain;
    background-repeat: no-repeat;
}

nav{
    position: fixed;
    width: 80vw;
    background: #9d4eddff;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    border: 10px solid #3c096cff;
    border-radius: 20px;
    top: 20px;
    z-index: 2;
}

.dropdownBtn{
    display: none;
    border: none;
    background-color: inherit;
    border-radius: 20px;
    padding: 10px;
    box-sizing: border-box;
    font-size: 20px;
}

.dropdownBtn:hover{
    background-color: #e0aaffff;
}

.dropdownContent{
    top: 100px;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
    position: absolute;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    transform: translateY(-100%);
    
    padding: 20px 0;
    background-color: rgba(199, 125, 255, 0.856);
    border-radius: 20px;
}

.dropdownContent a{
    transition: 0.2s ease;
    transform: scale(1);
}

.dropdownContent a:hover{
    transform: scale(1.2);
}

.show{
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 1s ease-out;
    transform: translateY(0);
    opacity: 1;
}

#logoContainer{
    margin-left: 15%;
}

#logo{
    display: flex;
    font-size: 4rem;
    font-weight: bolder;
    font-style: normal;
    text-decoration: none;
}

#logo:hover{
    transform: scale(1.1);
}

#navLinks{
    position: relative;
    justify-content: space-between;
    display: flex;
    right: 300px    ;
}

#navLinks a{
    width: fit-content;
    display: flex;
    padding: 20px;
    align-items: center;
    font-size: 1rem;
    border-radius: 20px;
    text-decoration: none;
    text-wrap: nowrap;
    transition: 200ms ease-in;
    transform: scale(1.0);
}

#navLinks a:hover{
    transition: 200ms ease-in;
    transform: scale(1.2);
}

/* index.html styles */

#mainSection{
    width: 100%;
    height: 100vh;
    align-items: center;
    transition: 200ms ease-in;
    background: linear-gradient(to bottom, #5a189aff, #c77dffff);
}

#mainSection *{
    font-weight: 100;
    font-size: 20px;
    text-align: center;
}

#mainSection.hide{
    opacity: 0;
    transition: 300ms ease-out;
}

.todo{
    opacity: 1;
    transition: 300ms ease-in;
}

.todo.hide{
    opacity: 0;
    transition: 300ms ease-out;
}

#mainSection h1{
    font-size: 4em;
}

#mainTopSection{
    margin: 30vh 0vh 25vh;
}

@keyframes slowFlash{
    0% {opacity: 0;}
    50% {opacity: 1;}
    100% {opacity: 0;}
}

@keyframes vShake{
    0% {transform: translateY(0px);}
    50% {transform: translateY(30px);}
    100% {transform: translateY(0px);}
}
#mainBottomSection svg
{
    padding: 20px;
    animation-name: vShake;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

#AboutMeContainer{
    width: 100%;
    align-items: center;
    margin-top: 2vh;
    padding-top: 10vh;
    position: relative;
    background-color: #c77dffff;
}

#AboutMe{
    display: inline-flex;
    max-width: 1000px;
    border-radius: 20px;
    background-color: #9d4eddff;
}

#AboutMe div{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin: 20px;
}

#AboutMe img{
    width: 100%;    
    border-radius: 20px;
    background-color: white;
}

#jovanDiv p{
    font-size: 4em;
}

#ColourGradientTransition{
    width: 100%;
    height: 20vh;
    background-image: linear-gradient(to bottom, #c77dffff, #9d4eddff);
}

#MyProjectsContainer{
    width: 100%;
    position: relative;
    align-items: center;
    background-color: #9d4eddff;
}

#MyProjects{
    max-width: 1440px;
    padding:0 30px 0 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
}

#MyProjects #TextContainer{
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 1.2em;
}

#MyProjects img{
    width: 100%;
    border-radius: 20px;
}

#MySkillsContainer{
    width: 100%;
    height: max-content;
    padding: 20vh 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #9d4eddff;
}

#MySkills{
    max-width: 1200px;
    max-height: 700px;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    border-radius: 20px;
}

#MySkills a{
    text-decoration: none;
    transition: 150ms ease-in;
}

#MySkills a:hover{
    transform: scale(1.05);
    transition: 150ms ease-out;
}

.skillContainer{
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #e0aaffff;
    border-radius: 20px;
    padding: 20px;
}

.skillContainer img{
    margin-top: 10px;
}

.skillContainer img{
    width: 20%;
    aspect-ratio: 1;
}

#pcbImage{
    width: 16%;
    padding: 2%;
}

#ColourGradientTransition2{
    width: 100%;
    height: 20vh;
    background-image: linear-gradient(to bottom, #9d4eddff, #7b2cbfff);
}

#TechnologiesContainer{
    width: 100%;
    position: relative;
    align-items: center;
    background-color: #7b2cbfff;
    padding-bottom: 100px;
}

#Technologies{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#technologiesContent{
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.technologiesContentBox{
    width: 900px;
    justify-content: left;
    align-items: center;
    gap: 50px;
}

.technologiesItem{
    width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.techLabel{
    width: 200px;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.techIcon{
    width: 70px;
    height: 70px;
    border-radius: 20px;
    box-shadow: 10px 10px 40px 0 var(--sdqblack, #202020), 10px 10px 40px 0 rgba(214, 214, 214, 0.20) inset;
    display: flex;
    justify-content: center;
    align-items: center;
}

.techIcon img{
    width: 40px;
    height: auto
}

.techName{
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

footer{
    width: 100%;
    height: 200px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background-color: #240046ff;
}

footer div{
    padding: 10px 0;
    gap: 20px;
    justify-content: space-around;
}

.footerContent{
    gap: 100px;
}

.footerLink{
    transition: 300ms;
}

.footerLink:hover{
    transition: 300ms;
    transform: scale(1.1);
}

.contactDetailsBox{

}

.pageLinksbox{

}

@media only screen and (max-width: 1200px){
    #MyProjects{
        max-width: 720px;
        font-size: 12px;
    }
}

@media only screen and (max-width: 900px){
    .dropdownBtn{
        position: relative;
        display: block;
        right: 20px;
        z-index: 3;
    }

    #navLinks{
        display: none;
    }

    #MySkills{
        display: flex;
        flex-direction: column;
        max-height: fit-content;
        padding: 10vh 0;
    }

}

@media only screen and (max-width: 1000px){

    *{
        font-size: 15px;
    }

    #mainSection *{
        font-size: 15px;
        box-sizing: border-box;
        padding: 0 40px;
    }
    
    #mainTopSection p{
        padding-top: 25px;
    }

    .technologiesContentBox{
        width: 250px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #MySkills{
        display: flex;
        flex-direction: column;
    }
}

/* project.html styles */

#ProjectsPage{
    background: linear-gradient(to bottom right, #c77dffff, #9d4eddff, #7b2cbfff);
}

#ProjectsContainer{
    margin-top: 20vh;
    align-items: center;
    justify-content: center;
}

.Project{
    width: 80%;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    background-color: #9d4eddff;
    border: 2px solid #5a189aff;
    border-radius: 20px;
    transition: 1000ms ease;
    opacity: 1;
    scale: 1;
}

.Project div{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.Project img{
    max-width: 200px;
    aspect-ratio: 1;
    border-radius: 20px;
}

.Project.hide{
    opacity: 0;
    scale: 0.5;
}

.Project a{
    width: fit-content;
    margin-top: 10px;
    padding: 10px;
    background-color: #240046ff;
    border-radius: 30px;
    transition: 600ms;
    text-decoration: none;
}
.Project a:hover{
    background-color: white;
    font-weight: 700;
    color: #240046ff;
    transition: 600ms;
}

.personalProjectMarker{
    width: fit-content;
    background-color: #ecc500;
    padding: 5px;
    border-radius: 10px;
}

.schoolProjectMarker{
    width: fit-content;
    background-color: #0051ff;
    padding: 5px;
    border-radius: 10px;
}

/* CSDP Project Page */

.maxHeight350px{
    width: 100%;
    max-height: 350px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.width100{
    width: 100%;
}

#csdpProjectLandingPage{
    margin-top: 15vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
}

#csdpProjectLandingPage img{
    width: 70%;
    border-radius: 20px;
}

.articleSection{
    width: 100%;
    margin: 20px;
}

@media only screen and (max-width: 600px){
    /* .blooper{
        opacity: 1;
        display: block;
    }

    nav{
        opacity: 0;
    }

    body header, body main, body section{
        opacity: 0;
    } */

    .maxHeight350px{
        width: 80%;
    }
}

/* websiteproject.html styles */

header{
    width: 100%;
    margin-top: 15vh;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.19);
    box-sizing: border-box;
    padding-bottom: 1rem;
}


.listContainer{
    width: 90%;
    margin: 10px auto;
}

.container{
    max-width: 768px;
    margin: 0 auto;
    line-height: 1.6;
}

.label{
    font-size: 0.75rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: #10002bff;
}

.subtitle{
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #240046ff;
}

.meta{
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.lead{
    font-size: 1.125rem;
}

figure{
    margin: 16px 0px;
}

#colorSchemeFigure{
    box-sizing: border-box;
    border: 2px solid white;
    height: 16rem;
    background: linear-gradient(90deg, rgba(16, 0, 43, 1) 0%, rgba(16, 0, 43, 1) 12%, rgba(36, 0, 70, 1) 12%, rgba(36, 0, 70, 1) 25%, rgba(60, 9, 108, 1) 25%, rgba(60, 9, 108, 1) 37%, rgba(90, 24, 154, 1) 37%, rgba(90, 24, 154, 1) 50%, rgba(123, 44, 191, 1) 50%, rgba(123, 44, 191, 1) 62%, rgba(157, 78, 221, 1) 62%, rgba(157, 78, 221, 1) 75%, rgba(199, 125, 255, 1) 75%, rgba(199, 125, 255, 1) 87%, rgba(224, 170, 255, 1) 87%);
}

.figure-small{
    height: 14rem;
}

.projectArticle_h2{
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.projectArticle_p{
    margin: 0;
}

.projectArticle_p + .projectArticle_p{
    margin-top: 1rem;
}

.projectArticle_section{
    max-width: 768px;
    margin: 0 auto;
    margin-bottom: 4rem;
}


.backButton{
    position: absolute;
    width: auto;
    padding: 10px;
    margin-left: 20px;
    background-color: inherit;
}

figure{
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 1rem;
}

figcaption{
    margin-top: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: #240046ff;
    text-align: center;
}

/* aboutme.html styles */

#aboutmeMain{
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 15vh;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.about{
      max-width: 800px;
}

#aboutmeMain h2{
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--accent);
}

#aboutmeHeader{
    padding: 64px 24px 48px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

#aboutmeHeader h1{
    font-size: 2.75rem;
    font-weight: 800;
}

#aboutmeHeader p{
    margin-top: 12px;
    color: var(--muted);
    font-size: 1.1rem;
}

.pfp{
    width: 10vw;
}

.shortDesc{
    font-size: 17px;
    line-height: 1.5rem;
    padding: 20px;
    display: flex;
    flex-direction: column-reverse;
}

.cta{
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta a{
    padding: 12px 20px;
    border-radius: 999px;
    background: #e0aaffff;
    color: #020617;
    font-weight: 700;
    text-decoration: none;
}

.cta a.secondary{
    background: transparent;
    color: var(--accent);
    border: 1px solid #3c096cff;
}

.cta a:hover{
    transform: scale(1.1);
}

.skills{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill{
    background: rgba(56,189,248,0.15);
    color: var(--accent);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
}

.hobbies{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.hobby{
    background: var(--card);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project h3{
    font-size: 1.2rem;
}

.project p{
    color: var(--muted);
    font-size: 0.95rem;
}

.project span{
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: auto;
}

#contact a{
      color: var(--accent);
      text-decoration: underline;
      font-weight: 600;
}


