@import "./reset.css";

:root {
  --primary-color: rgb(76, 0, 255);
  --header-footer-color: rgb(0, 0, 0);
  --section-color: rgb(56, 52, 66);
  --text-color: rgb(254, 253, 255);
}

.container {
  max-width: min(100% - 30px, 1080px);
  margin-inline: auto;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

header {
  background-color: var(--header-footer-color);
  color: var(--text-color);
  height: 6rem;
}

h1 {
  font-size: 2rem;
  line-height: 6rem;
}

.header-container,
.navigation-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.navigation-links a {
  color: rgb(198, 198, 198);
  transition: all 0.3s ease-in-out;
}

.navigation-links a:hover {
  color: var(--text-color);
}

/* HERO SECTION */
.hero-section {
  background: url(../media/hero-bg.jpg) no-repeat center/cover;
  height: 70rem;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text-color);
}

.hero-container {
  padding-inline: 10rem;
}

.hero-container h2 {
  font-size: 5rem;
}

.hero-container p {
  font-size: 2rem;
  margin-top: 1rem;
}

.hero-container button {
  margin-top: 2.5rem;
}

button {
  background-color: var(--primary-color);
  font-size: 1.6rem;
  padding: 1rem;
  border-radius: 5px;
  color: var(--text-color);
  width: 15rem;
  transition: all 0.3s ease-in-out;
}

button:hover {
  width: 20rem;
}

/* Main Section */
.team-section {
  padding: 60px 20px;
  text-align: center;
}

.team-section h2 {
  font-size: 30px;
  margin-bottom: 40px;
}

section ul {
  display: flex;
  justify-content: center;
  gap: 40px;
}

section ul li {
  width: 200px;
}

.img-container {
  border-radius: 10px;
  width: 20rem;
  height: 30rem;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: #ccc;
}

.img-container img {
  object-fit: cover;
}

section ul li p:first-of-type {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 20px;
}

section ul li p:last-of-type {
  font-size: 14px;
  color: #555;
}

/* Contact Section */
.contact-section {
  background-color: var(--section-color);
  color: white;
  padding: 40px;
}

.contact {
  display: flex;
  align-items: center;
  flex-direction: column;
}

form {
  display: grid;
  width: 50%;
}

input,
textarea {
  border: 1px solid black;
  border-radius: 5px;
}

label {
  margin-top: 10px;
}

form button {
  margin-top: 25px;
  width: fit-content;
  justify-self: center;
}

footer {
  background-color: var(--header-footer-color);
  text-align: center;
  color: white;
  height: 60px;
  font-size: 14px;
  padding: 1rem 0;
}

/* RESPONSIVE (mobile) */
@media (max-width: 768px) {
  section ul {
    flex-direction: column;
    align-items: center;
  }
}
