@import url("https://fonts.googleapis.com/css?family=Montserrat:400,600&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #ffff;
  color: rgba(0, 0, 0, 0.8);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.signup-container {
  display: grid;
  grid-template-areas: "left right";
  grid-template-columns: 300px 1fr;
  max-width: 900px;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
              rgba(0, 0, 0, 0.12) 0px -12px 30px,
              rgba(0, 0, 0, 0.12) 0px 4px 6px,
              rgba(0, 0, 0, 0.17) 0px 12px 13px,
              rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.left-container {
  grid-area: left;
  background: #456091;
  overflow: hidden;
  padding: 40px 0 0 0;
  text-align: center;
  position: relative;
}

.left-container h1 {
  color: rgba(0, 0, 0, 0.8);
  font-size: 24px;
}

.left-container .puppy {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  z-index: 2;
}

.left-container .puppy:before {
  background: #456091;
  content: "";
  height: 100%;
  left: 0;
  opacity: 0.4;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.left-container .puppy img {
  max-width: 300px; /* puedes ajustar entre 120px y 200px según preferencia */
  height: auto;
}

.right-container {
  grid-area: right;
  background: #ffff;
  padding: 2rem;
}

.content-form {
  padding-top: 1rem;
}

.content-inputs {
  padding-top: 1rem;
}

.right-container h1:nth-of-type(1) {
  color: rgba(0, 0, 0, 0.8);
  font-size: 28px;
  font-weight: 600;
}

.right-container input,
.right-container textarea,
.right-container label {
  width: 100%;
}

.right-container input {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  height: 38px;
  line-height: 38px;
  padding-left: 5px;
  color: rgba(0, 0, 0, 0.8);
}

textarea#message {
  height: 200px;
  resize: vertical;
}

.radio-container {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  display: flex;
  gap: 10px;
  padding: 5px;
  flex-wrap: wrap;
}

.radio-container label {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  display: inline-block;
  height: 26px;
  line-height: 26px;
  margin: 0;
  padding: 0 10px;
  text-align: center;
  transition: 0.2s all ease-in-out;
  width: 100px;
  cursor: pointer;
}

.radio-container input[type=radio] {
  display: none;
}

.radio-container input[type=radio]:checked + label {
  background: #8eace2;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.div-buttons {
  text-align: center;
  padding-top: 2rem;
}

.button-form-submit {
  outline: none;
  cursor: pointer;
  border: none;
  padding: 0.9rem 2rem;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  border-radius: 500px;
  overflow: hidden;
  background: #0275d8;
  color: ghostwhite;
  width: 100%;
  max-width: 300px;
  position: relative;
}
.button-form-submit:active {
  background: #000;
  color: white;
  transform: scale(0.98);
}

.button-form-submit span {
  position: relative;
  z-index: 10;
  transition: color 0.4s;
}

.button-form-submit:hover span {
  color: white;
}

.button-form-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background: #000;
  transform: skew(30deg);
  transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);
  z-index: 0;
}

.button-form-submit:hover::before {
  transform: translate3d(100%, 0, 0);
}

/* -------------------------------- */
/* 🎯 RESPONSIVE DESIGN */
/* -------------------------------- */
@media screen and (max-width: 768px) {
  .signup-container {
    grid-template-areas:
      "left"
      "right";
    grid-template-columns: 1fr;
    max-width: 100%;
    width: 100%;
  }

  .left-container,
  .right-container {
    width: 100%;
  }

  .left-container {
    padding-bottom: 80px;
  }

  .left-container .puppy {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 1rem;
  }

  .left-container .puppy img {
    max-width: 100px;
  }

  .content {
    padding: 1rem;
  }

  .radio-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .radio-container label {
    width: 100%;
    margin-top: 5px;
  }

  .button-form-submit {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .right-container h1:nth-of-type(1) {
    font-size: 22px;
  }

  .left-container .puppy img {
    width: 60%;
  }
}
