/* Biodata css*/

* {
  box-sizing: border-box;
}

  body {
    font-family: Arial, sans-serif;
    padding: 10px;
    background-image: url("images/lovmotion.gif"); 
  
  }

  @font-face {
    font-family: myFont;
    src: url("fonts/Tropi Land - (Demo) hanscostudio.com.ttf");
  }
  @font-face {
    font-family: secFont;
    src: url("fonts/Yaelah.ttf");
  }

  /* Header */
  header {
    width: 97vw;
    height: 60vh;
    background-image: url("images/biodata\ header.jpg");
    background-size: cover;
    background-position: center;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: white;
    position: relative;
  }

  .back-home {
    position: absolute;
    top: 0px;
    left: 27px;
    margin: 10px;
    background-color: #ecbcd8;
    border-color: #ecbcd8;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1em;
    border-radius: 5px;
  }

 

  .dropdown {
    display: inline-block;
  color: #fff;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;

  }
  
  .dropdown-content {
  display: none;
  position: absolute;
  top: 51px; /* Offset slightly below the dropdown button */
  left: 5px;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(255, 252, 252, 0.2);
  z-index: 1;
  border-radius: 5px;

  }
  
  .dropdown-content a {
    color: rgb(249, 246, 246);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 5px;
  }
  
  .dropdown-content a:hover {background-color: #ddd;}
  
  .dropdown:hover .dropdown-content {display: block;}

  /* Card layout */
  .card-1 {
    background-color: rgb(244, 219, 241);
    padding: 20px;
    margin-top: 20px;
    width: 100%;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    height: 50;
  }

  /* Biodata section with video and text side by side */
  .biodata-container {
    display: flex;
    gap: 20px;
    flex: 3;
    align-items: center;
  }

  .card-container {
    display: flex;
    gap: 20px; /* Space between the cards */
  }
  
  .card-2 {
    background-color: #f1f1f1;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    flex: 1; /* Make the cards take equal space */
    transition: box-shadow 0.3s;
    margin-top: 20px;
   
  }

  .h3 {
    font-family: secFont;
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #954462;
  }
  

  .section {
    flex: 1;
    text-align: center;
  }
  
  .section h2 {
    margin-bottom: 10px;
    font-size: 1em;
  }
  .card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);

  }
  
  li::marker {
    content: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='24' width='24'><path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='none' stroke='hotpink' stroke-width='3'/></svg>");
  }
  
  li {
    padding-inline-start: 1ch;
  }
  
  ul, ol {
    max-width: 35ch;
  }
  
  
  
  .picture-widget  {
    
    width: 90%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    mix-blend-mode: multiply;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  
  .description {
    text-align: center;
  }
  
  * {
    box-sizing: border-box;
  }
  
  .picture-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 5px;
    flex-wrap: nowrap;
    margin-top: 20px;
    overflow-x: auto
   
  }

  .picture-description {
    
    font-size: 14px;
    color: #555; 
    margin-top: 5px;

  }

  .responsive {
    width: 300px; /* Set a fixed width for consistency */
    float: left;
  }

  
  .table, th, td {
    padding: 6px;
    border-collapse: collapse;
    
   }
  
   tr:nth-child(even){background-color: #c3bebe}
  
   th {
     background-color: #cb729a;
     color: white;
   }

   /* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {   
  float: left;
  width: 65%;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 35%;
  padding-left: 30px;
}




/* Add a card effect for articles */
.card {
  background-color: rgb(244, 219, 241);
  padding: 20px;
  margin-top: 20px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

/* Clear floats after the columns */
.row::after {
  content: "";
  display: table;
  clear: both;
}


/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn, .rightcolumn {   
    width: 100%;
    padding: 0;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .topnav a {
    float: none;
    width: 100%;
  }
}
  
   
  
  /* visited link */
  a:visited {
    color: rgb(188, 11, 93);
  }
  
  /* mouse over link */
  a:hover {
    color: rgb(232, 98, 123);
  }
  
  /* selected link */
  a:active {
    color: rgb(62, 65, 63);
  }
 
  .card-content {
    width: 100%;
  }

  .p1 {
    font-family: myFont;
    font-size: 3em;
    color: #954462;
    margin-bottom: 10px;
  }

  .p2 {
    font-family: secFont;
    font-size: 1.5em;
    color: #954462;
  }

  .right-column {
    flex: 1;
    background-color: #ecbcd8;
    padding: 30px;
    border-radius: 5px;
    color: #954462;
    font-size: 1em;
    width: 30%;
  }

  .right-column h3 {
    font-family: secFont;
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  /* Footer Styling */
  .footer {
    position: relative;
    width: 100%;
    background: #ebaec9;
    min-height: 100px;
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
  }
  
  .social-icon,
  .menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
    mix-blend-mode: multiply;
    background: none;
  }
  
  .social-icon__item,
  .menu__item {
    list-style: none;
  }
  
  .social-icon__link {
    font-size: 2rem;
    text-decoration: none;
    color: inherit;
    box-shadow: none;
    background: none;
    color: #e97084;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
    background: none;
    mix-blend-mode: multiply;
  }
  
  .social-icon__link:hover {
    text-decoration: none; /* Optional: Keep the appearance clean on hover */
    box-shadow: none; /* Removes shadow on hover */
    background: none; 
    transform: translateY(-10px);
    mix-blend-mode: multiply;
  }
  
  .menu__link {
    font-size: 1.2rem;
    color: #871313e0;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
    text-decoration: none;
    opacity: 0.75;
    font-weight: 300;
  }
  
  .menu__link:hover {
    opacity: 0.5;
  }
  
  .footer p {
    color: #a04444;
    margin: 15px 0 10px 0;
    font-size: 1rem;
    font-weight: 300;
  }
  
  .wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("https://i.ibb.co/wQZVxxk/wave.png");
    background-size: 1000px 100px;
  }
  
  .wave#wave1 {
    z-index: 1000;
    opacity: 1;
    bottom: 0;
    animation: animateWaves 4s linear infinite;
  }
  
  .wave#wave2 {
    z-index: 999;
    opacity: 0.5;
    bottom: 10px;
    animation: animate 4s linear infinite !important;
  }
  
 
  
  @keyframes animateWaves {
    0% {
      background-position-x: 1000px;
    }
    100% {
      background-positon-x: 0px;
    }
  }
  
  @keyframes animate {
    0% {
      background-position-x: -1000px;
    }
    100% {
      background-positon-x: 0px;
    }
  }
  

/* Responsive Design */
@media (max-width: 768px) {
  .footer .container {
      flex-direction: column;
      align-items: center;
  }

  .footer-section {
      margin-bottom: 20px;
  }
}

  /* Responsive layout adjustments */
  @media screen and (max-width: 800px) {
    .biodata-container {
      flex-direction: column;
    }
    video {
      width: 100%;
    }
  }
