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

img{
  width: 100%;
}

.homeWrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
}

/* Home section left part wich contains text and Contact me button */
.homeWrapper .homeText {
  display: flex;
  flex-direction: column;
  padding: 10px;
  width: 50%;
  gap: 10px;
}

.homeWrapper .homeText span {
  color: #EAB308;
  font-size: 24px;
}

.homeWrapper .homeText h1 {
  color: #fff;
  font-size: 3rem;
}

.homeWrapper .homeText p {
  font-size: 22px;
  color: #fff;
}

/* The contact me button as a reusable button */
.contactMe {
  color: #fff;
  background-color: #EAB308;
  width: 15%;
  border: none;
  padding: 8px;
  font-size: .2rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
}

/* Hme section right part wich contains an image */

.homeWrapper .homeImage {

  width: 28%;
}

.homeWrapper .homeImage .imageContainer {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.homeWrapper .homeImage .imageContainer img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

@media (max-width: 1200px) {
  .homeWrapper .homeImage {

    width: 30%;
  }

}

@media (max-width: 887px) {
  .homeWrapper .homeImage {

    width: 35%;
  }

}

@media (max-width: 767px) {

  .homeWrapper {
    margin-top: 3.5rem;
  }

  .homeWrapper .homeText h1 {
    color: #fff;
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .homeWrapper {
    flex-direction: column;
    justify-content: center;
  }

  .homeWrapper .homeText {
    width: 100%;
    align-items: center;
    padding: 20px;
  }

  .homeWrapper .homeImage .imageContainer {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .homeWrapper .homeImage {
    width: 60%;
  }

  .homeWrapper .homeText h1 {
    color: #fff;
    font-size: 2rem;
    text-align: center;
  }

  .homeWrapper .homeText p {
    font-size: 17px;
    color: #fff;
  }

  .homeWrapper .homeText span {
    color: #EAB308;
    font-size: 25px;
    text-align: center;
  }

  .contactMe {
    color: #fff;
    background-color: #EAB308;
    width: 25%;
    border: none;
    padding: 8px;
    font-size: .8rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
  }
}

@media (max-width: 414px) {
  #home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
  }

  .homeWrapper {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
  }

  .homeWrapper .homeImage{
    width: 95%;
}

.contactMe {
  color: #fff;
  background-color: #EAB308;
  width: 100%;
  border: none;
  padding: 8px;
  font-size: .8rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
}
}