/* General styles for all screens */
body {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  color: white;
  background: url('img/CCMBackground.png') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh; /* Ensure the body covers at least the viewport height */
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Styles for smaller screens */
@media (max-width: 600px) {
  .body {
    width: 95%;  /* Nearly full width */
    min-width: 400px;
 }
}


body::before {
  content: "";
  background: radial-gradient(circle, transparent, rgba(0, 0, 0, 0.8));
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  min-height: 100vh; /* Ensure the vignette covers at least the viewport height */
}

.contact-container {
  max-width: 600px;
  width: 80%;
  padding: 20px; /* Reduced padding for smaller screens */
  border-radius: 5px;
  z-index: 10;
}

/* Styles for smaller screens */
@media (max-width: 600px) {
  body {
    align-items: flex-start; /* Align content to the top on smaller screens */
  }

  .contact-container {
    width: 80%;
    padding: 10px; /* Further reduce padding for very small screens */
  }

  .input,
  textarea {
    width: 90%;
    min-width: auto; /* Remove min-width for input elements */
  }

  .menu-button {
    top: 10px;
  }

  .menu-content.top-right {
    top: 42px;
    background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.9));
  }
  .logo {
    max-width: 150px; /* Adjust the logo size for smaller screens */
    margin: 0 auto 10px;
  }
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 25px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: white;
    font-size: 1em;
    max-width: 632px;
    min-width: 380px;
}

button {
    padding: 12px 25px;
    font-size: 1.1em;
    background-color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  user-select: none; /* Disable text selection */
  pointer-events: auto; /* Enable mouse events for clicking */
}


.hidden {
    display: none;
}



/* Add this to your existing CSS */

.menu-button {
  position: absolute;
  top: 50px;
  right: 20px;
  z-index: 10;
  cursor: pointer;
}

.menu-button i {
  font-size: 24px;
  color: #ffffff;
}

.menu-content {
  display: none;
  position: absolute;
  top: 22px;
  right: 0;
  width: 200px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.7));
  padding: 20px;
  border-radius: 5px;
  transform-origin: top right;
  transform: scaleY(0);
  transition: transform 0.3s ease-in-out;
  text-transform: capitalize;
}

.menu-button.active .menu-content {
  display: block;
  transform: scaleY(1);
}

.menu-button.active i {
  transform: rotate(90deg);
}
.menu-content a:hover {
  opacity: 0.8;
}


.menu-content a {
  display: block;
  color: #ffffff;
  text-decoration: none; /* Remove underlines */
  font-size: 18px;
  margin-bottom: 10px;
}



@media only screen and (max-width: 768px) {
  .top-right-icons {
    display: none;
  }
}

.top-right-icons {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 4;
  user-select: none; /* Disable text selection */
  pointer-events: auto; /* Enable mouse events for clicking */
}

.top-right-icons a {
  margin-left: 10px;
  font-size: 24px;
  color: #ffffff;
}


::selection {
background-color: #F53150;
color: #ffffff;
}

.logo {
    display: block;
    max-width: 200px;  /* Adjust this to your desired logo width */
    margin: 0 auto 20px;  /* Centers the logo and adds a margin at the bottom */
  user-select: none; /* Disable text selection */
  pointer-events: auto; /* Enable mouse events for clicking */
}
