/* ==========================
   GLOBAL RESET
========================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: #faf8f5;
  color: #222;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
}


/* ==========================
   CONTAINER
========================== */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}


/* ==========================
   TYPOGRAPHY
========================== */

h1,
h2,
h3 {
  font-family: "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.2;
}

h1 {
  font-size: 70px;
}

h2 {
  font-size: 42px;
}

p {
  font-size: 17px;
}


/* ==========================
   NAVIGATION
========================== */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 0;
}

nav a {
  text-decoration: none;
  color: #222;
  margin-left: 30px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav a:hover {
  opacity: .6;
}


/* ==========================
   HERO SECTION
========================== */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  max-width: 900px;
}


/* ==========================
   IMAGES
========================== */

img {
  width: 100%;
  height: auto;
  display: block;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}


/* ==========================
   SECTIONS
========================== */

section {
  padding: 100px 0;
}


/* ==========================
   BUTTONS
========================== */

.button {
  display: inline-block;
  padding: 15px 35px;
  border: 1px solid #222;
  text-decoration: none;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  transition: .3s;
}

.button:hover {
  background: #222;
  color: white;
}


/* ==========================
   FOOTER
========================== */

footer {
  padding: 60px 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 2px;
}


/* ==========================
   MOBILE
========================== */

@media(max-width:768px){

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  nav {
    flex-direction: column;
    gap:20px;
  }

  nav a {
    margin:0 10px;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding:60px 0;
  }

}
