html, body {
    margin: 0;
    padding: 0;
}

header {
    background-color: hsl(271, 85%, 23%);
    width: 100%;
    height: auto;
    padding-top: 5vh;
    top: 0;
    left: 0;
    z-index: 999;
    margin: 0;
    padding: 0;
    box-shadow: 0px 1vh 2vh 2vh hsl(271, 85%, 23%);
}



a {
    color: #ffffff;
}

main {
    flex-grow: 1; 
}

body {
    display: flex;
    flex-direction: column;
    background: linear-gradient(#4361ee 0%, #7b2cbf 50%, #240046 100%);
    background-attachment: fixed;
}

footer {
    background-color: #10002b;
    width: 100%;
    height: auto;
    bottom: 0;
    box-shadow: 0px 1vh 2vh 2vh #10002b;
}

.center1 {
    display: flex;
    justify-content: center;
    text-align: center;
}

h1 {
    font-family: 'Orbitron', sans-serif;
}

.socialMedia {
    display: flex;
    justify-content: center;
    text-align: center;
}

.imageThing {
    width: 20vw;
    padding: 5vw;
    border-radius: 5vw;
}



.image {
    border-radius: 3vw;
    border: 5px solid hsl(271, 85%, 23%);
    width: 30vw;
    display: inline-block;
    transition: transform 1s ease; 
}

.image:hover {
    transform: scale(1.05);
}

.hoverScale {
    transition: transform 1s ease; 
}

.hoverScale:hover {
    transform: scale(1.05);
}

.grid {
    display: grid;
    gap: 5vh;
    grid-template-columns: repeat(auto-fit, minmax(80%, 1fr));
    padding: 5vw;
}

.galleryGrid {
    display: grid;
    gap: 5vh;
    grid-template-columns: repeat(auto-fit, minmax(35%, 1fr));
    padding: 5vw;
    align-items: flex-start;
}

.item {
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);

}

.galleryItem {
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);   
}

.galleryItem h1 {
    text-align: center;
}

.galleryItem h3 {
    text-align: center;
}

.GalleryItem img {
    display: block;
    width: 40vw;
    height: auto;
    border-radius: 10px;
}

.item img {
    display: block;
    width: 40vw;
    height: auto;
    border-radius: 10px;

}

.HeaderNav {
    display: grid;
    justify-content: center;
    margin-left: 5vw;
    margin-right: 5vw;
    
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    font-size: 125%;
}

.scale {
    transition: transform 0.3s ease; 
    margin-left: 0;
}
.scale:hover {
    transform: scale(1.1);
}



.HeaderNav h1 {
    margin-top: 0;
}

.HeaderNav a {
    display: inline-block;
    line-height: 1.2;
    position: relative;
    z-index: 1000;
}

.pageName {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5vh;
    padding-top: 1vh;
    font-size: 2.5rem;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 5vw;
    align-items: start;
}

.projectsItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
    height: auto;
    text-decoration: none;
    transition: transform 0.75s ease;
}

.projectsItem img {
    display: block;
    width: 80%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 1vw;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.projectsItem:hover {
    transform: scale(1.05);
}



.gridProject {
    display: grid;
    gap: 5vh;
    padding: 5vw;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.textBelowProject {
    margin-left: 3vw;
    margin-right: 3vw;
    text-align: center;
    font-size: 90%;
}

.centerImg {
    display: flex;
    align-items: center;
    width: auto;
}

li {
    margin-bottom: 2vh;
}

.githubLogo {
    display: flex;
    flex-direction: row;
    transition: transform 0.75s ease; 
}

.githubLogo:hover {
    transform: scale(1.025);
}

.PlosedesLogo {
    width: 10vw;
    position: absolute;
    top: 5vh;    
    right: 10px; 
}

.center {
  display: block;       
  margin-left: auto;    
  margin-right: auto;  
  max-width: 100%;      
  height: auto;
}

.indentText {
    margin-left: 5vw;
}

.engineeringStuff {
    background-color: hsla(271, 69%, 42%, 0.832);
    width: 30vw;
    text-align: left;
    border-radius: 1vw;
    box-shadow: 0.5vw 1vh 5px 0.2vw rgb(44, 0, 121);
    
}

.email {
    width: auto;
    height: 2rem;
}

.dropdown {
    background-color: hsl(271, 85%, 18%);
    opacity: 0;
    transform-origin: top;
    transform: scaleY(0);
    z-index: 2000;
    width: auto;
    padding-right: 5rem;
    top: 6vh;
    transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out; 
    overflow: visible;
    position: absolute;
    border-radius: 1vw;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.moreDropdown {
    position: relative;
}

.dropdownArrow {
    transition: transform 0.35s ease-in-out; 
    rotate: 180deg;
}

.moreDropdown:hover {
    .dropdown {
        opacity: 1;
        transform: scaleY(1);
    }

    .dropdownArrow {
        transform: rotate(180deg);
    }
}

.moreDropdown.active .dropdown {
    opacity: 1;
    transform: scaleY(1);
}

.moreDropdown.active .dropdownArrow {
    transform: rotate(180deg);
}

/* Make the dropdown arrow animate */
.dropdownArrow {
    transition: transform 0.35s ease-in-out;
}

.dropdownText {
    margin-left: 2vw;
}

.moreStuff {
    display: flex;
}

.camerasPhoto {
    display: flex;
    align-items: flex-start;
    justify-content: center;

}

.camerasPhotoDiv {
    text-align: center;
    margin-left: 5vw;
    margin-right: 5vw;
}

.camerasPhotoDiv img {
    width: 30vw;
    border-radius: 1vw;
}



.Otherprojects {
    display: grid;
    gap: 5vh;
    grid-template-columns: repeat(auto-fit, minmax(22%, 1fr));
    padding: 5vw;
    align-items: flex-start;
}

.OtherprojectsItem {
    align-items: center;
    transition: transform 0.75s ease; 
    display: flex;
    flex-direction: column;
}

.OtherprojectsItem img {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5); 
    width: 70%;
    border-radius: 10px;
}

.OtherprojectsItem:hover {
    transform: scale(1.05);
}

.projectImage {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    display: block;       
    margin-left: auto;    
    margin-right: auto;  
    max-width: 100%;      
    height: auto;
    border-radius: 2vw;
}