@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

body {
  font-family: "Source Sans Pro", sans-serif;
}

nav {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  background-color: #4d4242;
}

a {
  text-decoration: none;
  transition: border-bottom 0.15s;
}

h1,
h3 {
  color: white;
  font-weight: 400;
}

/* LOGO LINK */

.large-image {
  background-image: url("./imgs/BGimage.jpg");
}

.logo {
  font-size: 2.5rem;
}

.logo-link {
  color: #ffd500;
}

/* NAV LINKS */

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 45%;
  padding: 0 4rem;
}

.navigation a {
  font-size: 1.4rem;
  color: white;
  border-bottom: 2px solid transparent;
}

.navigation a:hover {
  color: #ffd500;
  border-bottom: 2px solid #ffd500;
}

/* MAIN QUOTE */

.main-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 40%;
  font-size: 1.5rem;
  padding: 2rem;
  height: 75vh;
}

.main-quote h1,
.main-quote h3 {
  margin-bottom: 1.5rem;
}

.join-a-class {
  color: #ffd500;
  border-bottom: 2px solid transparent;
  align-self: flex-start;
}

.join-a-class:hover {
  border-bottom: 2px solid #ffd500;
}

/* FUTURE CLASSES */

.upcoming {
  background-color: #2b1f1f;
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;
  padding: 2rem 0 2rem 0;
}

.upcoming h3 {
  padding: 0 0 2rem 5rem;
  align-self: flex-start;
  font-size: 1.5rem;
}

.classes-list {
  width: 70%;
  display: flex;
  justify-content: space-around;
  margin-bottom: 2.2rem;
}

.classes-list li {
  list-style: none;
}

.classes-list li img {
  height: 250px;
  width: 250px;
  background-color: red;
}

.view-more {
  font-size: 1.2rem;
  color: white;
  padding: 10px 14px;
  background-color: #4d4242;
}

figcaption {
  color: white;
}

/* MAILING LIST */

.mailing-list {
  padding: 5rem;
  background-color: #4d4242;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mailing-list-container {
  width: 80%;
  display: flex;
  justify-content: space-between;
}

.mailing-list-container .join-us {
  text-transform: uppercase;
  color: white;
  font-size: 1.5rem;
  width: 20%;
}

.mailing-list-container .sign-up-form {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
}

#email {
  width: 45%;
  padding: 0.5rem;
}

.sign-up-form button {
  align-self: center;
  margin-left: 2rem;
  margin-bottom: 10px;
  background-color: #ffd500;
  padding: 10px 2rem 8px 2rem;
  text-decoration: none;
  border: none;
  text-transform: uppercase;
  border-radius: 5px;
}

/* FOOTER */

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 1.5rem;
}

.footer-logo {
  font-size: 1.3rem;
}

.contact-info > * {
  font-size: 1.3rem;
}

.location {
  margin-bottom: 10px;
}

.social-media {
  display: flex;
}

.social-media a {
  margin: 1.5rem;
  width: 40px;
}

/* CLASSES.HTML CSS */

.class-container {
  padding: 4rem 5rem;
  background-color: #2b1f1f;
}

.classes-right {
  display: flex;
  flex-direction: row-reverse;
  text-align: right;
  color: white;
}

.classes-left {
  display: flex;
  color: white;
}

.classImg {
  padding: 1.5rem 0;
  max-width: 35%;
}

.class-info {
  padding: 2rem;
}

.class-info p {
  font-size: 1.5rem;
}

.curriculum {
  margin: 1rem 0;
}

.class-info .time {
  font-size: 1rem;
}

.class-info h2 {
  font-size: 3rem;
  font-weight: 400;
  color: #ffd500;
}

/* CONTACT.HTML CSS */

.map-container {
  display: flex;
  padding: 5rem;
  justify-content: center;
  align-items: center;
}

.map-container h1 {
  color: black;
}

.map-container div {
  width: 300px;
  margin-right: 0.8rem;
}

.map-container li {
  width: 100%;
  display: flex;
  padding: 0.8rem 0;
  font-size: 1.1rem;
  justify-content: space-between;
}

.map-container li div {
  width: 25%;
}

.map-container li div:nth-child(2) {
  width: 75%;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  background-color: #4d4242;
  padding: 5rem;
}

.form-text {
  width: 40%;
  font-size: 1.5rem;
}

.form-text p {
  margin: 10px;
}

.form-container div {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* GRABBED FROM w3schools.com :) */

input[type="text"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 1rem;
  resize: vertical;
}

input[type="submit"] {
  background-color: #ffd500;
  color: black;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #ffd500;
}
