@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  /* colors */
  --primary: #e87528;
  --secondary: #fdab54;
  --accent: #eec338;
  --black: #050315;
  --white: #fbfbfe;

  /* Font sizes */
  --ff: "Inter", sans-serif;
  --size1: bold 5.61rem var(--ff);
  --size2: bold 4.209rem var(--ff);
  --size3: bold 3.157rem var(--ff);
  --size4: 2.369rem var(--ff);
  --size5: bold 1.777rem var(--ff);
  --size6: 1.333rem var(--ff);
  --p: 1rem var(--ff);
  --small: 0.75rem var(--ff);
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
.small {
  margin: 0;
}

html {
  font-size: 16px;
}

a {
  text-decoration: underline;
  color: var(--secondary);
}

.cv {
  display: none;
  font-weight: 400;
}

.me {
  pointer-events: none;
}

.socialmedia img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

/* For Mobiles: */
@media only screen and (max-device-width: 600px) {
  body {
    padding: 1.5rem;
    font-family: var(--ff);
    text-wrap: wrap;
    color: var(--white);
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow: hidden;
    height: 100dvh;
  }

  .logomenu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 1.5rem;
  }

  .logomenu img {
    width: 3.5rem;
  }

  .titles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .title1,
  .title2 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .titlehello {
    font-family: Bitter;
    text-wrap: balance;
  }

  .titleorange {
    color: var(--primary);
  }

  .titleindustry {
    font-weight: bold;
  }

  .contactbutton {
    font: 500 1rem var(--ff);
    border-radius: 12px;
    padding: 0.5rem 1.5rem;
    background-color: var(--secondary);
    color: var(--black);
    width: min-content;
  }

  .socialmedia {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 1.5rem;
  }

  .me {
    width: 12rem;
    position: absolute;
    bottom: 0;
    left: 10rem;
    object-fit: contain;
  }

  /* Text */

  h1 {
    font: var(--size3);
    line-height: 48px;
    letter-spacing: 1px;
  }
  h2 {
    font: var(--size5);
    letter-spacing: -0.5px;
    line-height: 32px;
  }
  h3 {
    font: var(--size6);
    letter-spacing: -0.5px;
    line-height: 24px;
  }
  p {
    font: var(--p);
    line-height: 16px;
  }
  .small {
    font: var(--small);
  }
}

@media only screen and (min-device-width: 600px) {
  /* For tablets: */
  body {
    padding: 1.5rem;
    font-family: var(--ff);
    text-wrap: wrap;
    color: var(--white);
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow: hidden;
    height: 100dvh;
  }

  .logomenu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 1.5rem;
  }

  .logomenu img {
    width: 3.5rem;
  }

  .titles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 24rem;
  }

  .title1,
  .title2 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .titlehello {
    font-family: Bitter;
    text-wrap: balance;
  }

  .titleorange {
    color: var(--primary);
  }

  .titleindustry {
    font-weight: bold;
  }

  .contactbutton {
    font: 500 1rem var(--ff);
    border-radius: 12px;
    padding: 0.5rem 1.5rem;
    background-color: var(--secondary);
    color: var(--black);
    width: min-content;
  }

  .socialmedia {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    height: 2rem;
    width: min-content;
    position: absolute;
    bottom: 0;
    margin-bottom: 1.5rem;
  }

  .socialmedia img {
    width: 2rem;
    height: 2rem;
  }

  .me {
    width: 24rem;
    position: absolute;
    bottom: 0;
    right: 2%;
    left: auto;
    object-fit: contain;
  }

  /* Text */
  h1 {
    font: var(--size3);
    line-height: 48px;
    letter-spacing: 1px;
  }
  h2 {
    font: var(--size5);
    letter-spacing: -0.5px;
    line-height: 32px;
  }
  h3 {
    font: var(--size6);
    letter-spacing: -0.5px;
    line-height: 24px;
  }
  p {
    font: var(--p);
    line-height: 16px;
  }
  .small {
    font: var(--small);
  }
}
@media only screen and (min-device-width: 750px) {
  body {
    padding: 4rem;
  }
  .socialmedia {
    margin-bottom: 3rem;
  }
  .me {
    width: 32rem;
  }
}

@media only screen and (min-device-width: 1000px) {
  .me {
    width: 36rem;
    right: 8%;
  }
  .hamburger {
    display: none;
  }


}

@media only screen and (min-device-width: 1700px) {
  /* For desktop: */
  body {
    padding: 6rem;
    font-family: var(--ff);
    text-wrap: wrap;
    color: var(--white);
    background-color: var(--black);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100dvh;
    gap: 0;
  }

  .logomenu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 4.5rem;
  }

  .logomenu img {
    width: 8rem;
  }

  .hamburger {
    display: none;
  }

  .titles {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 8rem;
  }

  .title1 {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .title2 {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 38rem;
  }

  .titlehello {
    font-family: Bitter;
    text-wrap: balance;
  }

  .titleorange {
    color: var(--primary);
  }

  .titleindustry {
    font-weight: bold;
  }

  .contactbutton {
    font: bold 1.7rem var(--ff);
    border-radius: 20px;
    padding: 1rem 3rem;
    background-color: var(--secondary);
    color: var(--black);
    width: min-content;
  }

  .socialmedia {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    height: 2.5rem;
    width: min-content;
    position: absolute;
    bottom: 0;
    margin-bottom: 4rem;
  }

  .socialmedia img {
    width: 2.5rem;
    height: 2.5rem;
  }

  .me {
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 75%;
    object-fit: contain;
  }

  .cv {
    display: unset;
  }

  h1 {
    font: var(--size1);
    line-height: 84px;
  }
  h2 {
    font: var(--size3);
    line-height: 56px;
    font-weight: bold;
  }
  h3 {
    font: var(--size4);
    line-height: 40px;
    letter-spacing: -1px;
    font-weight: 300;
  }
  p {
    font: var(--p);
    line-height: 16px;
  }
  .small {
    font: var(--small);
  }
}
