*{
    margin: 20;
    padding: 20;
    box-sizing: border-box;


}
.grid-item {
    width: 200px;
    height: 300px;
    box-sizing: border-box;



}
header {
    background-color: rgb(33, 36, 86);
    color: rgb(255, 255, 255);
  padding-inline-end: 20px;
    text-align: right;
    position: fixed;
    top: 0;
    width: 100px;
  height: 100px;
    z-index: 1000;
    font-size: 25px;
}

header h1{
    color: rgb(255, 255, 255);
    text-align: center ;
}


  
  img {
    display: block;
    max-width: 100%;
    height: auto;
  }


a:link{
    transition: color 0.5s;
    }
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px 100px;
        background: rgb(231, 192, 188, 0.5);
        display: flex;
        justify-content: space-between;
        align-items: center;
        backdrop-filter: blur(10px);
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        z-index: 100;
      }
      .header::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          90deg,
          transparent,
          rgba(255, 255, 255, 0.4),
          transparent
        );
        transition: 0.5s;
      }
      .header:hover::before {
        left: 100%;
      }
    
      .navbar a {
        color: #fff;
        font-size: 18px;
        text-decoration: none;
        margin-left: 35px;
        transition: 0.3s;
      }
      .navbar a:hover {
        color:var(--first-color);
      }

body{
 
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: rgba(229, 184, 71, 0.747);
}


#samia{
    animation-name: movingAround;
    animation-duration: 9s;
    animation-fill-mode: forwards;
   animation-iteration-count: initial;
}
#world {
  background-color: rgb(2, 2, 47);
 

}

@keyframes movingAround{
    0%{
        transform: translateX(0px);
    }
   
  
    50%{
        transform: rotateX(180deg) translateY(-200px);
    }

    
}




.slider-wrapper{
    position: relative;
}

.slider-wrapper .slide-button{

    position: relative;
    top: 50%;
    height: 50px;
    width: 50px;
    color: #fff;
    background: #000000;
     font-size: 2.2rem;
    cursor: pointer;
    border-radius: 50%;
    border:none;
    outline: none;
    transform: translateY(-50%);
}

.slider-wrapper .slide-button:hover{
    background: #444;
}


.slider-wrapper .slide-button#prev-slide {

    left: -20px;

}

.slider-wrapper .slide-button#next-slide {

    right: -20px;

}



.slider-wrapper .image-list {

    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    font-size: 0;
    margin-bottom: 30px;

}

.slider-wrapper .image-list ::-webkit-scrollbar {

    display: none;


}



.slider-wrapper .image-list .image-item{
width: 400px;
height: 400px;
object-fit: cover;

}

.container .slider-scrollbar{
    height: 24px;
    width: 100%;

    display: flex;
    align-items: center;

}





.slider-scrollbar .scrollbar-track{

    height: 2px;
    width: 100%;
    background: #ccc;
    position: relative;
    border-radius: 4px;


}


.slider-scrollbar:hover .scrollbar-track{
    height: 4px;
}



.slider-scrollbar .scrollbar-thumb:active{
    cursor: grabbing;
    height: 8px;
    top: -2px;

}

.slider-scrollbar .scrollbar-thumb{
    position: absolute;
    height: 100%;
    width: 50%;
    background: #000000;
    border-radius: inherit;
    cursor: grab;

}

.slider-scrollbar .scrollbar-thumb::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;

}
      
      h1{
        
        text-align: center;
        width: 100%;
        color: #ffffff;
        font-family:'Times New Roman', Times, serif;
        word-spacing: 14px;
        text-shadow: 2px 2px 10px #2f50b5dc;
        margin-top: 5px;
        font-size: 100px;
       
      }
      h3{
      
        color: #fff7f7;
      }
      h2{

      
        color: #ffffff;
       font-family: cursive;
        word-spacing: 5px;
        text-shadow: 2px 2px 10px #2f50b5dc;
        margin-top: 5px;
        
        
      }
      h4{
        
        text-align: center;
        width: 100%;
        color: #0a0630;
        font-family:'Times New Roman', Times, serif;
        word-spacing: 14px;
        text-shadow: 2px 2px 10px #2f50b5dc;
        margin-top: 5px;
        font-size: 100px;
       
      }
       h5{

      
        color: #3b2a02;
        font-family: 'Times New Roman', Times, serif;
        word-spacing: 5px;
        text-shadow: 2px 2px 10px #2f50b5dc;
        margin-top: 5px;
        width: 80%;
        font-size: medium;
        
      }

      /* Card Container */
      .card-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        max-width: 1000px;
        width: 100%;
        justify-content: center;
        margin: 0 auto;
      }
      
      
      .card {
        background: #1b0007;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        text-align: center;
        padding: 20px;
        transition: transform 0.3s, box-shadow 0.3s;
      }
      
      .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgb(254, 253, 253);
      }
      
      /* Profile Image */
      .card img {
        width: 200px;
        height: 200px;
        border-radius: 20%;
        object-fit: cover;
        margin-bottom: 10px;
        background-color: darkgray;
      
      }
      
      
      #cards figure{
        position: relative;
        height: 100%;
        border-radius: 2rem 2rem 0 0;
        overflow: hidden;
        background-color: #210a02;
      }
      
      #cards section{
       padding: 0.5rem;
       background-color: white;
       border-radius: 0 0 2rem 2rem;
      }
      
      #cards .top{
        opacity: 0;
        position: absolute;
        top: 0;
        left: 0;
        transition: opacity, transform 0.25s;
        transform: translateY(1.7rem);
      }
      
      /* Text Styles */
      
      .card h3 {
        font-size: 20px;
        color: #ffffff;
        margin-bottom: 5px;
      }
      
      .card p {
        font-size: 14px;
        color: #ffffff;
        margin-bottom: 15px;
      }
      
      /* Social Icons */
      .social-icons {
        display: flex;
        justify-content: center;
        gap: 10px;
      }
      
      .social-icons a {
        text-decoration: none;
        font-size: 20px;
        color: #fff7f7;
        transition: color 0.3s, transform 0.3s;
      }
      
      .social-icons a:hover {
        color: #ffffff;
        transform: scale(1.2);
      }
      
      /* Responsive Design */
      @media (max-width: 600px) {
        .card-container {
            grid-template-columns: 1fr;
        }
      }
