:root {
  font-size: 16px;
}

* {
  box-sizing: border-box;
  font-family: sans-serif;
}

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

h1 {
  font-size: 4rem;
  font-weight: 1000;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: normal;
  text-transform: none;
  margin: 0;
  margin-bottom: 1rem;
}

p {
  margin: 0;
}

img {
  max-width: 100%;
}

header,
.header-space {
  height: 80px;
}

header {
  position: fixed;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14),
              0 2px 1px 0 rgba(0, 0, 0, 0.12),
              0 1px 3px 0 rgba(0, 0, 0, 0.2);
  z-index: 1001;
}

.menu {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  padding: 0.5em 1em;
}

.menu-item a {
  padding: 1em;
  font-weight: bold;
  color: #000000;
  background-color: transparent;
  text-decoration: none;
}

.menu-item a:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.menu-item-cta a {
  margin-left: 1.5em;
  padding: 1em 2em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0.25em;
  background-color: #333333;
  color: #ffffff;
}

.menu-item-cta a:hover {
  background-color: #777777;
}

.container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

.container-flex {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  align-items: stretch;
  flex-wrap: wrap;
}

.atf {
  width: 100%;
  background-color: #eeeeee;
}

.atf-text,
.atf-image {
  float: left;
  margin: 0;
}

.atf-text {
  width: 60%;
  padding: 10rem 2rem;
  z-index: 1;
}

.atf-text .payoff {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1em;
  margin-bottom: 2rem;
}

.atf-text p {
  font-size: 1.5rem;
}

.atf-image {
  position: relative;
  width: 40%;
}

.atf-image img {
  display: block;
  position: absolute;
  bottom: -5rem;
  right: 0;
  width: 150%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
}

.about,
.services,
.courses,
.feedback,
.where-we-are,
.contact-us {
  padding: 6rem 0;
}

.services,
.feedback,
.contact-us {
  background-color: #eeeeee;
}

.container-title {
  padding: 1rem;
}

.about-left,
.about-right {
  width: 50%;
  padding: 0 1rem;
}

.services-left,
.services-right {
  width: 50%;
  padding: 0 1rem;
}

.services-right {
  padding-top: 2rem;
}

.services-right li {
  margin-bottom: 1em;
}

.courses h2,
.feedback h2,
.where-we-are h2 {
  text-align: center;
}

.course-wrapper {
  width: 33.333333%;
  padding: 1rem 2rem;
}

.course {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 1em;
  height: 4em;
  border: 1px solid #aaaaaa;
  box-shadow:
    0 1px 1px 0 rgba(0, 0, 0, 0.14),
    0 2px 1px 0 rgba(0, 0, 0, 0.12),
    0 1px 3px 0 rgba(0, 0, 0, 0.2);
}

.course-text {
  line-height: 1em;
  padding: 1em;
  text-align: center;
}

.video-container {
  width: 560px;
  max-width: 100%;
  margin: 0 auto;
}

.where-we-are-left,
.where-we-are-right {
  width: 50%;
  padding: 0 1rem;
}

.where-we-are-intro {
  font-size: 1.5rem;
  margin: 1em 0;
  text-align: center;
}

.where-we-are-address::before {
  content: '\f5a0';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 2em;
  position: absolute;
  top: 0;
  left: 0;
}

.where-we-are-address {
  position: relative;
  display: table;
  font-size: 1.25rem;
  margin: 2em auto;
  padding-left: 3em;
}

.where-we-are-contacts {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-top: 4em;
}

.where-we-are-contacts a {
  color: #333333;
  text-decoration: none;
}

.where-we-are-contacts a:hover {
  color: #777777;
}

.where-we-are-contacts .contact a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  font-weight: bold;
}

.where-we-are-contacts .contact a::before {
  content: '\f095';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 2em;
  line-height: 1em;
  box-sizing: border-box;
  padding: 0.5em;
  width: 2em;
  height: 2em;
  text-align: center;
  background-color: #777777;
  border-radius: 1em;
  color: #ffffff;
  margin-bottom: 0.5em;
}

.where-we-are-contacts .contact a:hover::before {
  background-color: #aaaaaa;
}

.where-we-are-contacts .contact a.contact-phone::before {
  content: '\f095';
}

.where-we-are-contacts .contact a.contact-mobile::before {
  content: '\f3ce';
}

.where-we-are-contacts .contact a.contact-email::before {
  content: '\f0e0';
}

.where-we-are-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 2em;
}

.contact-us-left,
.contact-us-right {
  width: 50%;
  padding: 1rem;
}

.contact-us-intro {
  margin: 2em 0;
}

.contact-us-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.form-field-full {
  width: 100%;
}

.form-field-half {
  width: 50%;
}

.form-field-text {
  position: relative;
  display: block;
  padding: 0.5em;
  font-size: 1rem;
}

.form-field-text input[type="text"],
.form-field-text input[type="email"] {
  width: 100%;
  font-size: inherit;
  padding: 1.3em 1em 0.7em;
  line-height: 1em;
  border-radius: 0.25em;
  border: 0;
}

.form-field-text .label {
  position: absolute;
  font-size: 0.8em;
  top: 1em;
  left: 1.5em;
  color: #444444;
}

.form-field-checkbox {
  padding: 0.5rem;
}

.form-field-checkbox input[type="checkbox"] {
  margin-right: 0.5em;
}

.form-buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin: 1em 0;
}

.form-buttons button {
  background-color: #777777;
  color: #ffffff;
  padding: 0.5em 1em;
  border: 0;
  border-radius: 0.25em;
  width: 6em;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
}

footer {
  width: 100%;
  background-color: #333333;
  color: #ffffff;
}

footer p {
  color: inherit;
  text-align: center;
  padding: 1em 2em;
}

@media screen and (max-width: 1200px) {

  :root {
    font-size: 14px;
  }
  
  .container {
    width: 960px;
  }

  .atf-text {
    padding: 5rem 2rem;
  }

  .about,
  .services,
  .courses,
  .feedback,
  .where-we-are,
  .contact-us {
    padding: 4rem 0;
  }

  .where-we-are-contacts {
    flex-direction: column;
    align-items: center;
    margin-top: 2em;
  }

  .where-we-are-contacts .contact {
    padding: 1em;
  }

}

@media screen and (max-width: 960px) {
  
  .container {
    width: 760px;
  }

  .atf-image img {
    bottom: 0;
    object-position: center;
  }

}

@media screen and (max-width: 768px) {

  .container {
    width: 100%;
    padding: 1rem;
  }

}