html, body {
  height: 100%;
  margin: 0;
  overflow: hidden; 
  font-family: sans-serif;
  color: rgb(255, 255, 255);
  text-align: center;
}

.scrollable {
  overflow: auto !important; 
  height: auto !important;   
}

/* #bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;  
  z-index: -1;        
} */

.content {
  position: relative;
  z-index: 1;
}

/* .index-div {
  width: 200px;
  height: 100px;
  padding: 10px;
  border: 2px solid black;
  margin: 20% auto 0;
  color: rgb(86, 3, 88);
} */
/* 
#main-button {
  width: 120px;
  height: 50px;
  padding: 5px;
  font-size: 10px;
  background-color: rgb(202, 190, 211);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 70px;
}

#main-button:hover {
  background-color: rgb(180, 160, 200); 
  transform: scale(1.05);              
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
} */

.arrow {
  position: absolute;
  top: 59.5%;
  right: 44%; 
  transform: translateY(-50%);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-right: 50px solid #f0eff0; 
  animation: blink 1s infinite;    
  filter: drop-shadow(0 0 2px rgb(240, 240, 240));
}

@keyframes blink {
  20%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Header */
header {
  background: rgb(86, 3, 88);
  border: 2px solid black;
  border-radius: 50px;
  max-width: 70%;    
  margin: 20px auto; 
  padding: 10px 20px;
}
  
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo video {
  height: 100px;  
  width: auto;
  border-radius: 8px;
  margin-left: 150px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  margin-right: 160px;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  font-weight: bold;
  font-size: larger;
  color: white;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: rgb(207, 160, 207);
}

/* Profile */
#profile-div {
  display: flex;            
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;          
  width: 50%;
  padding: 20px;
  border-radius: 50px;
  border: 2px solid rgb(86, 3, 88);
  margin: 5% auto;
  color: rgb(178, 127, 179);
  background-color: transparent;
  gap: 25px;
}

.tabbed {
  text-indent: 2em; 
}

#profile-div-left {
  flex: 1 1 40%;             
  display: flex;
  justify-content: center;
  align-items: center;
}

#profile-pic {
  max-width: 100%;
  height: auto;
  border-radius: 30px;        
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
}

#profile-div-right {
  flex: 1 1 50%;            
  padding: 10px;
  text-align: left;
}

#profile-div-right h2 {
  margin-bottom: 5px;
  font-size: 1.2rem;
  color: rgb(238, 196, 238);
}

#profile-div-right p {
  margin: 0 0 15px;
  line-height: 1.4;
}

/* PROJECTS */
#projects-div {
  width: 80%;
  padding: 20px;
  border: none;
  margin: 20px auto;
  color: rgb(86, 3, 88);
  background-color: none;
  border-radius: 50px;;
}

#projects-div h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: rgb(86, 3, 88);
  background-color: none;
}

.project-slide {
  display: none;      
  text-align: center;
  width: 80%;
  padding: 20px;
  border: 2px solid black;
  margin: 20px auto;
  background-color: rgb(86, 3, 88);
  border-radius: 50px;
}

.project-slide.active {
  display: block;
}

.project-slide video {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 50px;
}

.project-slide h3,
.project-slide p {
  margin: 10px 0;
  color: white;
}

.proj-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 50px;
}

#participation-div {
  position: relative;
  width: 80%;
  margin: auto;
}

.participation-slide {
  display: none; 
  text-align: center;
  width: 80%;
  padding: 20px;
  border: 2px solid black;
  margin: 20px auto;
  background-color: rgb(86, 3, 88);
  color: white;
  border-radius: 50px;
}

.participation-slide img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 50px;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 3px;
  user-select: none;
  background: rgba(0,0,0,0.3);
  transform: translateY(-50%);
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.6);
}

a {
  display: inline-block;
  margin-top: 10px;
  color: rgb(207, 160, 207);
  text-decoration: underline;
}

/* CONTACT */
#contacts-div {
  width: 80%;
  padding: 20px;
  border: 2px solid black;
  margin: 20px auto;
  color: white;
  background-color: rgb(86, 3, 88);
  border-radius: 50px;
  text-align: center;
}

#contacts-div h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

#contacts-div p {
  margin-bottom: 20px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-links a {
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  color: white;
}

/* Connect! */
.contact-links a.linkedin {
  background-color: rgb(126, 76, 127);
}

.contact-links a.github {
  background-color: #333;
}

.contact-links a.facebook {
  background-color: rgb(126, 76, 127);
}

.contact-links a:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

@media (max-width: 768px) {

  header {
    max-width: 90%;    
    margin: 10px auto; 
    padding: 5px 10px;
}
  
  #profile-div {
    flex-direction: column;
    align-items: center;
  }

  #profile-div-left, #profile-div-right {
    flex: 1 1 100%;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    margin-right: 0;
  }

  .nav-links li {
    margin-bottom: 10px;
  }
  
}