@import "reset.css";

body {
  font-family: "Atkinson Hyperlegible", serif;
  color: #2a2a2a;
  background: #eff0f3;
}

header,
section,
footer {
  max-width: clamp(200px, 80%, 1024px);
  margin-inline: auto;
}
.full-width--orange {
  background: #ff8e3c;
}

.full-width--white {
  background: #fffffe;
}

.full-width--pink {
  /* background: #d9376e; */
  border-top: solid 1.5px #d9376e;
}

/* HEADER */
header {
  min-height: 50vh;
  display: grid;
  place-content: center;
}

h1 {
  font-size: 3rem;
  text-align: center;
  color: #eff0f3;
}

header p {
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.2px;
  margin-top: 1rem;
}

header .dot {
  color: #2a2a2a;
  font-weight: 400;
  margin-inline: 1rem;
  position: relative;
  top: -5px;
}

@media screen and (min-width: 768px) {
  header p {
    font-size: 1.5rem;
  }
  h1 {
    font-size: 4rem;
  }
}

/* SECTIONS */

h2 {
  font-size: 1.75rem;
  padding-block-end: 2rem;
}

h3 {
  font-size: 1.5rem;
  padding-bottom: 1.5rem;
}

section {
  padding-block: 3rem;
}

.layout--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem 4rem;
}

.no-gap {
  gap: 0 4rem;
}

li,
p {
  padding-bottom: 1rem;
}

.mentors__list {
  padding-left: 1rem;
}
.mentors__list li {
  padding-bottom: 0.25rem;
}

img {
  border-radius: 1rem;
  margin-bottom: 1rem;
}

/* CONTACT */
.contact-form {
  display: grid;
  gap: 1.5rem;
  max-width: 600px;
}

.form-label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  color: #2a2a2a;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  font-family: "Atkinson Hyperlegible", serif;
  font-size: 1rem;
  border: 1px solid #c8c8c8;
  background: #fffffe;
  color: #2a2a2a;
  border-radius: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ff8e3c;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 142, 60, 0.25);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
  accent-color: #ff8e3c;
}

.btn-submit {
  padding: 0.85rem 1.5rem;
  background: #ff8e3c;
  color: #fffffe;
  font-family: "Atkinson Hyperlegible", serif;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #e6782f;
}

.btn-submit:active {
  background: #c86628;
}

/* FOOTER */

footer {
  padding: 1rem;
}
