:root {
  --button-color: #272044;
  --alhambra-blush: #f2e1c1;
  --sunset-clay: #e6b89c;
  --olive-mist: #e7e4d2;
  --andalusian-sand: #faf3e0;
  --deep-charcoal: #2c2c2c;
  --contrast: #226d68;
}

* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* this line makes scrolling smoother */
}

body {
  font-family: "poppins", sans-serif;
  background-color: var(--olive-mist);
}
.container {
  max-width: 1400px;
  margin: 0 auto;
}

header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
    url("../images/Photo-by-Ali-Durmuş-Cevlan.jpg");

  color: var(--alhambra-blush);
  text-align: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 260px 0;
  background-position: center;
  object-fit: cover;
}

header h1 {
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
  margin: 30px 0;
}

header h2 {
  font-weight: 400;
  font-size: 40px;
  line-height: 1.5;
  margin: 0;
}

header h3 {
  font-weight: 900;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 5px;
  margin: 0;
}

header a {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  background-color: var(--alhambra-blush);
  text-decoration: none;
  color: var(--button-color);
  padding: 16px 32px;
  margin-top: 32px;
  display: inline-block;
}

.grid {
  display: grid;
  gap: 2rem; /* Optional: adds spacing between columns */
  padding: 1rem 0; /* Optional: adds vertical padding */
}

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

.grid-3-equal-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid-3-columns {
  grid-template-columns: 1fr 2fr 2fr;
}

.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto 0;
}

.first-col {
  display: flex;
  align-items: center; /* Vertical centering */
  justify-content: center; /* Horizontal centering */
  padding: 20px 40px;
}

.second-col {
  display: block;
  margin: auto 0;
  border: 1px solid var(--contrast);
  padding: 20px 40px;
}

.second-col p {
  line-height: 1.5;
  text-align: justify;
  letter-spacing: 0.3px;
  word-spacing: 0.5px;
}

main h2 {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 5px;
  opacity: 0.3;
  text-transform: uppercase;
}

main h3 {
  color: var(--contrast);
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
}

main p {
  color: var(--deep-charcoal);
  font-size: 16px;
}

.card h4 {
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: var(--button-color);
  margin-bottom: 8px;
}

.card h5 {
  font-weight: normal;
  font-size: 16px;
  line-height: 36px;
  color: black;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  line-height: 24px;
  opacity: 0.8;
}

main a.btn {
  display: block;
  background-color: var(--alhambra-blush);
  color: var(--button-color);
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px;
  text-decoration: none;
}

footer {
  color: var(--olive-mist);
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)),
    url("../images/Photo-by-Pixabay-footer.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  object-fit: cover;
  padding: 60px 20px;
}

footer a.website {
  text-decoration: none;
  color: var(--alhambra-blush);
}

footer a.website:hover {
  text-decoration: underline;
  color: var(--sunset-clay);
}

footer a.developer {
  text-decoration: none;
  color: var(--alhambra-blush);
}

footer a.developer:hover {
  text-decoration: underline;
  color: var(--sunset-clay);
}

footer h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: var(--sunset-clay);
}

footer ul {
  opacity: 0.7;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer p {
  font-weight: 400;
  font-size: 16px;
  opacity: 0.7;
  line-height: 1.5;
  text-align: justify;
  letter-spacing: 0.3px;
  word-spacing: 0.5px;
}

section {
  max-width: 100%;
  margin: 0 auto;
  padding: 100px;
}

section.secondary {
  background-color: var(--andalusian-sand);
  padding: 48px 24px;
}

.embeds {
  margin: 0;
  padding: 0;
}

.embed {
  display: block;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.instagram-media {
  width: 370px !important;
  height: 450px !important;
  max-width: 100% !important;
}

@media (max-width: 900px) {
  body {
    margin: auto 15px;
  }

  header {
    padding: 130px 0;
  }

  header h1 {
    font-size: 30px;
  }

  header h2,
  main h2 {
    font-size: 20px;
  }

  header h3,
  footer h3,
  main p,
  footer p {
    font-size: 12px;
  }

  main img {
    display: none;
  }

  .img-responsive {
    display: none;
  }

  .first-col {
    margin: 0;
    padding: 0;
  }

  section.secondary {
    padding: 24px 12px;
  }

  /*section.secondary p {
    line-height: 1.5;
    text-align: justify;
    letter-spacing: 0.3px;
    word-spacing: 0.5px;
  }*/

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

  footer {
    padding: 30px 10px;
  }
}
