/* From the :root element you can easily change the colors of the design, its size and so on. */
:root {

  --transition: all 0.25s ease;

  /* You can change the font family in the whole design here. (You need to add the font family to the codes.) */
  --font_family: 'Inter', sans-serif;

  /* You can change the font size here, is proportional to all texts. */
  --font_size: 16px;

  /* You can change the background color by typing the color code. (If you do not enter a background-image image, the background-color will be active.) */
  /* --background_color: #472161;
  --background_image: linear-gradient(
    90deg,
    rgba(71, 33, 97, 1) 0%, 
    rgba(29, 171, 253, 1) 41%, 
    rgba(54, 255, 231, 1) 55%, 
    rgba(69, 216, 246, 1) 71%, 
    rgba(114, 237, 200, 1) 91%, 
    rgba(81, 158, 119, 1) 100%
    );
    */

  --background_color: #b06764;
  --background_image: radial-gradient(
    circle,
    rgba(176, 103, 100, 1) 0%, 
    rgba(171, 171, 171, 1) 100%
    );



  /* You can change the width and size of the picture by typing the number of pixels. */
  --image_width: 140px;
  --image_height: 140px;

  /* You can change the colors of the title and description section by typing the color codes. */
  --title_color: #fff;
  --description_color: #e30000;

  /* You can change the colors of social media icons by changing the color code. */
  --svg_color: #fff;

  /* You can change the background, text color and active color of the menu by changing the color codes. */
  --menu_background_color: #0e0e0e;
  --menu_text_color: #fff;
  --menu_active_text_color: #39d041;

  /* You can change the button's background, text color and active color by changing the color codes. */
  --button_background_color: #0e0e0e;
  --button_text_color: #fff;
  --button_text_hover_color: #39d041;

  /* You can change the background, text color and active color of the text field by changing the color codes. */
  --textarea_background_color: #0e0e0e;
  --textarea_text_color: #fff;
  --textarea_link_text_color: #39d041;

  /* You can change the background, text color and active color of the footer area by changing the color codes. */
  --footer_background_color: #0e0e0e;
  --footer_text_color: #fff;
  --footer_link_text_color: #39d041;
}

/* Basic Codes */

/*Background */
body {
  background-image: var(--background_image);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  
  font: var(--font_size) var(--font_family);
  font-weight: 400;
  line-height: 1.5;
  background-color: var(--background_color);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  position: relative;
  margin: 0;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  z-index: -1; /* Keeps the overlay below the content */
}

/* end of background*/

/* Headers */



/* Wrapper Box */

.wrapper_box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #000000bf;
  border-radius: 50px;
  border: 2px #39d041 solid;
  padding: 40px;
  margin: 60px auto;
  
  /* FIXED: Set a large max-width for desktop, but allow it to be responsive */
  width: 95%; 
  max-width: 900px; 

  box-shadow: 0 0 15px #39d041, 0 0 30px #39d04150;
  box-sizing: border-box; /* Ensures padding doesn't break the width */
}

.wrapper_box .header_h_item {
  text-align: center;
}

.wrapper_box p{
  color: white;
  text-align: center;
}


/* Logo, Title and Description Codes */

.header_img {
  /* padding-top: 8em; */
}

.header_img img {
  height: 130px;
  margin: 30px;
}

.header_text h1 {
  color: var(--title_color);
  font-size: 1.2em;
  font-weight: bold;
}

.header_text h2 {
  color: #39d041;
  font-size: 1em;
}

.spacing {
    margin-top: 100vh;
}

/* Nav Menu */

nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    animation: fadeInDown 0.8s ease-out both;
    animation-duration: 0.8s;
}

nav li {
    margin: 0 40px;
    list-style: none;
    padding: 0;
}

nav ul a {
    text-decoration: none;
    font-size: 1.2em;
    color: white;
    font-weight: 800;
    transition: var(--transition);
}

nav ul a:hover {
  color: var(--menu_active_text_color);
}

.the-menu {
    margin-top: -20px;
}

/* Chat */

.popup-link a{
  color: #39d0416e;
  font-size: 1.2em;
  font-weight: 800;
  transition: var(--transition)
}

.popup-link a:hover {
  color: #39d041;
}

/* Footer Codes */

.footer_div_item {
  color: var(--footer_text_color);
  background: var(--footer_background_color);
  padding: 1em;
  margin-top: 1.5em;
  text-align: center;
}

.footer_a_item {
  color: var(--footer_link_text_color);
  text-decoration: none;
}

/* Responsive Codes */

/* Responsive Video/Chat Containers */
.video-container, .chat-container {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin-bottom: 20px;
}

.video-container {
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.chat-container {
    height: 500px; /* Fixed height for chat */
}

@media (max-width: 768px) {
    .chat-container { height: 400px; }
    .wrapper_box { width: 90%; padding: 20px; margin: 20px auto; }
}

.video-container iframe, .chat-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Hamburger Menu Logic */
.menu-toggle {
    display: none; /* Hide the actual checkbox */
}

.hamburger {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 20px;
}

.hamburger span {
    width: 30px;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    .wrapper_box {
    width: 92vw;
    padding: 20px; /* Smaller padding so the video has more room */
    margin: 20px auto;
    border-radius: 20px; /* Slightly less rounded for small screens */
  }

    .the-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        width: 100%;
        background: rgba(0,0,0,0.9);
    }

    .the-menu ul {
    padding: 0;
  }

    nav ul {
        flex-direction: column;
        padding: 0;
    }

    nav li { margin: 15px 0; }

    /* When checkbox is checked, show the menu */
    .menu-toggle:checked ~ .the-menu {
        max-height: 300px; /* Adjust based on menu size */
        margin-top: 10px;
    }

    /* Animate hamburger to X when open */
    .menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

::selection {
  background: #96286c;
}

