@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Unlock&family=Yeseva+One&display=swap');

/*Styling of page*/
body{
    background: #ADBBDA ; /*Set background color of page*/
    margin-bottom: 100px; /* Adjust size as needed */
    
}


#headerContainer {
    position: relative;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 7%;
  }
  
  #projectsHeader {
    font-size: 45px;
    color: #3D52A0; 
    font-family: 'Unlock', serif; 
    font-weight: 400;  
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding-bottom: 10px;
    margin: 0;
  }
  

  #navLinks {
    position: absolute;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    right: 30px;
    display: flex;
    gap: 20px;
    
  }
  
  .headerLinks {
    font-family: 'Unlock', serif;
    color: #3D52A0;
    cursor: pointer;
    margin: 0;
    font-size: 35px;
    text-decoration: none;
  }

.headerLinks:hover{
    color: #6475B3 !important;
    
}

/*Styling of contact content list*/
.contactContent a{
    display: block; /*Stacks content*/
    color: #3D52A0;
    font-size: medium;
    padding: 10px 15px; /*Adds space around list items*/
       
}


/*Styling of styling of contact content div container*/
.contactContent {
    display: none; /*Hides dropdown*/
    position: absolute; /*Makes drop down not move content on page*/
    background-color: #EDE8F5;
    border-radius: 20px;
    min-width: 130px;
    box-shadow: 2px 2px 5px hsla(0, 0%, 0%, 0.8);/*Creates shadow background of dropdown to make it pop out*/
    z-index: 999; /* Keeps the dropdown menu on top of other content */
   
}

.contactIcon {
    height: 20px;
    width: 20px;
    margin-right: 8px;
    vertical-align: middle;
}


/* Container for Contact + dropdown */
.contactWrapper {
    position: relative;
  }

  .contactWrapper a{
    text-shadow: none;
    text-decoration: none;
  }



/* Show dropdown only on hover of wrapper */
.contactWrapper:hover .contactContent {
    display: block;
  }

  
/* Optional spacing tweak to align better */
.contactWrapper .headerLinks {
    padding-bottom: 5px;
  }


/*Puesdo class to make dropdown list contents brigher when hovered over*/
.contactWrapper a:hover{
    color: #6475B3;
    cursor: pointer;
}

  

/*Styling of Project1 container*/
#project1{
    position: relative;
    display: flex;
    bottom: 2rem;
    left: 4rem;
}



/*Styling of slider container*/
#project1Slider{
    display: inline-block; /*Shrinks size of container to content inside*/
    position: relative;
    margin-left: 3%;

}


/*Conatiner of images*/
.slides {
    position: relative;
    background-color: #8697C4; /* Background acts as border */
    height: 750px;
    width: 850px;
    display: flex;
    justify-content: center;   /* Horizontally centers content */
    align-items: center;       /* Vertically centers content */
    box-sizing: border-box;
    border-radius: 20px;
    box-shadow: -2px -2px 5px hsla(0, 0%, 0%, 0.8);/*Creates shadow background of dropdown to make it pop out*/

}


.slides img{
    height:700px ;
    width:800px ;
}


/*Styling of slider container*/
.slider{
    position: relative;
   /* overflow: hidden; /*Prevents slides from overflowing out of container*/
}


/*Styling of images in slider*/
.slider img{
    display: none;
}

/*Styling of images in displaySlide class*/
img.displaySlide{
    display: block;
}


.slider button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    padding: 15px 15px;
    background-color: hsla(0, 0%, 0%, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 100%;

}

.prev{
    left: 0;
}


.next{
    right: 0;
}


.prev:hover { 
    background-color: hsla(0, 0%, 30%, 0.5);
}


.next:hover { 
    background-color: hsla(0, 0%, 30%, 0.5);
}

#github:hover{
    color: #6475B3 !important;
}


#overview{
    height: 750px;
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    background-color:  #8697C4;
    padding: 0px 20px;
    border-radius: 20px;
    box-shadow: 2px -2px 5px hsla(0, 0%, 0%, 0.8);/*Creates shadow background of dropdown to make it pop out*/
}



@media (max-width: 1800px) {

    #projectsHeader{
      font-size: 2.5vw ;
    }
  
    .headerLinks{
      font-size: 2vw;
    }
  


    /*Conatiner of images*/
    .slides {

        height: 45vw;
        width: 43vw;

    
    }

    .slides img{
        height: 41vw !important;
        width: 40vw !important;
    }
     
    
    .slider button{
        font-size: 2rem;
    
    }
    
 
    #overview{
        height: 45vw;
        width: 43vw;
    }
  
    #overview h1{
        font-size: 3vw !important;
    }

    #overview p{
        font-size: 0.9vw !important;

    }

    
}



@media (max-width: 1000px) {

    #projectsHeader{
      font-size: 4vw !important;
      margin-bottom: 3%;
    }
  
    .headerLinks{
      font-size: 3vw;
    }
  
    #navLinks {
   justify-content: center;
   position: relative;
   right: 0;
   }

    /*Conatiner of images*/
    .slides {

        height: 70vw;
        width: 70vw;

    
    }

    .slides img{
        height: 65vw !important;
        width: 65vw !important;
        border-radius: 5px;
    }
     
    
    .slider button{
        font-size: 2rem;
    
    }


    #project1{
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
       left: 0%;
       gap: 4vw; /* spacing between slider and overview */
       margin-top: 15%;
    }
    
 
    #overview{
        height: 150vw;
        width: 70vw;
    }
  
    #overview h1{
        font-size: 4vw !important;
    }

    #overview p{
        font-size: 2vw !important;

    }

}