body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

p {
  margin: 0;
  padding: 0;
}

.container {
  width: 80vw;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.container::before {
  content: '';
  position: absolute;
  width: 5000px;
  height: 600px;
  background: #4E8397;
  transform: rotate(-38deg);
  transform-origin: center center;
  top: -1290px;
  right: -3882px;
  z-index: -1;
  border-radius: 300px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

h1 {
  margin: 0;
  color: #575757;
  font-size: 3rem;
  font-weight: 400;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: #fff;
}

nav li {
  position: relative;
}

nav li svg {
  position: absolute;
  top: 12px;
  left: calc(100% - 17px);
}

main {
  padding: 1rem;
}

section {
  margin-bottom: 5rem;
}

footer {
  background: #4E8397;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3rem;
  color: #fff;
}

#quien-soy {
  padding-bottom: 95px;
}

.columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.name {
  font-size: 1.5rem;
}

.quot {
  font-size: 6rem;
}

.btn {
  padding: 1rem;
  text-transform: uppercase;
  background-color: #FF9671;
  border: 0;
  outline: none;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  width: fit-content;
  border-radius: 4px;
  text-decoration: none;
}

h2 {
  margin: 0;
  font-size: 1.5rem;
}

.text {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5rem;
}

#servicios .text {
  width: 420px;
}

#servicios ul {
  width: 50vw;
  font-size: 1.1rem;
  line-height: 1.5rem;
}

#contacto .columns > * {
  width: 50%;
}

form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: baseline;
  padding: 1rem;
  gap: 0.5rem;
}

form p {
  display: flex;
}

form p label {
  width: 105px;
  margin: 0;
}

input[type="text"],input[type="email"], textarea {
  padding: 1rem;
  border: 1px solid #575757;
}

textarea {
  width: 205px;
  box-sizing: border-box;
  height: 100px;
  resize: none;
}

.menu {
  display: none;
}

@media (min-width: 768px) and (max-width: 1279px) {
  .container {
    width: 100%;
  }
  h1 {
    font-size: 1.5rem;
  }
  nav {
    position: relative;
  }
  nav .menu {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    flex-direction: column;
    align-items: center;
    background: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.95)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  nav ul {
    position: absolute;
    display: none;
    background: #845EC2;
    right: 0;
    overflow: hidden;
    height: 0;
    transition: height 0.5s;
  }
  nav li svg {
    left: 47px;
  }
  .columns {
    flex-direction: column;
    justify-content: inherit;
    align-items: inherit;
  }
  .container::before {
    display: none;
  }
  header, #quien-soy, h1 {
    background: #4E8397;
    color: #fff;
  }
  section {
    padding: 1rem;
  }
  main {
    padding: 0;
  }
  .quot {
    font-size: 3rem;
  }
  .name {
    font-size: 1rem;
  }
  section {
    margin-bottom: 2rem;
  }
  #servicios {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #servicios .text {
    width: 100%;
  }
  #servicios ul {
    width: 100%;
  }
  #servicios li {
    padding-right: 2rem;
  }
  #contacto .columns > * {
    width: 100%;
  }
  form {
    align-items: center;
  }
  form p {
    flex-direction: column;
    width: 400px;
    gap: 4px;
  }
  textarea {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .container {
    width: 100%;
  }
  h1 {
    font-size: 1.5rem;
  }
  nav {
    position: relative;
  }
  nav .menu {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    flex-direction: column;
    align-items: center;
    background: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.95)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  nav ul {
    position: absolute;
    display: none;
    background: #845EC2;
    right: 0;
    overflow: hidden;
    height: 0;
    transition: height 0.5s;
  }
  nav li svg {
    left: 47px;
  }
  .columns {
    flex-direction: column;
    justify-content: inherit;
    align-items: inherit;
  }
  .container::before {
    display: none;
  }
  header, #quien-soy, h1 {
    background: #4E8397;
    color: #fff;
  }
  section {
    padding: 1rem;
  }
  main {
    padding: 0;
  }
  .quot {
    font-size: 3rem;
  }
  .name {
    font-size: 1rem;
  }
  section {
    margin-bottom: 2rem;
  }
  #servicios .text {
    width: 100%;
  }
  #servicios ul {
    width: 100%;
  }
  #servicios li {
    padding-right: 2rem;
  }
  #contacto .columns > * {
    width: 100%;
  }
  
  form p {
    flex-direction: column;
  }
}