@import url('base.css');
@import url('./modules/layout.css');
@import url('./modules/cards.css');
@import url('./modules/carrusel-banner.css');
@import url('./modules/fonts.css');
@import url('./modules/constantes.css');

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: fit-content;
  padding-top: 6.5rem;
  padding-bottom: 4rem;
  width: 100%; /* Full width */
}

.separator{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
  .separator{
    flex-direction: column;
    gap: 20px;
  }

  .social-media{
    position: relative!important;
    font-size: 23px;
    margin-bottom: 20px;
    right: 0!important;
  }
}

h1 {
  text-align: center;
}

.social-media{
  position:absolute;
  right: 5rem;
  font-size: 30px;
  display: flex;
  gap: 20px;
}

.social-media a{
  color: var(--color-primary);
}

.social-media i{
  transition: all 0.3s cubic-bezier(0.53, -0.4, 0.39, 1.18);
}

.social-media i:hover{
  transform: scale(2);
  color: var(--color-secondary);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 20px; /* Increase gap between columns */
  align-items: center;
  justify-content: center;
  height: fit-content;
  width: 90%; /* Full width */
  max-width: none; /* Remove max-width */
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px; /* Rounded corners */
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle box shadow */
}

.contact-form input,
.contact-form textarea {
  width: 100%; /* Full width */
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  font-size: 1rem;
  background-color: #f9f9f9; /* Match background color */
  color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.contact-form select {
  width: 100%; /* Full width */
  border: 1px solid #ccc; /* Match input border */
  border-radius: 6px; /* Match input border radius */
  padding: 10px; /* Match input padding */
  font-size: 1rem; /* Match input font size */
  background-color: #f9f9f9; /* Match input background color */
  color: #333; /* Match input text color */
}

.contact-form select:focus {
  border-color: #007bff; /* Match input focus border color */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Match input focus shadow */
}

.contact-form .btn-enviar {
  grid-column: span 2; /* Span both columns */
  width: 100%; /* Full width */
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .btn-enviar:hover {
  background-color: #0056b3;
}

.contact-form input:nth-child(7) {
  grid-column: span 2; /* Span both columns */
}

.contact-form textarea {
  grid-column: span 2; /* Span both columns */
  background-color: #f9f9f9; /* Match background color */
  color: #333; /* Match text color */
  resize: none; /* Prevent resizing */
  height: 175px;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: center; /* Center content horizontally */
  width: 100%; /* Full width */
  height: 350px; /* Adjust height as needed */
  background-color: #cccccc; /* Darker gray background */
  margin-bottom: 2rem; /* Add spacing below the banner */
  background: url('../images/backgrounds/UNETE A NUESTRO EQUIPO.jpg');
  background-size: cover;
}

.banner-text {
  flex: 1;
  display: flex;
  align-items: center; /* Center text vertically */
  justify-content: center; /* Center text horizontally */
  color: #fff;
  text-shadow: 5px 2px 5px rgb(0 0 0); 
}

.banner-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.banner-image {
  flex: 1;
  display: flex;
  align-items: center;  
  justify-content: center;  
  height: 100%;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border-radius: 10px; 
}

.h1-large {
  font-size: 2.23rem;
  font-weight: 400;
  color: var(--color-primary); /* Blue color */
}

.h1-bold {
  font-size: 1.5rem; /* Smaller font size */
  font-weight: 900; /* Bolder text */
  color: var(--color-primary); /* Blue color */
}

#charCount {
  grid-column: span 2;
  justify-self: end;
  text-align: right;
  color: #808080;
  font-size: 0.95em;
}

.checkbox-container {
    grid-column: span 1;
    justify-self: start;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-container label {
    font-size: 1rem;
    color: #333;
}


