
header {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 400%;
  border-bottom-right-radius: 400%;
  overflow: hidden;

  width: 200vw;
  transform: translateX(-25%);
}

header > div {
  position: relative;

  width: 100vw;

  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-template-columns: 16vw auto 8vw;
  grid-template-areas: 
    "logo nav flag"
    "home home home"
  ;
  
  align-items: center;
  background-color: #FFCABC;
  padding: 24px 112px 110px;
}

header .logo-img {
  height: 66px;
  grid-area: logo;
}

header nav {
  grid-area: nav;
  z-index: 2;
}

header nav button{
  cursor: pointer;
  position: relative;
  display: none;
  height: 30px;
  width: 30px;
}

header nav button span{
  position: absolute;
  display: block;
  height: 4px;
  width: 100%;
  border-radius: 30px;
  background: #f16234;
  transition: 0.25s ease-in-out;
}

header nav button span:nth-child(1){
  top: 0;
}

header nav button span:nth-child(2){
  top: 8px;
}

header nav button span:nth-child(3){
  top: 16px;
}

header nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

header nav li {
  margin: 0 12px;
  list-style: none;
}

header nav ul li:first-child {
  margin-left: 0;
}

header nav ul li:last-child {
  margin-left: 0;
  
}

header nav a {
  color: #3E4095;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all .2s;
  font-size: 1rem;
}

header nav a:hover {
  color: #FE673E;
  border-bottom: 2px solid #FE673E;
}

header nav img {
  color: #FE673E;
  border-bottom: 2px solid #FE673E;
}

header .flag-btn {
  grid-area: flag;
  z-index: 1;
}

header .flag-img {
  height: 18px;
}

header #section-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  grid-area: home;

  margin-top: 40px;
  
}

header .home-left{
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header .home-left h4 {
  color: #FE673E;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

header .home-left  h2 {
  margin-top: 33px;
  color: #3E4095;
  font-size: 80px;
  line-height: 80px;
  font-weight: 800;
  margin-bottom: 26px;
}

header .home-left  h3 {
  color: #3E4095;
  font-size: 40px;
  line-height: 40px;
  font-weight: 700;
  margin-bottom: 30px;
}

header .home-right .images {  
  position: absolute;
  right: 31vw;
  top: -50px;
  display: flex;
  justify-content: center;
  z-index: 1;
  height: 800px;
}

header .home-right .images .square-logo,
header .home-right .images .woman-student {
  position: absolute;
  z-index: 1;
  height: 100%;
}

header .home-right .images .ballons-box {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: absolute;
  bottom: 50px;
  z-index: 10;
  width: 500px;
  height: 400px;
}


header .home-right .images .ballons-box .ballon {
  display: flex;
  align-self: flex-start;
  align-items: center;

  font-size: 15.03px;
  line-height: 22.55px;
  font-weight: 600;

  color: #595959;

  background-color: rgba(255, 255, 255, 0.65);

  padding: 10px;
  border-radius: 13.87px;
  padding-right: 40px;
}

header .home-right .images .ballons-box .ballon--right {
  align-self: flex-end;
}

header .home-right .images .ballons-box .ballon img {
  height: 40px;
  padding: 8px;
  border-radius: 5px;
  background-color: #3E4095;
  margin-right: 6.25px;
}

header .home-right .images .ballons-box .ballon img.--orange  {
  background-color: #FE673E;
}

@media (max-width: 1350px) {
  header {
    width: 100vw;

    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;

    transform: translateX(0%);
  }

  header #section-header {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      grid-area: home;
  }

  header > div {
      
      width: 100vw;

      grid-template-rows: repeat(2, auto);
      grid-template-columns: auto;
      grid-template-areas: 
        "nav logo flag"
        "home home home"
      ;
      
      align-items: center;
      gap: 20px;
      
      padding-bottom: 0;

    
  }
    

  header #section-header {
      margin-top: 20px;
  }

  header .home-left,
  header .home-right{
      max-width: 100%;
  }

  header .home-left {
    z-index: 2;
  }

  header .home-right .images {  
    position: relative;
    left: 0;
    margin-top: -74px;
    top: 0;
    height: 600px;
  }

  header nav ul {
    display: none;
  }

  header nav button {
    display: block;
  }
}

@media (max-width: 500px) {
   header > div {
    padding: 23px 20px 0;
  }

  header .home-left h4 {
    font-size: 12px;
    line-height: 18px;
  }
  
  header .home-left  h2 {
    font-size: 48px;
    line-height: 48px;
    margin-top: 8px;
  }
  
  header .home-left  h3 {
    font-size: 24px;
    line-height: 24px;
  }

  header .home-right .images .ballons-box {
    width: 100vw;
    padding: 10px;
  }

  header .home-right .images .ballons-box .ballon {
    font-size: 10px;
    line-height: 12.49px;
  
    padding: 5px;
    padding-right: 20px;

    border-radius: 12px;
  }

  header .home-right .images .ballons-box .ballon img {
    height: 30px;
    padding: 6px;
  }
}

