body {
  margin: 0;
  width: 100% !important;
  /*display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;*/
  overflow-x: hidden;
  font-family: Gabarito, Arial, Helvetica, sans-serif;
}

p, button, input, button {
  margin: 0;
}

a {
  text-decoration: none;
  color: black;}

.menu {
  background-color: none;
  font-weight: 400;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-top: 20px;
  gap: 4rem;
  z-index: 100;
}

.menu a {
  color: rgb(100, 100, 100);
  text-decoration: none;
  padding: 0.5rem 1.5rem;
  font-size: 1.3rem;
  transition: font-weight 0.3s;
}

.menu a:hover {
  font-weight: 600;
}

.menu a.active {
  font-weight: 700;
  color: black;
}

footer {
  max-width: 100%;
  width: auto;
  height: 50px;
  
}

.footer {
  background-color: none;
  width: 100%;
  text-align: center;
  position: relative;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  bottom: 0;
  z-index: 100;
}

.work-sample {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.display-work {
  display: flex;
  justify-self: center;
  width: 100%;
  height: 400px;
  position: relative;
  margin-top: 20px;
}

body::after {
  content: '';
  display: block;
  height: 50px;
  margin-top: 100px;
}

.main {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  justify-self: center;
  padding: 10px;
}

.home-div1 {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  margin-top: 50px;
  justify-content: space-between;
}

.home-div2 {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.home-div3 {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  justify-content: center;
}
.home-div4 {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    margin-top: 100px;
    justify-content: center;
    align-items: center;
  }
.hobby-title {
  display: flex;
  flex: 1;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 600;
  width: 100%;
  text-align: left;
  margin: 0;
  transition: font-weight 0.3s cubic-bezier(.42, 0, .44, 1.68);
}

.home-d1-left {
  display: flex;
  flex-direction: column;
  width: 450px;
  vertical-align: top;
}

.home-d1-right {
  display: flex;
  flex-direction: column;
  width: 450px;
  vertical-align: top;
}

.home-d2-left {
  display: flex;
  flex-direction: column;
  width: 450px;
  vertical-align: top;
}

.home-d2-right {
  display: flex;
  flex-direction: column;
  width: 450px;
  vertical-align: top;
}

.location {
  display: flex;
  flex-direction: row;
  align-items: center;
  vertical-align: middle;
  margin-top: 20px;
  width: 350px;
}

.loc-icon {
  display: flex;
  vertical-align: middle;
  margin-right: 10px;
}

.loc-text {
  display: flex;
  font-size: 1.2rem;
  text-align: left;
  text-wrap: nowrap;
  vertical-align: middle;
  vertical-align: top;
}

.contact-info {
  display: flex;
  flex-direction: column;
  text-wrap: nowrap;
}

.social-contact {
  display: flex;
  flex-direction: row;
  vertical-align: middle;
  gap: 2rem;
  margin-top: 25px;
}

.ig {
  display: flex;
}
.ig-icon {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.pexels {
  display: flex;
}

.pexels-icon {
  height: 30px;
}

.pic-me {
  display: flex;
  border-radius: 20px;
  width: 450px;
  height: 450px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.pic-me:hover {
  transform: scale(1.015);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.education,
.work {
  margin-top: 20px;
  text-align: left;
  width: 400px;
}

.education-title,
.work-title {
  font-weight: 600;
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin-bottom: 10px;
  margin-top: 25px;
}

.edu-list {
  list-style-type: none;
  list-style-position: outside;
  font-size: clamp(0.8rem, 3vw, 1.1rem);
  padding: 0;
  line-height: 1.3;
}

.h-d1-title {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 600;
  margin: 0;
  text-align: left;
}

.h-d1-subtitle {
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin: 0;
  margin-top: 10px;
  text-align: left;
  width: 350px;
}

.h-d1-link {
  text-decoration: none;
  color: black;
}

svg {
  margin: 0;
  max-width: 100%;
}


/* TELEFON SIZE */
@media (max-width: 450px) {
  .menu {
    width: 100%;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .work-sample {
    width: 100%;
    height: 150px;
    object-fit: cover;
    justify-self: center;
  }

  .display-work {
    width: 100%;
    height: 150px;
    display: flex;
    align-self: center;
    object-fit: cover;
    margin-top: 20px;
  }

  .main {
    width: 96%;
    display: flex;
    flex-direction: column;
    justify-self: center;
    padding: 0 2% 0 2%;
  }
  .h-d1-title {
    text-align: center;
  }
  .h-d1-subtitle {
    text-align: center;
  }
  .contact-info {
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
    gap: 1rem;
    vertical-align: middle;
    align-self: center;
    width: 80%;
  }
  .location {
    margin: 0;
    gap: 0.7rem;
    font-size: 1rem;
    justify-content: end;
    
  }
  .loc-text {
    font-size: 1rem;
    text-align: right;
    text-wrap: nowrap;
    vertical-align: middle;
    vertical-align: top;
  }
  .loc-icon {
    margin: 0;
    align-self: center;
  }
  .social-contact {
    margin: 0 auto;
    justify-content: center;
    align-self: center;
  }
  .ig {
    display: flex;
    object-fit: cover;
  }
  .pic-me {
    display: flex;
    align-self: center;
    width: 300px;
    height: 300px;
  }
  .home-div1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    margin-top: 20px;
    justify-content: center;
    gap: 20px;
  }
  .home-div2 {
    width: 100%;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    gap: 10px;
  }
  .home-div3 {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .home-d1-left {
    display: flex;
    flex-direction: column;
    width: 300px;
    align-self: center;
    vertical-align: top;
  }
  .home-d1-right {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    vertical-align: top;
  }
  .home-d2-left {
    display: flex;
    flex-direction: column;
    width: 175px;
    vertical-align: top;
  }
  .home-d2-right {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 175px;
    vertical-align: top;
  }
  
  .education,
  .work {
    font-size: 1rem;
    margin-top: 20px;
    text-align: left;
    width: 150px;
  }
  .h-d1-subtitle {
    
    width: 250px;
  }
}
