@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f6e3e2;
}

.container {
  max-width: 800px;
  margin: 20px auto;
}

.header {
  padding: 8px;
  display: grid;
  margin-bottom: 100px;
  grid-template-columns: 1fr 1fr;
}

.logo {
  color: #f70848;
  font-weight: 700;
  font-optical-sizing: auto;
  font-family: "Dancing Script", cursive;
}

.dot {
  color: #fff;
}

.nav-bar {
  display: flex;
  font-size: 20px;
  align-items: center;
  justify-content: space-around;
}

.nav-bar li {
  list-style: none;
}

li a {
  color: #fff;
  border-radius: 10px;
  font-weight: bold;
  padding: 6px 9px;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  background-color: #f75f85;
  font-family: "Courier New", Courier, monospace;
  transition: all 250ms ease-in-out;
}

li a:hover {
  background: #f70848;
}

.hero {
  margin: auto;
  max-width: 500px;
  margin-bottom: 100px;
  font-family: "Courier New", Courier, monospace;
}

.greeting {
  font-size: 50px;
  color: #f75f85;
  text-align: center;
}

.about {
  margin: auto;
  max-width: 500px;
}

h3 {
  font-size: 24px;
  color: #f75f85;
  margin-bottom: 16px;
  text-decoration: underline;
  font-family: "Courier New", Courier, monospace;
}

h4 {
  margin-top: 20px;
  font-size: 24px;
}

p.intro {
  line-height: 1.5;
  margin-bottom: 20px;
  font-family: "Courier New", Courier, monospace;
}

.TM-images {
  display: flex;
  margin: 20px 0;
  justify-content: space-around;
}

.TM-images img {
  width: 220px;
  height: 134px;
  border-radius: 5px;
}

p.about-TM {
  line-height: 1.5;
  font-size: 14px;
  font-family: monospace;
  margin-bottom: 20px;
}

.btn {
  border: none;
  color: #fff;
  display: block;
  font-size: 18px;
  margin: 0 auto 20px;
  font-weight: bold;
  padding: 15px 20px;
  border-radius: 10px;
  background-color: #f75f85;
  transition: all 250ms ease-in-out;
  font-family: "Courier New", Courier, monospace;
}

.btn:hover {
  cursor: pointer;
  background-color: #f70848;
}

.contact-heading {
    text-align: center;
    margin-top: 20px;
}

.contact form {
  margin: 20px auto;
  max-width: 230px;
}

form input {
  width: 100%;
  border: none;
  outline: none;
  margin: 10px 0;
  padding: 8px 0 8px 3px;
  border-radius: 5px;
  font-family: "Courier New", Courier, monospace;
}

textarea {
  width: 100%;
  border: none;
  outline: none;
  border-radius: 5px;
  margin: 10px 0;
  padding: 3px 0 0 3px;
  font-family: 'Courier New', Courier, monospace;
}

.send {
  color: #fff;
  border: none;
  outline: none;
  font-weight: bold;
  display: block;
  border-radius: 5px;
  margin: 10px auto;
  padding: 6px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: #f75f85;
  transition: all 250ms ease-in-out;
  font-family: "Courier New", Courier, monospace;
}

.send:hover {
  cursor: pointer;
  background-color: #f70848;
}

.footer {
  margin: 40px 0;
}

.footer p {
  text-align: center;
  font-family: "Courier New", Courier, monospace;
}

p a {
  color: #f70848;
  text-decoration: none;
  font-family: "Dancing Script", cursive;
  transition: all 250ms ease-in-out;
}

p a:hover {
  text-decoration: underline;
}

/* Media Queries */

@media (max-width: 600px) {
.container {
    max-width: 70%;
}

.header {
    max-width: 100%;
    margin-bottom: 40px;
}

  .logo {
    font-size: 12px;
  }

  .hero {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .hero h2 {
    font-size: 18px;
  } 

  .nav-bar,
  .send {
    font-size: 6px;
  }

  .about {
    max-width: 100%;
  }

  .btn {
    font-size: 12px;
    padding: 10px 14px;
  }

  .nav-bar li {
    margin: 0 6px;
  }

  .greeting {
    font-size: 20px;
  }

  h3,
  h4 {
    font-size: 12px;
  }

  p.intro,
  p.about-TM,
  .footer {
    font-size: 10px;
  }

  .TM-images {
    display: block;
    max-width: 100%;
  }

  .TM-images img {
    width: 100%;
    height: 164px;
    margin: 10px 0;
  }

  form input,
  textarea {
    font-size: 10px;
    font-family: 'Courier New', Courier, monospace;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .logo {
    font-size: 18px;
  }

  .nav-bar,
  .send {
    font-size: 12px;
  }

  .btn {
    font-size: 10px;
    padding: 8px 12px;
  }

  .nav-bar li {
    margin: 0 8px;
  }

  .greeting {
    font-size: 22px;
  }

  h3,
  h4 {
    font-size: 16px;
  }

  p.intro,
  p.about-TM,
  .footer {
    font-size: 14px;
  }

  .TM-images img {
    width: 180px;
    height: 106px;
  }

  form input,
  textarea {
    font-size: 14px;
  }
}