html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

* {
  margin: 0;
  text-align: center;
  color: rgb(89, 67, 71);
}

body {
  background-color: rgb(242, 187, 201);
  cursor: url("../images/Mus.png"), auto;
  margin-top: 11rem;
  margin-bottom: 5rem;
  font-family: "Courier New", Courier, monospace;
}

a {
  color: rgb(89, 67, 71);
  text-decoration: dotted;
}

a:hover {
  font-style: italic;
  color: rgb(255, 255, 255);
  text-decoration: 2px wavy;
}

a:active {
  font-style: italic;
  color: rgb(255, 0, 0);
  text-decoration: 1px dotted;
}

p {
  font-size: 1em;
  margin-top: 5px;
  padding: 10px;
  max-width: 80%;
}

#socialmedia {
  margin-bottom: 5%;
}
#socialmedia p {
  font-style: italic;
  margin-bottom: 0px;
}

#facebook {
  width: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#facebook:hover {
  transform: scale(0.9);
}

#facebook:active {
  transform: scale(0.9);
}

#instagram {
  width: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#instagram:hover {
  transform: scale(0.9);
}
#instagram:active {
  transform: scale(0.9);
}

/* --- FORMS --- */

.contact-container {
  height: 50vh;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}

form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-evenly;
  width: 80%;
  height: 40vh;
}

.contact-input {
  background-color: rgb(242, 187, 201);
  margin-bottom: 10px;
  border-radius: 10px;
  height: 25px;
  width: 35%;
}
.contact-input:invalid {
  border: 1px solid #f294b6;
}
.contact-input:valid {
  border: 1px solid rgb(52, 201, 141);
}
.contact-input:focus {
  border: 1px solid white;
  outline: none;
}

.contact-input:active {
  border: 1px solid rgb(187, 40, 212);
}

.contact-input::placeholder {
  color: rgba(89, 67, 71, 0.5);
}

input[type="text"] {
  background-color: rgb(242, 187, 201);
}

input[type="email"] {
  background-color: rgb(242, 187, 201);
  width: 80%;
}

input[type="checkbox"] {
  margin-right: 10px;
  border: #f294b6;
  accent-color: #9b59b6;
}

.contact-message {
  background-color: rgb(242, 187, 201);
  border-radius: 20px;
  resize: none;
  width: 80%;
  height: 50%;
}

.contact-message:invalid {
  border: 1px solid #f294b6;
}

.contact-message:valid {
  border: 1px solid rgb(52, 201, 141);
}
.contact-message:focus {
  border: 1px solid white;
  outline: none;
}
.contact-message:active {
  border: 1px solid rgb(187, 40, 212);
}
.contact-message::placeholder {
  color: rgba(89, 67, 71, 0.5);
}

#newsletter {
  background-color: rgb(242, 187, 201);
  margin-bottom: 10px;
  border-radius: 10px;
  height: 25px;
  width: 70%;
}
#newsletter:invalid {
  border: 1px solid #f294b6;
}
#newsletter:valid {
  border: 1px solid rgb(52, 201, 141);
}
#newsletter:focus {
  border: 1px solid white;
  outline: none;
}

#newsletter:active {
  border: 1px solid rgb(187, 40, 212);
}

#newsletter::placeholder {
  color: rgba(89, 67, 71, 0.5);
}

#newsletterbutton {
  background: linear-gradient(180deg, rgb(242, 187, 201), rgb(242, 148, 182));
  border: 0px;
  border-radius: 20px;
  margin: 10px;
  padding: 0.5em;
  width: 90px;
}

button {
  background: linear-gradient(180deg, rgb(242, 187, 201), rgb(242, 148, 182));
  border: 0px;
  margin: 10px;
  padding: 0.5em;
  width: 90px;
}

button:hover {
  background: linear-gradient(360deg, rgb(242, 187, 201), rgb(242, 148, 182));
  color: white;
}

/* --- Element specific styling Below --- */

header {
  background: linear-gradient(360deg, rgb(242, 187, 201), rgb(242, 148, 182));
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 100px;
  border-radius: 0px 0pc 40px 40px;
  padding-bottom: 80px;
}

#header-div {
  display: grid;
  grid-area: auto;
  grid-template-areas:
    "top-left top-mid top-right"
    "bottom-left bottom-mid bottom-right";
  height: 80px;
  gap: 10px;
  text-align: center;
}

#logo {
  width: 250px;
  height: 100px;
  padding-top: 10px;
  padding-right: 20px;
  user-select: none;
  pointer-events: none;
}

.main-div {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(242, 187, 201);
  border: 1px solid rgba(244, 93, 229, 0.1);
  box-shadow: 3px 3px 20px 0px rgba(242, 148, 182, 0.5);
  border-radius: 20px;
  margin: auto;
  padding: 20px;
  margin-top: 30px;
  min-width: 40%;
  max-width: 60%;
}

.main-div p {
  margin: 10px auto;
  text-align: center;
}

.main-div h1 {
  color: rgb(237, 120, 163);
  font-size: 1em;
}
.main-div h2 {
  font-size: 1.4em;
  margin-top: 5px;
}
.main-div h3 {
  font-size: 1.1em;
  margin-top: 5px;
}

.main-div img {
  max-width: 90%;
  margin-top: 20px;
}
.main-div video {
  max-width: 90%;
  margin-top: 20px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px 40px 0px 0px;
  padding: 10px;
  background: linear-gradient(180deg, rgb(242, 187, 201), rgb(242, 148, 182));
  width: 100%;
  height: 2em;
  bottom: 0;
  position: fixed;
}

/* --- MOBILE VIEW --- */

@media (max-width: 480px) {
  p {
    font-size: 0.9em;
    margin-top: 10px;
    padding: 10px;
  }

  header {
    background: linear-gradient(360deg, rgb(242, 187, 201), rgb(242, 148, 182));
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 100px;
    border-radius: 0px 0pc 40px 40px;
    padding-bottom: 80px;
  }

  #header-div {
    display: grid;
    grid-area: auto;
    grid-template-areas:
      "top-left top-mid top-right"
      "bottom-left bottom-mid bottom-right";
    height: 70px;
    gap: 10px;
    text-align: center;
  }

  #logo {
    width: 250px;
    height: 100px;
    padding-top: 10px;
    padding-right: 20px;
    user-select: none;
    pointer-events: none;
  }

  .main-div {
    background-color: rgb(242, 187, 201);
    border: 1px solid rgba(244, 93, 229, 0.1);
    box-shadow: 3px 3px 20px 0px rgba(242, 148, 182, 0.5);
    border-radius: 20px;
    margin: auto;
    padding: 20px;
    margin-top: 30px;
    min-width: 40%;
    max-width: 80%;
  }

  .main-div h1 {
    font-size: 1em;
  }
  .main-div h2 {
    margin-top: 5px;
    font-size: 1.1em;
  }
  .main-div h3 {
    margin-top: 5px;
    font-size: 0.9em;
  }

  .contact-container {
    height: 50vh;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    width: 100%;
  }

  form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-evenly;
    width: 100%;
    height: 50vh;
  }

  .contact-input {
    background-color: rgb(242, 187, 201);
    margin-bottom: 10px;
    border-radius: 10px;
    height: 25px;
    width: 40%;
  }
  .contact-input:invalid {
    border: 1px solid #f294b6;
  }
  .contact-input:valid {
    border: 1px solid rgb(52, 201, 141);
  }
  .contact-input:focus {
    border: 1px solid white;
    outline: none;
  }

  .contact-input:active {
    border: 1px solid rgb(187, 40, 212);
  }

  .contact-input::placeholder {
    color: rgba(89, 67, 71, 0.5);
  }

  input[type="text"] {
    background-color: rgb(242, 187, 201);
  }

  input[type="email"] {
    background-color: rgb(242, 187, 201);
    width: 87%;
  }

  input[type="checkbox"] {
    margin-right: 10px;
    border: #f294b6;
    accent-color: #9b59b6;
  }

  .contact-message {
    background-color: rgb(242, 187, 201);
    border-radius: 20px;
    resize: none;
    width: 87%;
    height: 50%;
  }

  button {
    background: linear-gradient(180deg, rgb(242, 187, 201), rgb(242, 148, 182));
    border: 0px;
    margin: 10px;
    padding: 0.5em;
    width: 90px;
  }

  #newsletter {
    background-color: rgb(242, 187, 201);
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    height: 25px;
    width: 90%;
  }

  #newsletterbutton {
    background: linear-gradient(180deg, rgb(242, 187, 201), rgb(242, 148, 182));
    border: 0px;
    border-radius: 20px;
    margin: 10px;
    margin-top: 1px;
    padding: 0.5em;
    width: 70px;
  }
}

/* --- TABLET VIEW --- */

@media (min-width: 481px) and (max-width: 980px) {
  p {
    font-size: 0.9em;
    margin-top: 10px;
    padding: 10px;
  }

  header {
    background: linear-gradient(360deg, rgb(242, 187, 201), rgb(242, 148, 182));
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 100px;
    border-radius: 0px 0pc 40px 40px;
    padding-bottom: 80px;
  }

  #header-div {
    display: grid;
    grid-area: auto;
    grid-template-areas:
      "top-left top-mid top-right"
      "bottom-left bottom-mid bottom-right";
    height: 70px;
    gap: 10px;
    text-align: center;
  }

  #logo {
    width: 250px;
    height: 100px;
    padding-top: 10px;
    padding-right: 20px;
    user-select: none;
    pointer-events: none;
  }

  .bottom-mid {
    padding-bottom: 10px;
  }

  .main-div {
    background-color: rgb(242, 187, 201);
    border: 1px solid rgba(244, 93, 229, 0.1);
    box-shadow: 3px 3px 20px 0px rgba(242, 148, 182, 0.5);
    border-radius: 20px;
    margin: auto;
    padding: 20px;
    margin-top: 30px;
    min-width: 40%;
    max-width: 80%;
  }

  .main-div h1 {
    font-size: 1em;
  }
  .main-div h2 {
    margin-top: 5px;
    font-size: 1.1em;
  }
  .main-div h3 {
    margin-top: 5px;
    font-size: 0.9em;
  }

  .contact-container {
    height: 50vh;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: center;
    width: 100%;
  }

  form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-evenly;
    width: 100%;
    height: 50vh;
  }

  button {
    background: linear-gradient(180deg, rgb(242, 187, 201), rgb(242, 148, 182));
    border: 0px;
    margin: 10px;
    padding: 0.5em;
    width: 90px;
  }

  #newsletter {
    background-color: rgb(242, 187, 201);
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    height: 25px;
    width: 70%;
  }

  #newsletterbutton {
    background: linear-gradient(180deg, rgb(242, 187, 201), rgb(242, 148, 182));
    border: 0px;
    border-radius: 20px;
    margin: 10px;
    padding: 0.5em;
    width: 70px;
  }
}
