@import url('https://fonts.googleapis.com/css2?family=Open+Sans');

* {
  margin: 0;
  padding: 0;
  width: 100%;
  text-decoration: none;
  list-style: none;

  color: white;
  font-family: 'Open Sans', sans-serif;
}

:root {
  --bg-color: #000;

  --content-width: 50vw;
}

body {
  min-height: 100vh;
  background-color: var(--bg-color);

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

nav {
  padding-top: 3rem;
  width: var(--content-width);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* .sized-box{flex: 10;} */
nav>*:not(.logo) {
  /* flex: 0; */
  width: fit-content;
  padding: 0 2rem;
}

nav .logo {
  width: 3rem;
  height: 3rem;

  background-image: url('assets/images/ms-logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.content {
  width: var(--content-width);

  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.about-me {
  width: calc(var(--content-width)/2);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.about-me h2 {
  font-size: 1.2rem;
  font-weight: 200;
}

.about-me h1 {
  padding-top: 1rem;
  font-size: 4.2vw;
  font-weight: bolder;
}

.about-me p {
  padding-top: 1rem;
  font-size: 0.8rem;
  word-wrap: break-word;
}

.content .my-image {
  background-image: url('assets/images/SALMUN.png');
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
}

.social-media {
  width: var(--content-width);
  display: flex;
  justify-content: flex-start;
  padding-bottom: 2rem;
}

.social-media>* {
  width: fit-content;
  padding: 0 1rem;
}

.social-media>*:hover {
  transform: scale(1.05);
}

.social-media i {
  font-size: 1.5rem;
  padding: 0 0.2rem;
  border-radius: 0.25rem;
}

.social-media i:hover {
  background-color: white;
  color: blue;
}

@media only screen and (max-width: 1000px) and (min-width: 600px) {
  :root {
    --content-width: 90vw;
  }

  .about-me,
  .my-image {
    width: calc(var(--content-width)/2);
  }

  .about-me h1 {
    font-size: 2rem;
    line-height: 2rem;
  }
}

@media only screen and (max-width: 600px) {

  :root {
    --content-width: 90vw;
  }

  .content {
    flex-direction: column;
    padding-top: 2rem;
  }

  .sized-box {
    display: none;
  }

  nav {
    padding-top: 1rem;
  }

  nav>*:not(.logo) {
    padding: 0 0.5rem;
  }

  nav .logo {
    width: 2.2rem;
    height: 2.2rem;
  }

  .about-me {
    width: var(--content-width);
  }

  .about-me h1 {
    font-size: 2rem;
  }

  .my-image {
    margin-top: 2rem;
    height: 20rem;
  }

  .social-media {
    padding-bottom: 0.5rem;
    justify-content: space-evenly;
  }

}