@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
@import url('http://fonts.cdnfonts.com/css/cocogoose');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

a {
  text-decoration: none;
}

a:active {
  color: #ec5242;
}

a:hover {
  color: #ec5242;
}

ul {
  list-style: none;
}

img {
  display: block;
  width: 100%;
}

.social-header {
  background-color: black;
  padding: 10px 0;
  display: none;
}

.social-header .social-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 30%;
}

.top-social-icon {
  margin-right: 50px;
}

.top-social-icon a {
  color: #fff;
}

.top-social-icon a:active {
  color: #ec5242;
}

.top-social-icon a:hover {
  color: #ec5242;
}

.main-header {
  height: 0;
}

.logo {
  display: flex;
  align-items: center;
  padding: 0 5%;
  visibility: hidden;
}

.logo img {
  height: 75px;
  width: auto;
}

.company-name {
  color: #272a31;
  font-family: 'Lato0', sans-serif;
  font-weight: 700;
  font-size: 20px;
  padding: 0;
}

.company-name:hover {
  color: #ec5242;
}

.menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 30px;
  left: 30px;
  padding-bottom: 5%;
  z-index: 3;
}

.hide-menu {
  visibility: hidden;
}

.menu .bar {
  width: 30px;
  height: 3px;
  margin: 3px 0;
  background-color: #272a31;
  cursor: pointer;
  visibility: visible;
}

.open {
  position: absolute;
  right: 10px;
  top: 10px;
}

.open .line-1 {
  transform: rotate(-45deg) translate(6px, 6px);
  position: absolute;
  top: 30px;
  right: 30px;
  background-color: #fff;
}

.open .line-2 {
  opacity: 0;
}

.open .line-3 {
  transform: rotate(45deg) translate(6px, -6px);
  position: absolute;
  top: 30px;
  right: 30px;
  background-color: #fff;
}

.menu-overlay {
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #272a31;
  opacity: 1;
  transition: 0.5s;
  z-index: 2;
}

.main-nav {
  display: flex;
  flex-direction: column;
}

.main-nav .meetup {
  border: 2px solid #ec5242;
  padding: 10px;
  color: #ec5242;
  font-family: "lato", Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.main-nav li {
  padding: 15px;
}

.main-nav .nav-link {
  color: #fff;
  font-family: 'lato', sans-serif;
  font-size: 20px;
}

.main-nav .nav-link:hover {
  color: #ec5242;
}

.desk-link {
  display: block;
}

.head-line {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url(../images/amobile-bg.png);
  background-size: cover;
  background-position: 0 4rem;
  z-index: -1;
}

.head-line .motto {
  font-family: 'cocogoose', Arial, Helvetica, sans-serif;
  color: transparent;
  text-transform: uppercase;
  font-size: 30px;
  padding: 10px;
  padding-top: 0;
  margin: 0 10px;
  width: 13ch;
  line-height: 1;
}

.head-line .clip {
  color: transparent;
  background-image: linear-gradient(to right, #ff1f0fba, #e3321e38), url("../images/teamwork.jpg");
  -webkit-background-clip: text;
  background-clip: text;
}

.head-line .title-secondary {
  font-family: 'lato', sans-serif;
  color: #ec5242;
  padding: 10px;
  font-size: 26px;
  font-weight: 400;
  margin: 120px 10px 0 0;
}

.text-description-bg {
  padding: 10px;
  margin: 0 10px;
  border: 3px solid #fff;
  z-index: 1;
  background-color: #f7f7f8;
  position: relative;
  width: 60%;
}

.text-description-bg .text-description {
  font-size: 15px;
  font-family: 'lato', sans-serif;
}

.head-line .cn-bold {
  font-size: 20px;
  font-weight: 300;
  font-family: 'cocogoose', Arial, Helvetica, sans-serif;
  margin: 10px 20px 0;
  color: #474747;
}

.head-line .address {
  font-size: 15px;
  font-family: 'lato', sans-serif;
  margin: 0 20px 20px 20px;
}

.container {
  background-image: url(../images/brickwall.jpg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #111;
  padding: 5% 0;
  background-position: 100% 100%;
  width: 100%;
}

.courses {
  display: flex;
  flex-direction: column;
}

.container .title {
  text-align: center;
  margin: 20px;
  color: #fff;
  font-family: 'lato', Arial, Helvetica, sans-serif;
}

.container .title::after {
  content: "";
  display: block;
  border: 1px solid #ec5242;
  width: 100px;
  text-align: center;
  margin: 10px auto;
}

.course-card {
  display: flex;
  align-items: center;

  /*  gap: 20px; */
  background-color: #272a31;
  margin: 3px;
  color: #fff;
  padding: 10px 5px;
  opacity: 0.8;
  flex: 1;
}

.awsome-icon {
  font-size: 30px;
  color: #fff;
  height: 25px;
  width: 25px;
}

.course-card .course-name {
  font-size: 18px;
  font-family: 'lato', Arial, Helvetica, sans-serif;
  color: #ec5242;
  padding: 5px;
}

.course-card .text-description {
  font-size: 15px;
  font-family: 'lato', Arial, Helvetica, sans-serif;
  width: 90%;
  justify-self: end;
}

.course-intro {
  min-width: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.courses-link {
  text-decoration: none;
  color: #fff;
  padding: 20px;
  font-size: 25px;
  font-family: 'lato', Arial, Helvetica, sans-serif;
  text-align: center;
  background-color: #ec5242;
  margin: 5%;
}

.courses-link:hover {
  background-color: #fff;
}

.our-team {
  display: flex;
  flex-direction: column;
  margin: 0 5%;
  padding: 10px;
  background-color: #fff;
}

.our-team .title-secondary {
  padding: 10px;
  margin-bottom: 30px;
  text-align: center;
  font-size: 25px;
  font-family: 'lato', Arial, Helvetica, sans-serif;
}

.our-team .title-secondary::after {
  content: "";
  display: block;
  border: 1px solid #ec5242;
  width: 50px;
  text-align: center;
  margin: 10px auto;
}

.team {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 6% 0;
  padding: 10px;
}

.team:hover {
  border: 1px solid #d5d9e2;
}

.profile-img {
  position: relative;
  margin-right: 30px;
  height: 150px;
  width: 150px;
  object-fit: cover;
  background-color: #272a31;
}

.chess-img {
  height: 70px;
  width: 60px;
  margin-top: -20px;
  margin-right: -40px;
  background-color: #fff;
  opacity: 0.4;
}

.team-name {
  font-family: 'lato', Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: #272a31;
  margin-bottom: 5px;
}

.position {
  font-family: 'lato', Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #ec5242;
  margin-bottom: 20px;
  font-style: italic;
}

.position::after {
  content: "";
  display: block;
  border: 1px solid #989ca5;
  width: 20px;
  margin: 10px 0;
  opacity: 0.5;
}

.rule {
  font-family: 'lato', Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #272a31;
}

.partner-conatiner {
  background-color: rgb(39, 41, 48);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2%;
}

.partner-conatiner .title-secondary {
  color: #fff;
}

.partner-conatiner .title-secondary::after {
  content: "";
  display: block;
  margin: 10px auto;
  border: 1px solid #ec5242;
  width: 50px;
}

.partners {
  display: flex;
  width: 80%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.partners div {
  padding: 10px;
}

.partner-img {
  width: 100px;
  height: 100px;
}

.footer {
  display: flex;
  flex-direction: row;
  background-color: white;
  padding: 20px;
  justify-content: center;
  align-items: center;
}

.footer .footer-logo {
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.footer .footer-logo img {
  height: 100px;
  width: auto;
  margin-right: 20px;
}

.footer p {
  font-family: 'lato', Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #272a31;
  padding: 20px;
}

@media screen and (min-width: 768px) {
  .social-header {
    display: flex;
    justify-content: flex-end;
  }

  .main-header {
    height: 80px;
    border-bottom: 1px solid #eee;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    z-index: 1;
    position: relative;
  }

  .main-nav {
    visibility: visible;
    flex-direction: row;
    justify-content: flex-start;
  }

  .main-header .logo {
    visibility: visible;
  }

  .desk-link {
    display: none;
  }

  .head-line {
    min-height: 110vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    padding-right: 20%;
    background-image: url(../images/amobile-bg.png);
    background-size: cover;
  }

  .bar {
    opacity: 0;
  }

  .main-nav .nav-link {
    color: #272a31;
    font-size: 18px;
  }

  .main-nav .nav-link:hover {
    color: #ec5242;
  }

  .text-description-bg {
    /* background-color: #fff; */
    margin-right: 50%;
    margin-top: 2%;
    padding: 2%;
  }

  .head-line .motto {
    font-family: 'COCOGOOSE', sans-serif;
    color: transparent;
    text-transform: uppercase;
    font-size: 50px;
    padding: 10px;
    padding-top: 0;
    line-height: 1;
  }

  .head-line .title-secondary {
    font-family: 'lato', sans-serif;
    color: #ec5242;
    padding: 10px;
    font-size: 30px;
    font-weight: 400;
  }

  .text-description-bg .text-description {
    font-size: 15px;
    font-family: 'lato', sans-serif;

    /* font-family: "Nanum Gothic", sans-serif; */
  }

  .courses {
    flex-direction: row;
    margin: 0 auto;
    width: 90%;
  }

  .course-card {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 200px;
    position: relative;
  }

  .awsome-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 2rem;
    height: 25px;
    width: 25px;
  }

  .course-name {
    margin-top: 4rem;
  }

  #lara {
    transform: translateX(-75%);
  }

  .course-card .text-description {
    padding: 10px;
  }

  .team-conatiner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 10px 5%;
  }

  .courses-link {
    text-decoration: underline;
    text-align: center;
    background-color: transparent;
    margin: auto;
  }

  .courses-link:hover {
    background-color: transparent;
  }

  .team {
    display: flex;
    flex-direction: row;
  }

  .partners {
    display: flex;
    flex-direction: row;
  }

  .footer {
    flex-direction: row;
  }

  .footer p {
    margin-right: 10%;
  }
}
