:root {
  --main-green: #23823b;
  --off-white: #F7F7F2;
  --dark: #23231a;
  --light-pink: #ebffed;
  --default-font: Verdana, sans-serif;
}



body {
  font-family: var(--default-font);
  margin: 0;
    background: linear-gradient(135deg, #23823b, #23231a);
}

* {
  box-sizing: border-box;
}

.profilepic {
     display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 0px;
  background-color: var(--light-pink);
  color: #23231a;
  font-size: 1rem;
  
}

.mySlides {
  border-radius: 100%;
  width: 250px;
  max-width: 90vw;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 6px solid var(--dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}


.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--dark);
  display: flex;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 20px 20px;
  transition: all 0.3s ease;
}

/* Default color for contact "button" */
.contact-btn {
  color: white;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

/* Hover color */
.contact-btn:hover {
  color: var(--main-green);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 15px 20px;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links li a {
  color: var(--off-white);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--main-green);
}
.header {
  width: 100%;
  max-width: 330px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--light-pink);
  color: rgb(255, 255, 255);
  font-size: 1rem;
  margin: 20px auto;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

/* Popup container */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.popup .popuptext {
 visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;

  width: 300px; /* or match profilepic width */
  max-width: 90vw;
}

.popup .popuptext::after {
  content: "";
  display: none; /* keep as before */
}

/* When popup is shown */
.popup .popuptext.show {
 visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

#copyBtn {
  margin-left: 10px;
  padding: 5px 10px;
  font-size: 0.9rem;
  border: none;
  background-color: var(--main-green);
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#copyBtn:hover {
  background-color: #1a5e2c; /* darker green */
}

.profilepic, .video-section, .showcase {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

.showcase {
  display: flex;
  justify-content: center;
  background-color: var(--light-pink);
  padding: 40px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.preface {
    justify-content: center;
    text-align: center;
    margin: auto;
    align-items: center;
    border: 0px solid black;
    

}

@media (min-width: 900px) {
  .container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  padding: 20px;
  margin: 0 auto;
  
}

@media (min-width: 600px) {
    .container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 599px) {
  .mySlides {
    width: 150px;
    height: 150px;
  }

  .item {
    width: 90%; 
  }

  .preface h3 {
    font-size: 1rem;
    padding: 0 10px;
  }
}

.item {
  width: 100%;
  max-width: 330px;
  aspect-ratio: 1 / 1; 
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
  background-color: var(--light-pink);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  
}

.linkcontainer{
  width: 100%;
  max-width: 330px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1rem;
  margin: 20px auto;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
}

.link {
  width: 100%;
  max-width: 330px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
  background-color: var(--light-pink);
  font-size: 1rem;
  padding: 0 10px;
  margin: 0 auto;
}

.link-text {
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.link-text H3:hover {
  color: var(--main-green);
}

.section {
  margin: 40px auto;
  max-width: 800px;
  padding: 5px 5px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
  
  .video-section {
   background-color: var(--light-pink);
    max-width: 600px;    
    width: 100%;         
    margin: 40px auto;  
    padding: 20px;
    border-radius: 20px;
    overflow: hidden;
    
  }
  
  .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  }
  
  
  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

.gif {
  width: 300px;      
  max-width: 80%;   
  height: auto;
  display: block;
  margin: 0 auto;
}
