* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url("../img/textura.jpg");
  height: 100%;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}


/*Bootstrap vars*/
body {
  --bs-primary: #006AB2;
  --bs-secondary: #93C021;
  --bs-terciary: #5F5782;
  --bs-quaternary: #BD4895;
  --bs-body-color: #000;
  --bs-primary-rgb: #006AB2;
  --bs-seconday-rgb: #294f2862;
  --bs-terciary-rgb: rgba(72, 40, 79, 0.384);
  --bs-primary-bg-subtle: #006AB2;
  --bs-second-bg-subtle: #007eb1;
  --bs-primary-border-subtle: #3a8ec5;
  --bs-body-font-family: 'Muli', sans-serif;
  --bs-body-font-size: 1.25rem;
  --bs-dark: #000;
  --bs-dark-rgb: 0, 0, 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Hey August', sans-serif;
}

h1 {
  font-size: 5.625rem;
  line-height: .75;
}

h2 {
  font-size: 3rem;
  line-height: .75;
}

p, span {
  font-family: 'Bricolage Grotesque', sans-serif;
}


@media screen and (max-width: 768px) {
  h1 {
    font-size: 3.75rem;
    text-align: center;
  }

  h2 {
    font-size: 2.5rem;
  }

  .fs-2 {
    text-align: center;
  }

  body {
    --bs-body-font-size: 1rem;
  }
}

/*Buttons*/

.btn {
  padding: .4rem 1.5rem;
  padding-right: 2.5rem;
  font-size: var(--bs-body-font-size);
  font-weight: 500;
}



.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #006AB2;
  --bs-btn-border-color: #006AB2;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #007eb1;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #007eb1;
  --bs-btn-active-border-color: #0a53be;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #006AB2;
  --bs-btn-disabled-border-color: #006AB2;
}

.btn-light:active, .btn-light:focus-within,.btn-light:hover {
  background-color: var(--bs-primary);
  color: white;
}



/* NAVBAR */
input {
  display: none;
}

.open {
  background-color: var(--bs-primary);
  width: 34px;
  height: 4px;
  display: block;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  top: 8px;
}

.open:before {
  content: " ";
  background-color:  var(--bs-primary);
  width: 34px;
  height: 4px;
  display: block;
  border-radius: 2px;
  position: relative;
  top: -8px;
  transform: rotate(0deg);
  transition: all 0.3s ease;
  z-index: 2;
}

.open:after {
  z-index: 2;
  content: "";
  background-color:  var(--bs-primary);
  width: 34px;
  height: 4px;
  display: block;
  border-radius: 2px;
  position: relative;
  top: 4px;
  transform: rotate(0deg);
  transition: all 0.3s ease;
}

.menuOpen {
  height: 40px;
  display: block;
  padding: 15px;
  cursor: pointer;
  float: right;
}

.menuOpen:hover .open:before {
  top: -9px;
}

.menuOpen:hover .open:after {
  top: 5px;
}

.menu {
  z-index: 2;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("../img/textura.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.menu label {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 20px;
  top: 20px;
  background-size: 100%;
  cursor: pointer;
}

.menu .menuContent {
  position: relative;
  top: 50%;
  font-size: 34px;
  text-align: center;
  padding-bottom: 20px;
  margin-top: -270px;
  width: 100%;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.menu ul li a {
  display: block;
  color:  var(--bs-primary);
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Bricolage Grotesque', sans-serif;
  text-transform: uppercase;
  padding: 10px 0;
}

.menu ul li a:hover {
  color: white;
}

.menu ul li:hover {
  background: var(--bs-second-bg-subtle);
}

.menuEffects {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

.menuEffects ul {
  transform: translateY(0%);
  transition: all 0.5s;
}

#menuToggle:checked ~ .menuEffects {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s;
}

#menuToggle:checked ~ .menuEffects ul {
  opacity: 1;
}

#menuToggle:checked ~ .menuOpen .open {
  background-color: transparent;
}

#menuToggle:checked ~ .menuOpen .open:before {
  content: "";
  background-color: var(--bs-primary);
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
}

#menuToggle:checked ~ .menuOpen .open:after {
  content: "";
  background-color: var(--bs-primary);
  transform: rotate(-45deg);
  position: relative;
  top: 0;
  right: 0;
  z-index: 3;
}

#menuToggle:not(:checked) ~ .menuEffects ul {
  transform: translateY(-30%);
}

/* Steps */

.wrap{
  margin-top: 4rem;
  z-index: 2;
}
 .upper, .lower {
   display: flex;
   justify-content: space-evenly;
   align-items: center;
 }
 .lower {
   margin-left: 65px;
   position: relative;
   top: 0px;
 }
 
 .upper img, .lower img {
   width: 50px;
   height: 40px;
   opacity: 0;
   animation: fadeIn, fadeOut;
   animation-duration: 9s, 9s;
   animation-fill-mode: forwards;
   animation-iteration-count: infinite;
 }
 
 @keyframes fadeIn {
   10% {opacity: 1};
   100% {opacity: 1};
 }
 @keyframes fadeOut {
   25% {opacity: 0};
   100% {opacity: 0};
 }
 
 
 .upper img:first-child {
   animation-delay: 0.5s, 3.5s;
 }
 .lower img:first-child {
   animation-delay: 1s, 4s;  
 }
 .upper img:nth-child(2) {
   animation-delay: 1.5s, 4.5s;
 }
 .lower img:nth-child(2) {
   animation-delay: 2s, 5s;
 }
 .upper img:nth-child(3) {
   animation-delay: 2.5s, 5.5s;
 }
 .lower img:nth-child(3) {
   animation-delay: 3s, 6s;  
 }
 .upper img:nth-child(4) {
   animation-delay: 3.5s, 6.5s;
 }
 .lower img:nth-child(4) {
   animation-delay: 4s, 7s;
 }
 .upper img:nth-child(5) {
   animation-delay: 4.5s, 7.5s;
 }
 .lower img:nth-child(5) {
   animation-delay: 5s, 8s;  
 }
 .upper img:nth-child(6) {
   animation-delay: 5.5s, 8.5s;
 }
 .lower img:nth-child(6) {
   animation-delay: 6s, 9s;
 }
 
 
 @media screen and (max-width: 600px) {
  .upper, .lower {
    display: none;
  }
  
  .wrap{
    margin-top: 10px;
    z-index: 2;
  }
  
  .upper img:nth-child(2) {
    display: none;
  }
  .lower img:nth-child(2) {
    display: none;
  }
  .upper img:nth-child(4) {
    display: none;
  }
  .lower img:nth-child(4) {
    display: none;
  }
  .upper img:nth-child(6) {
    display: none;
  }
  .lower img:nth-child(6) {
    display: none;
  }
  .upper img:nth-child(7) {
    display: none;
  }
  .lower img:nth-child(7) {
    display: none;
  }
}

/* header*/

.header {
  display: flex;
  align-items: center;
  padding: 10px;
}

.header_steps{
  width: 80%;
}


.logo img{
  width: 100px;
  transform: rotate(-15deg);
}

/* footer */

.footer{
  padding: 20px 0;

}

.footer .info{
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.info a{
  text-decoration: none;
}

.social_media{
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 1rem;

}
.social{
  text-align: center;
  padding-bottom: 20px;
}

.header .social a{
  font-size:20px;
  text-decoration: none;
  color: inherit;
  width: 30px;
  height: 30px;
  line-height: 28px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  margin: 0 3px;
}


.header .social a:hover{
  opacity: 0.75;
}

.footer .copyright{
  text-align: center;
  color: #ffffff;
  font-family: 'Hey August', sans-serif;
  font-size: 3rem;
}


@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
  .header_steps{
    display: none;
  }
  
  .logo{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  
  .header{
    justify-content: center;
  
  }
}

