/* Google font imports */
@import url("https://fonts.googleapis.com/css2?family=Fredericka+the+Great&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Asterisk wildcard selector to override default styles added by the browser */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* General styles - default across all pages*/
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Generic project styles */
  color: #3a3a3a;
  font-family: "Poppins", sans-serif;
}

h1,
.logo-styled {
  font-family: "Fredericka The Great", sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #fb5278;
}

h2,
h3 {
  font-family: "Poppins", sans-serif;
  letter-spacing: 5px;
  color: #019fdc;
}

/* Header */
header {
  background-color: #ffffff;
  padding: 2px 1rem;
  position: fixed;
  z-index: 99;
  width: 100%;
  box-shadow: 0 1px 1px #fb5278;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

header a {
  text-decoration: none;
  color: inherit;
}

#menu {
  font-size: 110%;
  letter-spacing: 3px;
  list-style-type: none;
}

#menu>li {
  margin-bottom: 1em;
}

.enable {
  border-bottom: 1px solid #fb5278;
}

/* Navbar styles with dropdown toggle */
nav {
  position: absolute;
  background-color: #ffffff;
  width: 100%;
  left: 0;
  padding: 0 1rem;
  box-shadow: 0 1px 1px #fb5278;
  display: none;
  top: 100%;
}

/* Nav toggle */
#nav-toggle:checked~nav {
  display: block;
}

#nav-toggle {
  display: none;
}

.nav-toggle-label {
  font-size: 2rem;
}

/* Main Content */
main {
  /* Make main element take up any surplus space to push footer down */
  flex: 1 0 auto;
  margin-top: 47px;
  display: flex;
  flex-direction: column;
}

/* Hero section */
#hero-hobbies {
  width: 100%;
  background: url("../images/hero-sprinkles-1.webp");
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 0 auto;
  flex-direction: column;
}

/* Main banner */
#welcome-message {
  background-color: #ffd3cd;
  font-size: 200%;
  bottom: 50px;
  width: 100%;
  min-height: 200px;
  padding-top: 50px;
  padding-left: 15px;
  padding-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#welcome-message>h2 {
  font-size: 100%;
  text-align: center;
}

#welcome-about {
  background-color: #a7d3bc;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 20px; /* Add some margin to separate it from #welcome-message */
  width: 90%; /* Parent already 100% - making this responsive */
  max-width: 50rem; /* Allow us to centre content while switching between scrrens */
  padding: 2em; /* Making screen beautiful */
  text-align: center;
  font-weight: 500;
}

#welcome-about > h3 {
  font-family: "Poppins", sans-serif;
  font-size: x-large;
  color: #fb5278;
}

/* Discover Page - specific to (with Gallery) */
.discover-choose {
  background-color: #fb5278;
  font-size: 200%;
  bottom: 50px;
  width: 100%;
  min-height: 200px;
  padding-top: 50px;
  padding-left: 15px;
  padding-bottom: 30px;
  padding-right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  margin: 50px 50px;
}

.discover-choose > h2 {
  font-family: "Fredericka The Great", sans-serif;
  letter-spacing: 6px;
  color: #6be6a8;
}

.photos {
  border-style: solid;
  border-color: #fb5278;
  border-radius: 20px;
}

.our-hobbies {
  background: url("../images/hero-sprinkles-1.webp");
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  padding: 5px;
}

.our-hobbies .cubicle {
  height: 400px;
  width: 400px;
  margin-bottom: 20px;
}

.our-hobbies .cubicle img {
  width: 100%;
  height: 90%;
  object-fit: cover;
}

.cubicle>h3 {
  color: #3a3a3a;
  font-weight: 600;
  height: 10%;
  background-color: #6be6a8;
  border-radius: 20px 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Signup Page - specific to */
#hero-hobbies-subscribe {
  width: 100%;
  background: url("../images/hero-sprinkles-1.webp");
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 0 auto;
  flex-direction: row;
  flex-wrap: wrap; /* Allows items to move freely on smaller screens */
}

.form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px;
}

.signup-container {
  background-color: #6be6a8;
  font-size: 100%;
  min-height: 200px;
  padding: 50px;
  padding-left: 15px;
  padding-bottom: 50px;
  padding-right: 15px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.signup-container>h2 {
  padding-bottom: 20px;
  color: #fb5278;
  font-weight: bold;
}

.label-form {
  padding-top: 5px;
  padding-bottom: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#input-field-first-name,
#input-field-last-name,
#input-field-email {
  height: 1.5rem;
  width: 100%;
  padding: 4px 8px;
  border-radius: 5px;
}

.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button {
  background-color: #2fc194;
  border: none;
  color: #ffffff;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.25rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0.3rem 0.6rem #fb5278;
  margin-top: 1.8rem;
}

.newsletter-container {
  background-color: #cba0cc;
  font-size: 100%;
  min-height: 200px;
  padding: 25px;
  padding-bottom: 45px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.signup-about {
  background-color: #ffd3cd;
  border-radius: 8px;
  box-shadow: 0.3rem 0.6rem #fb5278;
  margin-top: 1.8rem;
  padding: 10px;
}

.form-section .signup-container,
.form-section .newsletter-container {
  max-width: 330px;
  border-radius: 10px;
  box-shadow: 0.3rem 0.6rem #fb5278;
}

/* Response Page - specific to */
.response-section div {
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  background-color: #019fdc;
  height: 350px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0.3rem 0.6rem #fb5278;
}

.response-section p {
  font-size: 140%;
  text-align: center;
}

/* Footer - all pages */
#socials {
  text-align: center;
  padding: 20px 0;
  display: flex;
  justify-content: space-evenly;
  list-style-type: none;
  background-color: #ffffff;
}

#socials i {
  font-size: 150%;
  padding: 5%;
  color: #fb5278;
}

/* MEDIA QUERY: tablets & larger (768px & up) */
@media screen and (min-width: 768px) {

  /* Header */
  nav {
    display: block;
    position: relative;
    box-shadow: none;
    width: fit-content;
    padding-right: 1rem;
  }

  #menu {
    display: flex;
  }

  #menu>li {
    padding-left: 1rem;
  }

  .nav-toggle-label {
    display: none;
  }

  #logo {
    font-size: 280%;
    line-height: 75px;
    margin: 0 0.5rem;
  }

  /* Main Content */
  main {
    /* Push main content down to accommodate larger header */
    margin-top: 83px;
  }

  /* Hero Image */
  #welcome-message {
    width: 100%;
  }

  /* Sign Up Page */
  .form-section {
    flex-direction: row;
  }

  .label-form {
    flex-direction: row;
  }

  .label-form input {
    width: 80%;
  }

  .label-form label {
    width: 20%;
  }

  .form-section .signup-container,
  .form-section .newsletter-container {
    height: 450px;
  }
}

/* MEDIA QUERY: Large devices (laptops & desktops, 992px & up) */
@media screen and (min-width: 992px) {
  #menu a:hover {
    border-bottom: 1px solid #fb5278;
  }

  #welcome-message {
    flex-direction: row;
  }

  .logo-styled {
    padding: 0 10px;
  }
}