
/******************************
* The banner wrap at the top: *
*******************************/

.banner-wrap {
  min-height: 20%;
  background-position: center 43%;
}

/*****************
* Body sections: *
******************/

#introduction, #skills {
  background-color: #F5F3F1;
}

#education, #hobby {
  background-color: white;
}

#introduction, #education , #skills, #hobby {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6% 6%;
}

img {
  border-radius: 25px;
}

#about_education {
  width: auto;
  height: 80%;
  margin-top: 6%;
}

#about_skills {
  width: auto;
  height: 100%;
  margin-top: 4%;
}

#about_hobby {
  width: auto;
  height: 80%;
  margin-top: 7%;
}

.header1 {
  margin-top: 100px;
}

#skills-header, #education-header {
  padding-left: 5%;
}


.text a {
  text-decoration: none;
  color: #393434;
  :visited {
    text-decoration: none;
    color: #393434;
  }
}

/***********
* Buttons: *
************/

#button-home {
  padding-top: 5%;
}

/********************
* Phone resolution: *
*********************/

@media screen and (max-width:850px) {
  #about_intro_img {
    width: 40%;
    height: 40%;
    object-fit: cover;
    margin-top: 30px;
  }

  #about_education {
    width: 50%;
    height: auto;
  }

  #about_skills {
    width: 50%;
    height: auto;
  }

  #about_hobby {
    width: 40%;
    height: auto;
  }
}

@media screen and (min-width:850px) {
  #about_intro_img {
    height: 45%;
    width: 45%;
    margin-right: 15%;
  }

  #about_intro {
    height: fit-content;
    width: fit-content;
    max-height: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 4%;
  }
  
  #rightintro {
    position: relative;
  }

  #about_skills {
    margin-right: 10%;
  }

  #introduction, #education, #skills, #hobby {
    height: 40%;
  }
}

