/* General Stuff */

*{
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    scroll-behavior: smooth;
}


html {
    scroll-behavior: smooth;
}

/*  Navigation Menu */

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.685);
  transition: max-height 0.4s ease;
  z-index: 1000;
  padding-top: 70px;
}


.hamb{
    display: none;
    display: block;
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 25px;
    color: #F4F2EF;
    cursor: pointer;
    z-index: 1500;
    user-select: none;
    background: transparent;
    align-items: right;
}

.hamb .fa-bars {
  display: none;
}

.hamb .fa-times {
  display: none;
}

.side-menu:checked + .hamb .fa-bars {
  display: none;
}

.side-menu:checked + .hamb .fa-times {
  display: inline;
}

.side-menu:checked ~ .nav-mobile {
  max-height: 500px; 
}

.menu-mobile {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;; 
  padding-bottom: 30px;
  margin: 0;
}

.menu-mobile li a {
  color: white;
  font-size: 20px;
  padding-left: 30px;;
  text-decoration: none;
  transition: color 0.3s ease;
} 

.menu-mobile li a:hover {
  color: #94B6EF;
}

.side-menu {
  display: none;
} 
.nav-desktop {
    position: fixed;
    top:0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.378);
    box-sizing: border-box;
    transition: all 0.5s ease-in-out;
    width: 100%;
    display: flex;
    justify-content: flex-start;

}


.nav-desktop ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 24px 24px;
    justify-content: space-evenly;
    list-style: none;
    margin:0;
    position: relative;
    z-index: 11;
    flex-grow: 1;   
}

.nav-desktop ul li a{
    text-decoration: none;
    padding: 24px 24px;
    color: #F4F2EF;
    transition: color 0.3s ease-in-out;
    font-size: 24px;
}


.nav-desktop ul li a:hover {
    color: #94B6EF;
}

body .nav-desktop.sticky ul li a:hover {
    color: #1300e1 !important;
} 

.nav-desktop.sticky{
    background-color: #F4F2EF;

}
.nav-desktop.sticky ul li a{
    color: black;
    transition: 0.3s ease-in-out;
    font-weight: 500
}

.nav-desktop > .nav-logo {
  display: flex;
  align-items: center;
  padding-left: 24px;
  height: 100%;
}

.nav-desktop > .nav-logo > img {
  height: 70px; 
  width: auto;
  padding-top: 7px;;
}


 /* Background for Home */

 .mainpage {
    position: relative;
    background-image:url('../sources/img/mainpageimg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    z-index: 1; 
    overflow: hidden;
    max-height: 1200px;
}

.mainpage::before{
    content: "";
    position: absolute;   
    background: rgba(0, 0, 0, 0.733);
    z-index: 2; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
} 

/* Text on Home */

.maintxt {
    font-size: larger;
    color: #F4F2EF;
    position: relative;
    z-index: 4;
    padding-right: 15%;
    padding-top: 15%;;
    text-align: right;
}

.maintxt > h1 {
    font-size: 100px;
    font-weight: 600;
}

.maintxt > h2 {
    font-size: 60px;
}

.maintxt > h3 {
    font-size: 35px;
}

.maintxt > h4{
    padding-top: 15px;
}

.animated-welcome-container{
    height: 100px;
}

.animated-welcome {
    margin-top: 30px;
    font-size: 35px;
    white-space: nowrap;  
    overflow: hidden; 
    background-color: #f4f2ef11; 
    color: #94B6EF;
    font-style: italic;
    border-right: 3px solid black; 
    padding-right: 5px;
    display: inline-block;
    text-wrap: wrap;
    max-height: 100%;
}

.mobile-fill{
    display:none;
}




/* ABOUT */

#about {
    background-color: #1300e1;
    max-height: 1400px;
    color: #F4F2EF;
}

#about > .about-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    
}

#about > .about-container >.about-text > h1 {
    font-size: 80px;
    font-weight: 600;
    padding-left: 120px;
    padding-top: 40px;
    text-align: justify;
}

#about > .about-container >.about-text > p {
    font-size: 25px;
    padding: 40px;
}

.about-image img{
     width: 400px;
     padding-right: 20px;
    height: auto;
    padding: 30px;
    border-radius: 50%;
    margin-right: 60px;
}

.about-text > h3{
    color: #F4F2EF;
    padding: 30px;
    font-size: 25px;
    text-align: center;
    padding-bottom: 15px;
}
   
.about-text > h3 > a {
    color: #F4F2EF;
    transition: color 0.3s ease-in-out;
}

/* Section Projects */
#projects {
    background-color: #F4F2EF;
    min-height: 800px;
}


    /* Section Projects - Text */

.title-projects > h1 {
    font-size: 80px;
    font-weight: 600;
    padding-left: 120px;
    padding-top: 40px;
}

.projects-image-container {
    width:100%;
    min-height: 65vmin;
    display: flex;
    flex-direction: row;
    gap: 4vmin;
    justify-content: space-evenly;
    align-items: center;
    padding-left: 5vmin;
    padding-top: 5vmin;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.projects-image-container > a>  img{
    width: 38vmin;
    height: 50vmin;
    object-fit: cover;
    object-position: center;
}

.projects-image-container > a > img:hover {
    opacity: 0.75; 
    transition: opacity 0.2s ease; 
}

.projects-image-container > img > overlay:hover{
    opacity: 0.75;

}

#references{
    background-color: black;
    max-height: 1200px;
    padding:80px;
}

#references > h1 {
    font-size: 80px;
    font-weight: 600;
    padding-left: 120px;
    padding-top: 40px;
    color:#F4F2EF;
}
#references > p{
    color:#F4F2EF;

}

#references > .reference-text{
    font-style: italic;
    font-size: 20px;
    margin-top: 40px;
    text-align: justify;
}
#references > .reference-note{
    font-size: 17px;
    margin-left: 70vw;
    margin-top: 30px;
}

#references > .reference-author{
    font-size: 19px;
    margin-left: 61vw;
}

/* CONTACT SECT */

#contact {
    max-height: 1300px;
    background-color: #1300e1;
    color: #F4F2EF;
    text-align: center;
    padding: 30px;
}

#contact > h1 {
    font-size: 60px;
    font-weight: 500;
    padding-bottom: 20px;
    padding: 40px;
}

#contact > p {
    font-size: 25px;
    padding: 10px;

}

.link-linkedin {
    color: #F4F2EF;
    transition: color 0.3s ease-in-out;
}

.link-linkedin:hover {
    color: black;
}


/* FOOTER */

footer {
    background-color: #F4F2EF;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  padding: 20px 70px;
    
}

.footer-menu > nav > ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 20px;
    gap: 17px;
}

.f-social{
     display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 20px;
}

.f-social > a > i{
    color: #1300e1;
    font-size: 40px;
    
}

.footer-menu > nav > ul > li > a {
    text-decoration: none;
    color: black;
}



/* Project INDIVIDUAL PAGES */

.projects-nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.go-back-text {
    font-size: 30px;
    color: black;
    padding-right: 50px;
    padding-top: 40px;
}
.project1 {
    background-color: #F4F2EF;
    max-width: 100%;
    max-height: 1300px;

}
.project2 {
    background-color: #F4F2EF;
    max-width: 100%;
    max-height: 1300px;

}
.project3 {
    background-color: #F4F2EF;
    max-width: 100%;
    max-height: 1300px;

}
.project4 {
    background-color: #F4F2EF;
    max-width: 100%;
    max-height: 1300px;

}

.project4-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5vmin;
    padding: 30px;
    overflow: hidden;
}


.title {
    font-size: 60px;
    font-weight: 600;
    padding-left: 70px;
    padding-top: 10px;
    text-align: justify;
}

.project-text > p{
    max-width: 50vw;
    font-size: 20px;
    line-height: 40px;
    margin-top: 10px;
    text-align: justify;
}


.project4-text > p{
    max-width: 75vw;
    font-size: 20px;
    line-height: 40px;
    margin-top: 10px;
    text-align: justify;
}


.project-images {
    max-width: 15vw;
    justify-content: center;
    align-items: center;
}

.project4-images {
    max-width: 700px;
    width:100%;
    height: auto;
    display: block;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.project3-images > img{
    max-width: 700px;
    width:100%;
    height: auto;
    display: block;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.project-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5vmin;
    padding: 30px;
    overflow: hidden;
}

.projects-logo > img {
  height: 90px; 
  width: auto;
  padding-top: 7px;
  padding-left: 10px;
}

.links-to-project {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
}

.links-to-project >p {
    font-size: 30px;
    color: #1300e1;
    padding-right: 10px;
    text-decoration: none;
}

.links-to-project > a {
    text-decoration: none;
    color: #1300e1;
    font-size: 50px;
}



@media (max-width: 768px) {

    /* GENERAL */
    .mainpage, body, html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    }

    #about > .about-container > .about-text > h1,
    #projects > .title-projects > h1 {
    padding-left: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 40px;
    text-align: left;
    }
    
    /* NAVS */
    .menu-desktop{
        display: none;
    }

    .nav-desktop {
    display: none;
    }

    .hamb{
        display: block ;

    }

    .nav-mobile {
    display: block;
    }

    .menu-mobile {
    display: block;
    }
    .hamb .fa-bars {
    display: inline;
    }


    /* HOME */
    .maintxt {
    font-size: smaller;
    color: #F4F2EF;
    position: relative;
    z-index: 4;
    padding-right: 7%;
    padding-top: 70%;
    text-align: right;
    }
    
    .mainpage{
        max-height: 844px;
    }

    .maintxt > h1 {
    font-size: 40px;
    font-weight: 500;
    }

    .maintxt > h2 {
    font-size: 25px;
    }

    .maintxt > h3 {
    font-size: 20px;
    }

    .maintxt > h4{
    padding-top: 8px;
    }

    .animated-welcome-container{
    height: 50px;
    }

    .animated-welcome {
    margin-top: 20px;
    font-size: 16px;
    white-space: nowrap;  
    overflow: hidden; 
    background-color: #f4f2ef11; 
    color: #94B6EF;
    font-style: italic;
    border-right: 3px solid black; 
    padding-right: 5px;
    display: inline-block;
    text-wrap: wrap;
    max-height: 100%;
    }

    .mobile-fill {
    display:block;
    font-size: 10px;
    padding-top: 10px;
    text-decoration: none;
    }

    /* ABOUT */

   #about > .about-container {
    padding: 20px;
    }

  #about > .about-container > .about-text > h1 {
    padding-left: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 40px;
    text-align: left;
  }

    #about > .about-container > .about-text > p {
    padding: 0 30px;
    font-size: 14px;
    text-align: justify;
    }

    .about-image {
        display: none;
    }

    .about-text > h3{
    font-size: 20px;
    text-align: center;
    }


    /* PROJECTS */
    #projects {
        padding: 20px;
        min-height: 300px;
    }


    .project-images {
        max-width: 500px;
        max-height: 60%;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    
    /* REFERENCES */
    #references{
    padding:40px;
    }

    #references > h1 {
    font-size: 25px;
    font-weight: 600;
    padding-left: 0px;
    padding-top: 20px;
    color:#F4F2EF;
    }

    #references > .reference-note{
        font-size: 15px;
        margin-top: 30px;
    }
    
    #references > .reference-author{
        font-size: 17px;
    }

    #references > .reference-note,
    #references > .reference-author {
    margin-left: 0;
    padding-left: 10px;
    padding-right: 10px;
    text-align: right; 
    font-size: 14px;
    word-break: break-word;
    }

    #references > .reference-text {
        font-size: 14px;

    }


    /* CONTACT */

    #contact > h1 {
    font-size: 30px;
    font-weight: 500;
    padding-bottom: 10px;
    padding: 20px;
    }

    #contact > p {
    font-size: 18px;
    padding: 8px;
    }

    #contact > h3 {
        font-size: 14px;
    }

    /* FOOTER */


    footer {
    background-color: #F4F2EF;
    display: flex;
    flex-direction: column;
    align-items: center;
    }

    .footer-menu > nav > ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 5px;
    gap: 5px;
    }

    .footer-menu > nav > ul > li > a {
    font-size: 13px;
    flex-wrap: wrap;
    }

    .f-social{
     display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    }

    .f-social > a > i{
    font-size: 30px;
    }

    footer > p {
        font-size: 9px;
        padding: 6px;;
    }


    /* Project INDIVIDUAL PAGES */

.projects-nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.projects-logo > img {
  height: 70px; 
  width: auto;
  padding-top: 7px;
  padding-left: 10px;
}


.go-back-text {
    font-size: 20px;
    color: black;
    padding-right: 15px;
}
.project1 {
    background-color: #F4F2EF;
    max-width: 100%;
    max-height: 900px;

}
.project2 {
    background-color: #F4F2EF;
    max-width: 100%;
    max-height: 900px;

}
.project3 {
    background-color: #F4F2EF;
    max-width: 100%;
    max-height: 900px;

}
.project4 {
    background-color: #F4F2EF;
    max-width: 100%;
    max-height: 900px;

}
.title {
    font-size: 40px;
    font-weight: 600;
    padding-left: 40px;
    padding-top: 10px;
    text-align: left;

}

.project-text > p{
    max-width: 75vw;
    font-size: 15px;
    line-height: 20px;
    text-align: justify;
}

.project-images {
    max-width: 100%;
    justify-content: center;
    align-items: center;
}

.project-images > img {
    max-width: 75vw;
    height: auto;
}
.project-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5vmin;
    padding: 30px;
    overflow: hidden;
}

.project4-images {
    display: none;
}


}

 @media (min-width: 768px) and (max-width: 1024px) {

    .maintxt {
    padding-right: 7%;
    padding-top: 40%;
    }

    .mainpage{
        max-height: 720px;
    }
    
    .projects-image-container > a>  img{
    width: 38vmin;
    height: 50vmin;
    object-fit: cover;
    object-position: center;
    padding: 30px;
    }

    #references > h1 {
    font-size: 25px;
    font-weight: 600;
    }

    #references > .reference-note,
    #references > .reference-author {
    margin-left: 0;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center; 
    font-size: 12px;
    word-break: break-word;
    }


} 




