* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --color-primary: #2a6de2;
  --color-two: #e6edf7;
  --color-three: #f7931e;
}

/* font family */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");
/* font-family: 'Montserrat', sans-serif; */

body {
  background-color: rgb(255, 255, 255);
  font-family: "Montserrat", sans-serif;
  position: relative;
  overflow-x: hidden !important;
}

header {
  height: 10vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

header picture img {
  width: 150px;
  height: auto;
}

header .nav-item .nav-link {
  color: rgb(100, 100, 100);
  cursor: pointer;
}

header .nav-item .nav-link:hover {
  color: var(--color-primary);
  transition: all 0.5s;
}

.container-major {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.container-major .aule-robot {
  display: block;
  margin: auto;
  width: 75%;
  height: auto;
  animation: upDown 2s linear infinite alternate;
}

.container-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.container-text p {
  text-align: left;
}

.container-text p:nth-child(1),
.container-text p:nth-child(2) {
  color: var(--color-primary);
  font-weight: 900;
}

.container-text p:nth-child(1) {
  font-size: 120px;
  margin: 0;
}

.container-text p:nth-child(2) {
  font-size: 50px;
}

.container-text p:nth-child(3) {
  font-size: 22px;
  text-align: justify;
}

.container-text p:nth-child(3),
.container-text a {
  color: rgb(100, 100, 100);
}

.container-major .attetion a {
  width: min-content;
  display: block;
}

.container-major .attetion .btn.btn-attetion {
  font-weight: 700;
  width: 180px;
  background-color: var(--color-two);
  border-radius: 30px;
  border: 2px solid #1f53ab;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0);
  /* display: block; */
  background-color: var(--color-primary);
  color: white;
}

.container-major .attetion .btn.btn-attetion.pay {
  background-color: var(--color-three);
  border: 2px solid #c37419;
}

.container-major .attetion .btn.btn-attetion:hover {
  background-color: white;
  transition: all 0.5s;
  color: rgb(100, 100, 100);
}

@keyframes upDown {
  0% {
    transform: translateY(-5%);
  }
  100% {
    transform: translateY(5%);
  }
}

.modal picture img {
  border-radius: 10px;
}

.modal .modal-content {
  background-color: transparent !important;
  border: none;
}

.modal .modal-body {
  padding: 0;
}

.modal-fade {
  transition: opacity 0.5s ease;
}

/* @media sreen */

/* max width 768px and max width 994px */
@media screen and (min-width: 768px) and (max-width: 994px) {
  .container-major .aule-robot {
    width: 100%;
  }

  .container-text p:nth-child(1) {
    font-size: 60px;
  }

  .container-text p:nth-child(2) {
    font-size: 30px;
  }

  .container-text p:nth-child(3) {
    font-size: 18px;
  }

  .container-major .attetion a {
    margin: auto;
  }

  .container-major .attetion .btn.btn-attetion {
    font-size: 13px;
  }
}

/* max width 557px */
@media screen and (max-width: 767px) {
  header {
    justify-content: center;
    height: auto;
    padding: 1rem 0;
  }

  header picture img {
    padding-bottom: 1rem;
  }

  header .nav-item .nav-link {
    font-size: 14px;
  }

  .container-major {
    height: 100svh;
    padding: 1rem 0;
  }

  .container-major .aule-robot {
    width: 45%;
  }

  .container-text p:nth-child(1) {
    font-size: 50px;
  }

  .container-text p:nth-child(2) {
    font-size: 25px;
  }

  .container-text p:nth-child(3) {
    font-size: 18px;
  }

  .container-major .attetion a {
    margin: auto;
  }

  .container-major .attetion .btn.btn-attetion {
    font-size: 13px;
  }
}
