body, html {
    padding: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    cursor: url(''),auto;
    height: 100%;


}

:root {
    --primary-color: #FFFEF5;
    --secondary-color: #2D2D2D;
    --third-color: #F7DAE1;
    --fourth-color: #235A57;
}

/* header nav */
header nav.mobile {
    display: block;
    text-align: right;    


}
header nav.mobile .active {
    background-color: transparent;
}

header nav.mobile .hamburger {
    display: inline-block;
    cursor: pointer;
    z-index: 110;

}

header nav.mobile .hamburger.active {
    display: inline-block;
    cursor: pointer;
    z-index: 110;
    position: relative;
}

header nav.mobile .hamburger.active span:nth-child(1) {
    display: none;
}

header nav.mobile .hamburger.active span:nth-child(2) {
    transform: rotate(180deg) ;
}

header nav.mobile .hamburger.active span:nth-child(3) {
    display: none;
}

header nav.mobile .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    border-radius: 2.5px;
    transition: 1s;
}
header nav.mobile .hamburger.active span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px 0;
    border-radius: 2.5px;
}



header nav.mobile ul {
    display: none;
    list-style-type: none;
    line-height: 2rem;

    
    
}




header nav.mobile ul.show {
    display: block;
    position: absolute;
    background: var(--fourth-color);
    box-sizing: border-box;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 385vh;
    border-radius: 10px;
    text-align: center;
    padding-top: 20vh; 
    margin: 0;
    z-index: 100;
    animation: mymove 1s forwards;
    width: 100%; 
    padding-left: 0; 
    padding-right: 0; 
    }
    



@keyframes mymove {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0%);
    }
    
}

header nav.mobile ul.show li {

display: grid;
grid-template-rows: 1fr 1fr 1fr;
text-align: center;
font-size: 18px;
font-family: alata;

}   

header nav.mobile ul.show li a {
    text-decoration: none;
    color: var(--primary-color);

}

    /* top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #f7f2e3ce;
    display: flex
;
    flex-direction: column;
} */



header nav.desktop {
    display: none;
}




/* main section */
.section1 {
    background-color: var(--third-color);
    border-top-right-radius:10px;
    border-top-left-radius: 10px;
    padding: 20px;
    margin: 10px;
    padding-bottom: 500px;
    position: relative;
    
}


 /* scalloped borders */
.section1::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%; 
    height: 20px; 
    background: radial-gradient(circle at top, var(--third-color) 50%, transparent 50%) 0 / 37px 40px repeat-x;
    z-index: 1;
}

.part2 {
    color: var(--third-color);
}

.cylinder {
    display: block;
    margin: 0 auto;
    margin-top: 30px;
    margin-left: 100px;
    width: 250px;
    height: 150px;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    background-color: var(--primary-color);
    box-shadow: 2px 9px 8px -8px darkgray;  

}
#box,
#c {
  height: 120px;  /* Circle height */
  width: 120px;   /* Circle width */
  position: relative;
  color: var(--secondary-color);
}

#c {
  border-radius: 50%; /* Circle shape */
  position: absolute;
  margin-left: 12px;
  margin-top: 12px;
  clip: rect(-10px, 140px, 140px, -10px); /* Expanded clip size to ensure visibility */
  transform: rotate(-35deg); /* Rotate slightly left */
}

#text {
  position: absolute;
  top: 50%; /* Start positioning from the middle of the circle */
  left: 50%;
  transform: translate(-50%, -50%); /* Centers the text perfectly */
  font-size: 9px;  /* Slightly smaller text size for better fit */
  white-space: nowrap; /* Prevents text from wrapping */
}

#text span {
  position: absolute;
  font-size: 8px;  /* Adjusted text size */
  left: 50%;
  transform-origin: center;
  top: 0;
}

/* Adjusted translateY() to move letters further out */
#t1 {
  transform: rotate(-180deg) translateY(-65px); /* First letter at -180deg */
}
#t2 {
  transform: rotate(-164deg) translateY(-65px); 
}
#t3 {
  transform: rotate(-148deg) translateY(-65px); 
}
#t4 {
  transform: rotate(-132deg) translateY(-65px); 
}
#t5 {
  transform: rotate(-116deg) translateY(-65px); 
}
#t6 {
  transform: rotate(-100deg) translateY(-65px); 
}
#t7 {
  transform: rotate(-84deg) translateY(-65px); 
}
#t8 {
  transform: rotate(-68deg) translateY(-65px); 
}
#t9 {
  transform: rotate(-52deg) translateY(-65px); 
}
#t10 {
  transform: rotate(-36deg) translateY(-65px); 
}
#t11 {
  transform: rotate(-20deg) translateY(-65px); 
}
#t12 {
  transform: rotate(-4deg) translateY(-65px); 
}
#t13 {
  transform: rotate(12deg) translateY(-65px); 
}
#t14 {
  transform: rotate(28deg) translateY(-65px); 
}
#t15 {
  transform: rotate(44deg) translateY(-65px); 
}
#t16 {
  transform: rotate(60deg) translateY(-65px); 
}
#t17 {
  transform: rotate(76deg) translateY(-65px); 
}


.circleheader {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 0px; 
    margin-top: -75px; 
    justify-content: center;
    align-items: center; 
}

.circle {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%; 
    box-shadow: 2px 2px 5px darkgrey; 
}


#headerimg {
    width: auto;
    height: 60px;
    border-radius: 50%;
    margin-left: 140px;
    margin-top: 30px;
}

.headerimgmain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    margin-top: -75px;
    justify-content: center;
    align-items: center;
}


.spacer1 {
    height: 15px;

}



/* about me */
.section2 {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr 2fr 2fr 1fr;
    padding: 20px;
    background-color: var(--fourth-color);
    margin: 10px;
    position: relative;
}

h2 {
    text-align: left;
    grid-column: 2/3;
    font-family: "Averia Serif Libre", serif;
    color: var(--primary-color);
}

h2 .part1 {
    font-size: 30px;
    font-family: "Averia Serif Libre", serif;

}

h2 .part2 {
    font-size: 46px;
    font-family: "Averia Serif Libre", serif;

}

.section2::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: radial-gradient(circle at bottom, var(--fourth-color) 50%, transparent 50%) 0 / 37px 40px repeat space;
    z-index: 1;
}

.section2::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: radial-gradient(circle at top, var(--fourth-color) 50%, transparent 50%) 0 / 37px 40px repeat-x;
    z-index: 1;
}

.masteraboutme {
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 20px;
    position: relative;
    grid-column: 2/3; /* Place in the middle column */
    grid-row: 2/3; /* Occupy only the second row */
}


#imgstamps {
    width: 40vh;
    max-width: 400px;
    height: auto;
    z-index: 1; /* Ensure it's behind #imgprofile */
    justify-self: center; /* Center horizontally */
    align-self: center; /* Center vertically */
    margin-left: -12px;
}


#imgprofile {
    width: 160px; /* Adjust width */
    border-radius: 5px;
    height: auto;
    position: absolute; /* Position relative to .masteraboutme */
    top: 50%; /* Center vertically within .masteraboutme */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Perfectly overlap center */
    z-index: 2; /* Layer above imgstamps */
    margin-left: -6px;
}



#biography {
    padding-top: 25px;
    text-align: left;
    grid-column: 2/3; /* Place in the second row */
    grid-row: 3/4;
    font-family: alata;
    color: var(--primary-color);
}

.downloadbutton {
    margin: 0; /* Reset margin */
    border-radius: 15px;
    background-color: var(--third-color);
    height: 50px;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 2/3; /* Place in the middle column */
    grid-row: 4/4; /* Place in the fourth row */
    justify-self: start; /* Align the button to the left */
    align-self: start; /* Optionally align to the top within the grid row */
}


.downloadbutton a {
    text-decoration: none;
    color: var(--secondary-color); /* Ensure visibility */
    font-size: 16px;
    font-weight: bold;
    font-family: alata;

}

.downloadbutton li {
    list-style-type: none;
}

.downloadbutton {
    border: none;

}

.downloadbutton ul {
    padding: 0;
}



.spacer2 {
    height: 15px;
}

/* selected work */
.section3 {
    display: block;
    padding: 20px;
    background-color: var(--third-color);
    margin: 10px;
    position: relative;
    padding-bottom: 40px;

}

.section3::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%; 
    height: 20px; 
    background: radial-gradient(circle at bottom, var(--third-color) 50%, transparent 50%) 0 / 37px 40px repeat space;
    z-index: 1;
}

/* Scalloped border for the bottom */
.section3::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%; 
    height: 20px; 
    background: radial-gradient(circle at top, var(--third-color) 50%, transparent 50%) 0 / 37px 40px repeat-x;
    z-index: 1;
}


#continuetext {
    padding: 25px;
    margin-top: 5px;
    text-align: center;
    overflow: hidden; 
    position: relative;
  }
  
  #continuetext ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    animation: moveWords 90s linear infinite;
    width: max-content; 
  }

 .c1 {
   color: var(--primary-color);
   font-size: 22px;
   font-family: "Averia Serif Libre", serif;;
  }

  .c2 {
    color: var(--secondary-color);
    font-size: 22px;
    font-family: "Alata", sans-serif;
  }
  .c2 li {
    margin-bottom: 10px;
  }
  
  #continuetext ul li {
    display: inline-block;
    margin: 0 20px;
    white-space: nowrap; 
  }
  
  @keyframes moveWords {
    0% {
      transform: translateX(-100%);/
    }
    100% {
      transform: translateX(+10%);
    }
  }
  
.allselectedworks {
    margin: auto;
    /* margin-right: .5px; */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overflow-x: scroll;
    overflow-y: hidden;
    display: flex;
    max-width: 300px;
    max-height: 150px;
    border-radius: 15px;
    box-shadow: -8px 8px 0px var(--primary-color);
}

.selectedworks {
    margin: auto;
    scroll-snap-stop: always;
    scroll-snap-align: center;
}


.allselectedworks-desktop {
    display: none;
}


/* .allselectedworks :hover {
    overflow-x: scroll;
    overflow-y: hidden;
    display: flex;
    max-width: 300px;
    max-height: 150px;
    border-radius: 15px;
    box-shadow: -8px 8px 0px #ff0000;
} */

.w3-button w3-display-left {
    color: var(--fourth-color);
    border: none;
    border-radius: 10px;
    padding: 10px 40px 10px 20px;
    font-size: 12px;
    font-family: alata;
    cursor: pointer;
    width: 75px;}

.w3-button w3-display-right {
    color: var(--secondary-color);
    border: none;
    border-radius: 10px;
    padding: 5px 40px 10px 20px;
    font-size: 12px;
    font-family: alata;
    cursor: pointer;
    width: 200px;}



 
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }



.spacer3 {
    height: 25px;
}


/* get in touch */
.section4 {
    display: block;
    padding: 20px;
    background-color: var(--secondary-color);
    margin: 10px;
    position: relative;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px ;
}

h4 {
    text-align: center;
    font-size: 36px;
    font-family: "Averia Serif Libre", serif;
    color: var(--third-color);
}

.section4::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%; 
    height: 20px; 
    background: radial-gradient(circle at bottom, var(--secondary-color) 50%, transparent 50%) 0 / 37px 40px repeat space;
    z-index: 1;
}


.groupsocials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.groupsocials {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;  /* Allows the items to wrap to the next row */
    gap: 10px;
}

.squareone, .squaretwo, .squarethree, .squarefour {
    display: flex;
    justify-content: center;  
    align-items: center;  
    width: 100px; 
    height: 100px; 
    border-radius: 8px; 
    padding: 10px;  
}

.squareone img, .squaretwo img, .squarethree img, .squarefour img {
    max-width: 100%;  
    max-height: 100%;
    object-fit: contain; 
}



.groupsocials > * {

    max-width: calc(50% - 20px);
}

.squareone {
    height: 100px;
    border-radius: 15px;
}
.squaretwo {
    height: 100px;
    border-radius: 15px;
}
.squarethree {
    height: 100px;
    border-radius: 15px;
}
.squarefour {
    height: 100px;
    border-radius: 15px;
}



/* footer */
h5{
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
}
h5 a {
    text-decoration: none;
    color: var(--third-color);
    font-family: alata;
}
.footer {
    margin-top: 40px;

}
#footercopywrite {
    text-align: center;

}

#footercopywrite p {
    font-size: 12px;
    font-family: alata;
    color: var(--third-color);
}

.spacer4{
    height: 5px;
}




/* media screen for desktop */
@media screen and (min-width: 1440px) {

    body {
        font-family: Arial, sans-serif;
        scroll-behavior: smooth;
        margin: 0.5vw; 
    
    
    }
    header nav.desktop {
        display: flex;
    }

    header nav.mobile {
        display: none;
    }
    header nav.desktop .active {
        background-color: transparent;

    }

    header nav.desktop ul {
        display: flex;
        justify-content: flex-end;
        list-style-type: none;
        padding: 0;
        margin: 0;
        gap: 30px;
        color: var(--secondary-color);
        font-family: alata;
        font-size: large;
        width: 100%;
    }


    header nav.desktop ul li a {
        text-decoration: none;
        color: var(--secondary-color);
    }
    header nav.desktop ul li:first-child {
        margin-left: auto;
      
    }

    .desktop button {
        background-color: var(--primary-color);
        color: var(--fourth-color);
        border: none;
        border-radius: 10px;
        padding: 10px 40px 10px 20px;
        font-size: 16px;
        font-family: alata;
        cursor: pointer;
        width: 200px;
    }

    .desktop button a {
        text-decoration: none;
        color: var(--fourth-color);
    }


    .desktop button a:hover {
        text-decoration: underline;
        color: var(--primary-color);
        animation: underlineAnimation 0.5s forwards;
    }

    @keyframes underlineAnimation {
        from {
            text-decoration-color: transparent;
            text-decoration-thickness: 0;
        }
        to {
            text-decoration-color: var(--fourth-color);
            text-decoration-thickness: 2px;
        }
    }


 
    header nav.desktop ul li a:hover {
        color: var(--fourth-color);
        text-decoration: underline;
    }

    .section1, .section2, .section3, .section4 {
        margin: 20px ;
        max-width: 100%;
        transform: translateY(-10px);

    }
  

    .section2 {
        display: grid;
        grid-template-columns: 1fr 2fr 2fr 1fr;
        grid-template-rows: 1fr 2fr 1fr ;
        position: relative;

    }



    #imgstamps {
        width: 400px;
        height: auto;
        z-index: 1;
        justify-self: center;
        align-self: center;
      
        
    }

    .masteraboutme {
        right: 45px;
    }
    #imgprofile {
        width: 250px;
    }

    #biography {
    padding-top: 25px;
    text-align: left;
    margin-left: 20px;
    grid-column: 3 / 3;
    grid-row: 2 / 4;
    }

    .downloadbutton {
        text-align: left;
        margin-left: 20px;
        margin-top: -70px;
        grid-column: 3 / 3;
        grid-row: 3 / 4;

    }

    .circleheader {
        margin-left: 40px;
    }

    
    .cylinder {
        display: absolute;
        margin: 0 auto;
        margin-top: 70px;
        margin-right: -20px;
        width: 800px;
        height: 200px;
        border-top-left-radius: 100px;
        border-bottom-left-radius: 100px;
        background-color: var(--primary-color);
        box-shadow: 2px 9px 8px -8px darkgrey;
    }

    #headerimg {
        margin-left: 675px;
        width: auto;
        height: 165px;
        margin-top: -30px; 
    }
    #c {
        margin-left: 60px;
        margin-top: 30px;
    }
    

    .allselectedworks {
        display: none;
    }

    .allselectedworks-desktop {
        margin: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        overflow-x: scroll;
        overflow-y: hidden;
        display: flex;
        max-width: 600px;
        max-height: 300px;
        border-radius: 15px;
        box-shadow: -8px 8px 0px var(darkgrey);
    }
    
    .selectedworks-desktop {
        margin: auto;
        scroll-snap-stop: always;
        scroll-snap-align: center;
    }

    .w3-button w3-display-left {
        background-color: var(--primary-color);
        color: var(--fourth-color);
        border: none;
        border-radius: 10px;
        padding: 10px 40px 10px 20px;
        font-size: 16px;
        font-family: alata;
        cursor: pointer;
        width: 200px;}
    
    .w3-button w3-display-right {
        color: var(--secondary-color);
        border: none;
        border-radius: 10px;
        padding: 10px 40px 10px 20px;
        font-size: 16px;
        font-family: alata;
        cursor: pointer;
        width: 200px;}


    #circleheader {
        font-size: 50px;
        letter-spacing: 50px;
    }

    h1 {
        font-size: 36px;
    }

    .downloadbutton:hover {
        animation: float 2s infinite;
    }

    @keyframes float {
        0% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
        100% {
            transform: translateY(0);
        }
    }


    .groupsocials {
        gap: 80px;
    }

    .groupsocials:hover {
        animation: float 2s infinite;
    }

    @keyframes float {
        0% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
        100% {
            transform: translateY(0);
        }


    }



    h5{
        text-align: right;
        font-size: 12px;
        margin-top: 20px;
    }


    
}


