@import url(reset.css);



.titan-one-regular {
  font-family: "Titan One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.shippori-antique-b1-regular {
  font-family: "Shippori Antique B1", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.special-gothic-expanded-one-regular {
  font-family: "Special Gothic Expanded One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

html {
  max-width: 100%;
  scroll-padding-top: 120px;
  scroll-behavior: smooth;
  position: relative;
  overflow-x: hidden;
}
body {
  max-width: 100%;
  background-color: black;
  background-image: url(images/starsbackground.png);
  padding: 30px;
  padding-top: 120px;
  overflow-x: hidden;
  position: relative;
}
.nav * {
  box-sizing: border-box;
}
#grad1 {
  height: 3px;
  background-color: white; /* For browsers that do not support gradients */
  background-image: linear-gradient(to right, black , white, black);
  margin-top: 20px;
  margin-bottom: 10px;
}

.nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(0,0,0,0.98) !important;
    z-index: 10000 !important;
    margin: 0 !important;
    padding: 20px 0 0 !important;
    height: 120px !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
}


.name{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin-top: 20px;
}

.hamburger {
    display: none;
}

@media (max-width: 1024px) {
.hamburger {
        flex-shrink: 0;
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 10001;
        margin-left: auto;
        position: relative;
    }
    
    .hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        background: white;
        margin: 5px 0;
        transition: 0.3s;
        border-radius: 3px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .name {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 8px 5px 8px;
        margin: 0;
        width: 100%;
        gap: 0;
    }
    
    .navtitle {
        flex: 1;
        justify-content: flex-start;
        padding: 0 8px 0 0;
        flex-wrap: nowrap;
    }
    
.navlist {
        position: absolute !important;
        top: 120px !important;
        left: 0 !important;
        width: 100% !important;
        background: rgba(0, 0, 0, 0.98) !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 20px 10px !important;
        margin: 0 !important;
        display: none !important;
        z-index: 10000 !important;
        transform: translateY(-10px) !important;
        opacity: 0 !important;
        transition: all 0.3s ease !important;
        box-sizing: border-box !important;
    }

    .navlist li {
        padding: 0 15px;
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
.navlist.active {
        display: flex !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
    
    .navlist img {
        display: none;
    }
    
    .dropdown-menu {
        display: none !important;
    }
}
.navtitle{
    display: flex;
    flex-direction: row;
    align-items: center;
}
    .navtitle .navstar{
    height: 40px;
    margin-left: 10px;
    flex-shrink: 1;
}
.navlist{
    display: flex;
    flex-direction: row;
    gap: 15px;
    font-family: Special Gothic Expanded One;
    color: white;
    text-align: center;
    font-size: 30px;
}
.navstar1{
    height: 20px;
    align-self: center;
    transform: rotate(45deg);
}
.navstar2{
    height: 20px;
    align-self: center;
}
.navstar3{
    height: 20px;
    align-self: center;
    transform: rotate(-45deg);
}
a{
    text-align: center;
    display: inline-block;
    color: white;
    text-decoration: none;
    transition: .25s;
}
a:hover{
    transform: scale(1.1);
}
h1{
    font-family: titan one;
    color: white;
    text-align: center;
    font-size: 50px;
}
.intro{
    margin-top: 80px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.introText{
    font-family: titan one;
    color: white;
    text-align: left;
    font-size: 80px;
}
.rotating-text{
    margin-left: 10px;
    color: #ffffff;
    font-family: 'Special Gothic Expanded One';
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
    position: absolute;
}
.rotating-text-1{
    opacity: 1;
}
.rotating-text-2{
    opacity: 0;
}
.introTitle{
    margin-top: 100px;
}
.meimage{
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 500px;
    box-sizing: border-box;
    background-image: url(images/meimg.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
    min-width: 300px;
    max-width: 90vw;
    min-height: 375px;
}
.meimage2{
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 500px;
    box-sizing: border-box;
    background-image: url(images/meimage3.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
    min-width: 300px;
    max-width: 90vw;
    min-height: 375px;
}
.workimage1{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/amwebsite.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.workimage2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/chorecloud.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.workimage3{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/socal\ media\ ad\ B.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.workimage5{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/star.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.webimage1{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/amwebsite.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.webimage2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/brcweb.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.webimage3{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/galaxyweb.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.promockimage1{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/VITALISIZING.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.promockimage2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/boxmodel.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.adimage1{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/socal\ media\ ad\ A.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.adimage2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/socal\ media\ ad\ B.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.adimage3{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/socal\ media\ ad\ C.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.timage1{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/tshirtdesign.final.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.timage2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/tshirtdesign_Design1.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.timage3{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/tshirtdesign_Design3Art.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.posimage1{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/The\ Neighbourhood\ \(1\).png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.posimage2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/amposa.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.posimage3{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/amposb.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.mockimage1{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/dahill.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.mockimage2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/yum.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.miscimage1{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/abby.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.miscimage2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/tre4e.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.logogimage1{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/VitalisLogoFull.png);
    background-size: 250px;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.logogimage2{
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/cclogo.png );
    background-size: fill;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.logogimage3{
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/logonocircle.svg);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.phoimage1{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(photography/starbeam.jpg);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.phoimage2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(photography/sleby.png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.meNStar{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.introstar{
    height: 80px;
    margin-left: 20px;
}
.meimgandstars{
    position: relative;
    display: inline-block;
    height: 500px;
    width: 400px;
}
.workandstars{
    position: relative;
    display: inline-block;
    height: 400px;
    width: 600px;
}
.workandstars2{
    position: relative;
    display: inline-block;
    height: 400px;
    width: 200px;
}
.workandstars3{
    position: relative;
    display: inline-block;
    height: 400px;
    width: 400px;
}
.workandstars4{
    position: relative;
    display: inline-block;
    height: 400px;
    width: 200px;
}
.workandstars5{
    position: relative;
    display: inline-block;
    height: 600px;
    width: 400px;
}
.workandstars6{
    position: relative;
    display: inline-block;
    height: 400px;
    width: 400px;
}
.mestar1{
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    translate: -50% -50%;
    transform: rotate(90deg);
}
.mestar2{
    height: 60px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 15;
    translate: 50% 50%;
    transform: rotate(45deg);
}
.mestar3{
    height: 50px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 15;
    translate: 50% -50%;
    transform: rotate(45deg);
}
.mestar4{
    height: 60px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 15;
    translate: -50% 50%;
    transform: rotate(45deg);
}
.mestar12{
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    translate: -50% -50%;
    transform: rotate(-15deg);
}
.designerey{
    font-family: Special Gothic Expanded One;
    color: white;
    font-size: 40px;
    margin-top: 20px;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.1;
}
.desc{
    font-family: Shippori Antique B1;
    color: white;
    font-size: 30px;
    margin-top: 20px;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.1;
}

.mobile-rotator-container {
    position: relative;
    display: inline-block;
    height: 1.2em;
    line-height: 1.2;
    vertical-align: baseline;
}
.gradunder{
    margin-top: 60px;
}
.navgrad{
    position: fixed;
    z-index: 99;
    top: 200px;
}
.about{
    margin-top: 90px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-left: 67px;
    margin-right: 67px;
}
.projin{
    width: 100%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.projText{
    font-size: 90px;
}
.projstar{
    height: 100px;
}
.websites{
    margin-top: 100px;
    width: 90%;
    display: flex;
    justify-self: center;
    flex-direction: column;
}
.firsttwo{
    margin-top: 50px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.firstthree{
    display: flex;
    align-self: center;
}
.secondthree{
    display: flex;
    justify-content: space-between;
}
.secondfour{
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.meNStarabt{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.meNStarabt2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.meNStarproj{
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
p{
    font-family: Shippori Antique B1;
    color: white;
    font-size: 20px;
    line-height: 30px;
}
.aboutMeText{
    margin-top: 40px;
    font-size: 25px;
    font-family: Special Gothic Expanded One ;
}
.aboutMeTextbr{
    margin-top: 10px;
}
.yap{
    width: 875px;
}
.aboutTitle{
    margin-top: -40px;
}
.workHome{
    margin-top: 90px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 67px;
    margin-right: 67px;
}
.workThree{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 40px;
    width: 100%;
    gap: 10px;
}
.workThree2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    width: 100%;
    gap: 0px;
}
.work-item{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.worktitle1{
    font-family: Special Gothic Expanded One;
    color: white;
    font-size: 25px;
    padding: 10px;
    background-color: black;
    border: 10px solid white;
    border-radius: 20px;
    translate: 0 -30px;
}
.overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 20px;
  font-weight: bold;

  background: rgba(0, 0, 0, 0.55);
  opacity: 0;

  transition: opacity 0.4s ease;
}
.work-item:hover .image {
  filter: grayscale(100%) brightness(0.5);
}
.work-item:hover .overlay {
  opacity: 1;
}
.overlayh1{
    font-family: Special Gothic Expanded One;
    color: white;
    font-size: 35px;
    padding: 10px;
}
.resumeandstars{
    position: relative;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: 340px;
    height: 440px;
}
.resumeThree{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}
.resumeimage{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: url(images/Curtis\ Resume\ -\ Updated\ \(B&W\).png);
    background-size: cover;
    background-position: center;
    margin: 0;
    border: 10px solid white;
    border-radius: 20px;
}
.instruction{
    font-family: Special Gothic Expanded One;
    color: white;
    font-size: 40px;
    margin-top: 20px;
    position: relative;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.modal-content {
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  max-width: 900px;
  width: calc(100% - 40px);
  z-index: 100;
  position: relative;
  border-radius: 20px;
}

.close {
  position: absolute;
  top: -5px;
  right: -5px;
  color: #ffffff;
  font-size: clamp(24px, 6vw, 36px);
  font-weight: bold;
  z-index: 102;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: none;
  transition: all 0.3s ease;
  line-height: 1;
  user-select: none;
}

.close:hover,
.close:focus {
  color: white;
  transform: scale(1.2);
  text-decoration: none;
}
.modalimg{
    width: 100%;
    max-width: 900px;
    height: auto;
}
.marquee {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  margin-top: 40px;
  margin-bottom: 80px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 10s linear infinite;
}
.item {
  padding: 0 40px;
  font-size: 20px;
  white-space: nowrap;
  width: 100px;
  height: 175px;
  margin-left: 10px;
  margin-right: 10px;
}
.item1 {
  padding: 0 40px;
  font-size: 20px;
  white-space: nowrap;
  width: 300px;
  height: 175px;
  margin-left: 10px;
  margin-right: 10px;
}

.viewres{
    display: none;
}
.designereym{
    display: none;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.marquee-track:hover {
  animation-play-state: paused;
}
#cert1{
    background-image: url(images/osha.jpg);
    background-size: cover;
    background-position: center;
}
#cert2{
    background-image: url(images/word.png);
    background-size: cover;
    background-position: center;
}
#cert3{
    background-image: url(images/powerpoint.png);
    background-size: cover;
    background-position: center;
}
#cert4{
    background-image: url(images/htmlcss.png);
    background-size: cover;
    background-position: center;
}
#cert5{
    background-image: url(images/illustrator.png);
    background-size: cover;
    background-position: center;
}
#cert6{
    background-image: url(images/visualdesign.png);
    background-size: cover;
    background-position: center;
}
#cert7{
    background-image: url(images/photoshop.png);
    background-size: cover;
    background-position: center;
}
#cert8{
    background-image: url(images/excel.png);
    background-size: cover;
    background-position: center;
}
#cert9{
    background-image: url(images/microofficespecialist.png);
    background-size: cover;
    background-position: center;
}
.certmodalcontent1 {
  padding: 20px;
  width: 1000px;
  max-height: 80vh;
  z-index: 100;
  background-color: black;
  border: 10px solid white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow-y: auto;
}
.certmodalcontent12 {
  padding: 20px;
  width: 1000px;
  height: 600px;
  z-index: 100;
  background-color: black;
  border: 10px solid white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.close{
    display: flex;
}
.certimage2{
    width: 200px;
    height: 200px;
    background-image: url(images/word.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    margin-right: 0px;
}
.certtext{
    width: 600px;
}
.certiftext{
    text-align: left;
}
.certiflink{
    text-align: left;
    text-decoration: underline;
    font-size: 25px;
}
.certiftitle{
    text-align: left;
    font-size: 40px;
}
.certmodal2{
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-direction: row;
}
.certimage3{
    width: 200px;
    height: 200px;
    background-image: url(images/powerpoint.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    margin-right: 0px;
}
.certmodal3{
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-direction: row;
}
.certimage8{
    width: 200px;
    height: 200px;
    background-image: url(images/excel.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    margin-right: 0px;
}
.certmodal8{
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-direction: row;
}
.certimage9{
    width: 200px;
    height: 200px;
    background-image: url(images/microofficespecialist.png  );
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    margin-right: 0px;
}
.certmodal9{
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-direction: row;
}
.certimage4{
    width: 200px;
    height: 200px;
    background-image: url(images/htmlcss.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    margin-right: 0px;
}
.certmodal4{
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-direction: row;
}
.certimage5{
    width: 200px;
    height: 200px;
    background-image: url(images/illustrator.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    margin-right: 0px;
}
.certmodal5{
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-direction: row;
}
.certimage6{
    width: 200px;
    height: 200px;
    background-image: url(images/visualdesign.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    margin-right: 0px;
}
.certmodal6{
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-direction: row;
}
.certimage7{
    width: 200px;
    height: 200px;
    background-image: url(images/photoshop.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    margin-right: 0px;
}
.certmodal7{
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-direction: row;
}
h3{
    animation: pules 4s infinite;
    font-family: shippori antique B1;
    font-size: 20px;
    margin-top: 20px;
}
@keyframes pules {
    0%{ color:black;}
    50%{ color: white;}
    100%{ color: black;}
}
.projecttext{
    text-align: center;
}
.projecttexts{
    text-align: center;
    margin-bottom: 30px;
}
.projecttext2{
    text-align: left;
}
.projmodalcontent1 {
  padding: 20px;
  width: 1000px;
  max-height: 80vh;
  z-index: 100;
  background-color: black;
  border: 10px solid white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow-y: auto;
}
.projectmodal1{
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-direction: column;
    height: 100%;
}
.projectmodal2{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    align-self: center;
    justify-self: center;
    position: relative;
}
.projectmodal15{
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-direction: column;
    height: 100%;
    margin-top: 100px;
}

.projectmodal1 a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.projectimage{
    width: 600px;
    height: 350px;
    background-image: url(images/amwebsite.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage2{
    width: 600px;
    height: 350px;
    background-image: url(images/brcweb.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage3{
    width: 600px;
    height: 350px;
    background-image: url(images/galaxyweb.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage4{
    width: 220px;
    height: 500px;
    background-image: url(images/chorecloud.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    align-items: center;
}
.projectimage5{
    width: 600px;
    height: 350px;
    background-image: url(images/dahill.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage6{
    width: 220px;
    height: 500px;
    background-image: url(images/yum.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    align-items: center;
}
.projectimage7{
    width: 200px;
    height: 300px;
    background-image: url(images/VitalisLogoFull.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    align-items: center;
}
.projectimage8{
    width: 300px;
    height: 300px;
    background-color: #ffffff;
    border-radius: 15px;
    background-image: url(images/cclogo.png);
    background-size: fill;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    align-items: center;
}
.projectimage9{
    width: 300px;
    height: 300px;
    background-color: #ffffff;
    border-radius: 15px;
    background-image: url(images/logonocircle.svg);
    background-size: fill;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    align-items: center;
}
.projectimage10{
    width: 1000px;
    height: 400px;
    background-image: url(images/The\ Neighbourhood\ \(1\).png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    align-items: center;
}
.projectimage11{
    width: 600px;
    height: 400px;
    background-image: url(images/amposa.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    align-items: center;
}
.projectimage12{
    width: 600px;
    height: 400px;
    background-image: url(images/amposb.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
    align-items: center;
}
.projectimage13{
    width: 600px;
    height: 350px;
    display: flex;
    align-self: center;
}
.projectimage14{
    width: 350px;
    height: 350px;
    background-image: url(images/socal\ media\ ad\ A.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage15{
    width: 350px;
    height: 350px;
    background-image: url(images/socal\ media\ ad\ B.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage16{
    width: 350px;
    height: 350px;
    background-image: url(images/socal\ media\ ad\ C.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage17{
    width: 250px;
    height: 350px;
    background-image: url(images/tshirtdesign.final.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage18{
    width: 250px;
    height: 350px;
    background-image: url(images/tshirtdesign_Design1.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage19{
    width: 250px;
    height: 350px;
    background-image: url(images/tshirtdesign_Design3Art.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage20{
    width: 500px;
    height: 350px;
    background-image: url(photography/starbeam.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage21{
    width: 500px;
    height: 350px;
    background-image: url(photography/pondwindow.jpg);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
}
.projectimage22{
    width: 500px;
    height: 350px;
    background-image: url(photography/whimseyforest.jpg);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
}
.projectimage23{
    width: 500px;
    height: 350px;
    background-image: url(photography/fog.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage24{
    width: 500px;
    height: 350px;
    background-image: url(photography/milkyway.jpg);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
}
.projectimage25{
    width: 500px;
    height: 350px;
    background-image: url(photography/sleby.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage26{
    width: 500px;
    height: 350px;
    background-image: url(photography/miranna.JPG);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage27{
    width: 500px;
    height: 350px;
    background-image: url(photography/kit1.JPG);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage28{
    width: 500px;
    height: 350px;
    background-image: url(photography/swing.png);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
}
.projectimage29{
    width: 500px;
    height: 350px;
    background-image: url(photography/stomp.JPG);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
}
.projectimage30{
    width: 500px;
    height: 350px;
    background-image: url(energy/WebsiteMockup/Website\ Mockup\ Final.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage31{
    width: 500px;
    height: 350px;
    background-image: url(energy/CanDesignFinal/forbiddenfruit.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage32{
    width: 500px;
    height: 350px;
    background-image: url(energy/CanDesignFinal/serpentsin.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage33{
    width: 500px;
    height: 350px;
    background-image: url(energy/CanDesignFinal/eyeofthecreator.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage34{
    width: 500px;
    height: 350px;
    background-image: url(energy/3dModels/Renders/CanModelFlavors.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage35{
    width: 500px;
    height: 350px;
    background-image: url(CerealBox/CerealBox/boxmodel.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage36{
    width: 500px;
    height: 350px;
    background-image: url(CerealBox/CerealBox/CerealBoxChromaCrunch-01.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-self: center;
}
.projectimage37{
    width: 500px;
    height: 350px;
    background-image: url(CerealBox/Mascot/bytecorrected-01.png);
    background-size: 55%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
}
.projectimage38{
    width: 500px;
    height: 350px;
    background-image: url(CerealBox/Mascot/bytewavecorrected-01.png);
    background-size: 55%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
}
.projectimage39{
    width: 500px;
    height: 350px;
    background-image: url(CerealBox/Mascot/bytespoonhappy-01.png);
    background-size: 55%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage40{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/Scoliotic\ Spine-1.png.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage41{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/The\ Nervous\ System-1.png.png);
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage42{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/NeuroTransmitter.gif);
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage43{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/Industrial\ Lenses.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage44{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/mechanicalscale-1.png.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage45{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/smelly\ blade.gif);
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage46{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/smelly\ dagger-1.png.png);
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage47{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/Splintered\ Oar-1.png.png);
    background-size: 95%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage48{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/Vial\ of\ Spit-1.png.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage49{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/Dragon\ Tooth-1.png.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage50{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/The\ Mages\ Encyclopedia-1.png.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage51{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/Snotty\ Scorched\ Encyclopedia.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage52{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/Gooey\ Textbook.gif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage53{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/Unruly\ Jello-1.png.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage54{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/ball\ of\ flesh-1.png.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.projectimage55{
    width: 350px;
    height: 350px;
    background-image: url(ExpertCombinations/expertcombobig/terratoma-1.png.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-self: center;
    margin-top: 20px;
}
.modalselector{
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 10;
    align-self: center;
}
.selections{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.selectionsa{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}
.select{
    width: 40px;
    height: 40px;
    border: white 2px solid;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.select2{
    width: 30px;
    height: 30px;
    border: white 2px solid;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.projectmodal14{
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-direction: column;
    height: 100%;
}
.selector:hover {
    transform: scale(1.1);
}
#tsa{
    background-image: url(images/tshirtdesign_Design4-24.png);
    background-size: cover;
    background-position: center;
}
#tsb{
    background-image: url(images/tshirtdesign_Design1.png);
    background-size: cover;
    background-position: center;
}
#tsc{
    background-image: url(images/tshirtdesign_Design3Art.png);
    background-size: cover;
    background-position: center;
}
#vada{
    background-image: url(images/socal\ media\ ad\ A.png);
    background-size: cover;
    background-position: center;
}
#vadb{
    background-image: url(images/socal\ media\ ad\ B.png);
    background-size: cover;
    background-position: center;
}
#vadc{
    background-image: url(images/socal\ media\ ad\ C.png);
    background-size: cover;
    background-position: center;
}
#starry{
    background-image: url(photography/starbeam.jpg);
    background-size: cover;
    background-position: center;
}
#window{
    background-image: url(photography/pondwindow.jpg);
    background-size: cover;
    background-position: center;
}
#whimsey{
    background-image: url(photography/whimseyforest.jpg);
    background-size: cover;
    background-position: center;
}
#fog{
    background-image: url(photography/fog.jpg);
    background-size: cover;
    background-position: center;
}
#beach{
    background-image: url(photography/beach.jpg);
    background-size: cover;
    background-position: center;
}
#milky{
    background-image: url(photography/milkyway.jpg);
    background-size: cover;
    background-position: center;
}
#blur{
    background-image: url(photography/blurry.jpg);
    background-size: cover;
    background-position: center;
}
#shel{
    background-image: url(photography/sleby.png);
    background-size: cover;
    background-position: center;
}
#mir{
    background-image: url(photography/miranna.JPG);
    background-size: cover;
    background-position: center;
}
#kit{
    background-image: url(photography/kit1.JPG);
    background-size: cover;
    background-position: center;
}
#aud{
    background-image: url(photography/swing.png);
    background-size: cover;
    background-position: center;
}
#stom{
    background-image: url(photography/stomp.JPG);
    background-size: cover;
    background-position: center;
}
#webc{
    background-image: url(energy/WebsiteMockup/Website\ Mockup\ Final.png);
    background-size: cover;
    background-position: center;
}
#cana{
    background-image: url(energy/CanDesignFinal/forbiddenfruit.png);
    background-size: cover;
    background-position: center;
}
#canb{
    background-image: url(energy/CanDesignFinal/serpentsin.png);
    background-size: cover;
    background-position: center;
}
#canc{
    background-image: url(energy/CanDesignFinal/eyeofthecreator.png);
    background-size: cover;
    background-position: center;
}
#can3d{
    background-image: url(energy/3dModels/Renders/CanModelFlavors.png);
    background-size: cover;
    background-position: center;
}
#boxmod{
    background-image: url(CerealBox/CerealBox/boxmodel.png);
    background-size: cover;
    background-position: center;
}
#boxlay{
    background-image: url(CerealBox/CerealBox/CerealBoxChromaCrunch-01.png);
    background-size: cover;
    background-position: center;
}
#bytea{
    background-image: url(CerealBox/Mascot/bytecorrected-01.png);
    background-size: cover;
    background-position: center;
}
#byteb{
    background-image: url(CerealBox/Mascot/bytewavecorrected-01.png);
    background-size: cover;
    background-position: center;
}
#bytec{
    background-image: url(CerealBox/Mascot/bytespoonhappy-01.png);
    background-size: cover;
    background-position: center;
}
#sco{
    background-image: url(ExpertCombinations/expertcombobig/Scoliotic\ Spine-1.png.png);
    background-size: cover;
    background-position: center;
}
#ner{
    background-image: url(ExpertCombinations/expertcombobig/The\ Nervous\ System-1.png.png);
    background-size: cover;
    background-position: center;
}
#ind{
    background-image: url(ExpertCombinations/expertcombobig/Industrial\ Lenses-1.png.png);
    background-size: cover;
    background-position: center;
}
#mec{
    background-image: url(ExpertCombinations/expertcombobig/mechanicalscale-1.png.png);
    background-size: cover;
    background-position: center;
}
#neu{
    background-image: url(ExpertCombinations/expertcombobig/NeuroTransmitter-13.png.png);
    background-size: cover;
    background-position: center;
}
#unr{
    background-image: url(ExpertCombinations/expertcombobig/Unruly\ Jello-1.png.png);
    background-size: cover;
    background-position: center;
}
#st{
    background-image: url(ExpertCombinations/expertcombobig/smelly\ blade-1.png.png);
    background-size: cover;
    background-position: center;
}
#sd{
    background-image: url(ExpertCombinations/expertcombobig/smelly\ dagger-1.png.png);
    background-size: cover;
    background-position: center;
}
#so{
    background-image: url(ExpertCombinations/expertcombobig/Splintered\ Oar-1.png.png);
    background-size: cover;
    background-position: center;
}
#via{
    background-image: url(ExpertCombinations/expertcombobig/Vial\ of\ Spit-1.png.png);
    background-size: cover;
    background-position: center;
}
#dra{
    background-image: url(ExpertCombinations/expertcombobig/Dragon\ Tooth-1.png.png);
    background-size: cover;
    background-position: center;
}
#enc{
    background-image: url(ExpertCombinations/expertcombobig/The\ Mages\ Encyclopedia-1.png.png);
    background-size: cover;
    background-position: center;
}
#goo{
    background-image: url(ExpertCombinations/expertcombobig/Gooey\ Textbook-1.png.png);
    background-size: cover;
    background-position: center;
}
#sse{
    background-image: url(ExpertCombinations/expertcombobig/Snotty\ Scorched\ Encyclopedia-1.png.png);
    background-size: cover;
    background-position: center;
}
#unr{
    background-image: url(ExpertCombinations/expertcombobig/Unruly\ Jello-1.png.png);
    background-size: cover;
    background-position: center;
}
#bof{
    background-image: url(ExpertCombinations/expertcombobig/ball\ of\ flesh-1.png.png);
    background-size: cover;
    background-position: center;
}
#ter{
    background-image: url(ExpertCombinations/expertcombobig/terratoma-1.png.png);
    background-size: cover;
    background-position: center;
}
.footer{
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
}

@media (max-width: 1024px) and (min-width: 769px) {
    /* Tablet adjustments */
    body {
        padding: 20px;
    }
    .about, .workHome {
        margin-left: 30px;
        margin-right: 30px;
        flex-direction: column;
        gap: 15px;
    }
    .introText {
        font-size: 50px;
    }
    h1 {
        font-size: 35px;
    }
    .designerey {
        font-size: 28px;
    }
    .yap {
        width: 70%;
    }
    .workThree {
        flex-direction: column;
        gap: 20px;
    }
    body{
        overflow-x: hidden;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px;
        padding-top: 120px;
        overflow-x: hidden;
    }
    
    /* Mobile layout adjustments (merged from previous rules) */
    .intro {
        flex-direction: column;
        margin-top: 20px;
        gap: 15px;
        text-align: center;
    }
    
    .introText {
        font-size: 35px;
        margin-top: 20px;
    }

    /* Mobile projects: single column, scaled divs */
    .projin {
        height: auto;
        padding: 20px 0;
    }
    
    .projText {
        font-size: 45px !important;
    }
    
    .websites {
        width: 95vw;
        margin: 0 auto;
    }
    
    .aboutTitle {
        margin-top: 20px;
    }
    
    .firsttwo,
    .firstthree,
    .secondfour {
        flex-direction: column !important;
        align-items: center;
        gap: 25px;
        margin-top: 20px;
    }
    
    .workandstars,
    .workandstars2,
    .workandstars3,
    .workandstars4,
    .workandstars5,
    .workandstars6 {
        height: 45vh !important;
        width: 90vw !important;
        max-height: 400px;
    }
    
    .worktitle1 {
        font-size: 20px !important;
        padding: 15px !important;
        translate: 0 -20px !important;
    }
    
    .work-item img {
        max-height: 100%;
        width: auto;
    }
    
    .desc {
        font-size: 24px !important;
    }
    
    h3 {
        font-size: 18px;
    }
    
    /* Modal adjustments for mobile */
    .projmodalcontent1,
    .certmodalcontent1 {
        width: 95vw !important;
        max-height: 85vh !important;
        padding: 15px !important;
    }
    
    .projectmodal1,
    .projectmodal2,
    .projectmodal14,
    .projectmodal15 {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .projectimage,
    .projectimage2,
    .projectimage3,
    .projectimage4,
    .projectimage5,
    .projectimage6,
    .projectimage7,
    .projectimage8,
    .projectimage9,
    .projectimage10,
    .projectimage11,
    .projectimage12,
    .projectimage13,
    .projectimage14,
    .projectimage15,
    .projectimage16,
    .projectimage17,
    .projectimage18,
    .projectimage19,
    .projectimage20,
    .projectimage21,
    .projectimage22,
    .projectimage23,
    .projectimage24,
    .projectimage25,
    .projectimage26,
    .projectimage27,
    .projectimage28,
    .projectimage29,
    .projectimage30,
    .projectimage31,
    
    .modalselector {
        flex-direction: column !important;
        align-items: center;
    }
    
    .selections,
    .selectionsa {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .select,
    .select2 {
        width: 50px !important;
        height: 50px !important;
    }

    /* ... rest of existing mobile styles remain unchanged ... */
}

@media (max-width: 480px) {
    .introText {
        font-size: 35px;
    }
    
    h1 {
        font-size: 30px;
    }
    
    .designerey {
        font-size: 18px !important;
        line-height: 1.2 !important;
    }
    
    .meimgandstars {
        height: 350px;
        width: 100%;
    }
    
    .aboutMeText {
        font-size: 20px;
    }
    
    .worktitle1 {
        font-size: 20px;
    }
    
    .overlayh1 {
        font-size: 25px;
    }
    
    body {
        padding: 20px;
        font-size: 16px;
        overflow-x: hidden;
    }
    
    .intro {
        margin-top: 60px;
    }
    
    .navlist {
        font-size: 24px;
        position: absolute;
        top: 80px;
    }

    .item{
    padding: 0 40px;
    font-size: 20px;
    white-space: nowrap;
    width: 20px;
    height: 100px;
    margin-left: 10px;
    margin-right: 10px;
    }
    .item1{
    padding: 0 40px;
    font-size: 20px;
    white-space: nowrap;
    width: 200px;
    height: 100px;
    margin-left: 10px;
    margin-right: 10px;
    }
    .workThree{
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .viewall {
        display: flex;
        align-self: center;
        justify-content: center;
        text-align: center;
    }
    .viewres{
        display: block;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 10px;
    }
    .meimgandstars{
        margin-top: 20px;
    }
    .meNStarabt2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    /* Extra small screen optimizations */
    .modal-content,
    .certmodalcontent1 {
        max-width: 98vw  ;
        padding: 3vw  ;
    }

    .certimage2,
    .certimage3,
    .certimage4,
    .certimage5,
    .certimage6,
    .certimage7,
    .certimage8,
    .certimage9 {
        width: min(50vw, 150px)  ;
    }

    .certtext {
        width: 100%  ;
        padding: 0 10px;
    }
    #imgase {
        display: block !important;
    }
    .designerey {
        display: block !important;
    }
    .designereym {
        display: none !important;
    }
}

.dropdown {
  position: relative;
  z-index: 1000;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% - 5px);
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent 0%, transparent 7px, black 7px);
  min-width: 300px;
  flex-direction: column;
  gap: 0;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateX(-50%) translateY(-10px);
  list-style: none;
  padding: 10px;
  margin: 0;
}

.dropdown:hover .dropdown-menu,
.dropdown .dropdown-menu:hover {
  display: flex;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  font-size: 24px;
  padding: 12px 20px;
  white-space: nowrap;
  display: block;
  font-family: 'Special Gothic Expanded One';
}

.dropdown-menu a:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,0.1);
}

/* Hide dropdown on mobile */
@media (max-width: 1024px) {
  .dropdown-menu {
    display: none !important;
  }
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  body.menu-open {
    overflow: hidden;
  }
}
