@import "./reset.css";

:root {
  --gold: #978668;
  --white: #fff;
  --grey: #333;
}

* {
  font-family: sans-serif;
}

h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
}

h3 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--white);
}

p {
  font-size: 1.25rem;
  font-weight: 100;
  color: var(--gold);
}

a {
  font-size: 1.25rem;
  color: inherit;
  text-decoration: none;
}

body {
  background-color: var(--grey);
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  top: 0;
  left: 0;
  right: 0;
  height: 10vh;
  width: 100vw;
}

header h3 a {
  color: var(--white);
}

header a {
  color: var(--gold);
}

div {
  width: 55%;
  margin-bottom: 20px;
}

section {
  width: 55%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  row-gap: 30px;
}

section div {
  background-color: var(--white);
  width: 45%;
  height: 18vh;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: space-around;
  padding: 1rem;
  margin-bottom: 0;
}

section div:nth-child(even) {
  text-align: right;
}

section div h3 {
  font-size: 1.5rem;
  color: var(--gold);
}

section div p {
  font-size: 1.15rem;
}

section div ul li {
  font-size: 0.9rem;
  color: var(--grey);
}

section a {
  color: var(--gold);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8vh;
  width: 100vw;
}

@media screen and (max-width: 1000px) {
  h1 {
    font-size: 3.5rem;
  }
  div {
    width: 65%;
  }
  section {
    width: 65%;
  }
}

@media screen and (max-width: 900px) {
  h1 {
    font-size: 3rem;
  }
  div {
    width: 75%;
  }
  section {
    width: 75%;
  }
}

@media screen and (max-width: 800px) {
  h1 {
    font-size: 2.5rem;
  }
  div {
    width: 95%;
  }
  section {
    width: 95%;
    flex-direction: column;
  }
  section div {
    margin-bottom: 1rem;
    width: 90%;
  }
}
