@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

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

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Manrope', sans-serif;
  background-color: hsl(0, 0%, 5%);
  color: #fff;
}

section {
  margin: 2rem 1rem;
}

header {
  width: 100%;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.2);
}

a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo {
  width: 1.75rem;
  height: 1.75rem;
  margin-right: 0.25rem;
}

.logo > img {
  width: 100%;
}

.switchcase {
  font-size: 1.5rem;
}

.switchcase > span {
  color: var(--pink-200);
}

.faces-nav {
  display: flex;
  align-items: center;
}

.face-nav {
  margin-left: 0.5rem;
  height: 2.5rem;
  width: 2.5rem;
}

#krish {
  background: url('./assets/kc1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;
  transition: background-image 0.2s ease-out;
}

#krish:hover {
  background-image: url('./assets/kc2.png');
}

#yajat {
  background: url('./assets/yum1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;
  transition: all 0.2s ease-out;
}

#yajat:hover {
  background-image: url('./assets/yum2.png');
}

.faces {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-flow: row wrap;
}

.faces > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 1rem;
  text-align: center;
}


.face {
  width: 100%;
  height: 10rem;
  width: 10rem;
}

@media screen and (min-width: 768px) {
  header {
    padding: 1rem;
  }

  .logo {
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
  }

  .switchcase {
    font-size: 2rem;
  }

  .face-nav {
    height: 3.5rem;
    width: 3.5rem;
  }
}