@import url('https://fonts.cdnfonts.com/css/avenir-lt-pro');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
  --primary-color: #BB0811;
  --button-color: #3d7ac3;
  --button-hover: #8e381e;
  --background-color: #000000;
  --text-color: #FFFFFF;
  --font-primary: 'Avenir LT Pro', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
 background: linear-gradient(to right, var(--background-color) 50%, #3d7ac3 100%);
  font-family: var(--font-primary);
  color: var(--text-color);
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  padding-top: 50px;
  flex-wrap: wrap;
}

.form-section {
  max-width: 500px;
  flex: 1;
}

.img-section {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: 80px;
  height: 100%;
}

.img-section img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 115%; /* hazla más grande que su contenedor */
  max-width: none;
  height: auto;
}


.tag {
  color: #ffffff;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 10px;
}
.tagt {
  color: #00aaff;
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 10px;
  line-height: 2.5rem;
}

h1 {
  font-size: 2.5rem;
  font-family: var(--font-secondary);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 2.5rem;
}

.linkedin {
  color: #0e76a8;
}

.usd {
  color: #00aaff;
}

.subtitle {
  font-size: 1rem;
  margin-bottom: 25px;
}

form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-primary);
}

form button {
  width: 100%;
  padding: 14px;
   background-image: linear-gradient(to right, #3d7ac3, #33b199);
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  font-family: var(--font-secondary);
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: var(--button-hover);
}


@media (max-width: 991px) {
  .container {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .form-section,
  .img-section {
    max-width: 100%;
    flex: 100%;
  }


  .subtitle {
    font-size: 0.95rem;
  }
  .img-section {
  position: relative;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  height: auto;
}

.img-section img {
  position: static;
  width: 100%;
  max-width: 400px;
  height: auto;
}

}

@media (max-width: 600px) {
    .img-section {
  position: relative;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  height: auto;
}

.img-section img {
  position: static;
  width: 100%;
  max-width: 500px;
  height: auto;
}

.tag {
  color: #ffffff;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 10px;
}
.tagt {
  color: #00aaff;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 2.5rem;
}

h1 {
  font-size: 2rem;
  font-family: var(--font-secondary);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 2.5rem;
}


  .subtitle {
    font-size: 0.9rem;
  }

  form input,
  form button {
    font-size: 0.95rem;
    padding: 12px;
  }
  
}