html {
  font-size: 10px;
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100%;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Montserrat, sans-serif;
  line-height: 1.5;
  min-height: 100%;
  background-color: #f8f8f8;
  color: #000;
}

main {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
  max-width: 1200px;
  padding: 50px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.logo {
  width: 200px;
}

.logo img {
  width: 100%;
  height: auto;
}

@media (min-width: 481px) {
  .slogan {
    width: 100%;
    transform: translateY(-100%);
  }
}

h2 {
  font-weight: 400;
  font-family: Montserrat, sans-serif;
  text-align: center;
  font-size: 2.3rem;
  letter-spacing: 0.333em;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  color: #555;
}

.bottom-right {
  text-align: right;
  width: 100%;
}

.socs {
  display: grid;
  grid-template-columns: repeat(4, 25fr);
  gap: 0;
}

.soc {
  text-decoration: none;
  display: block;
  width: 100%;
  height: 64px;
  position: relative;
}

.soc::after {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, -50%);
  content: "";
  background-size: contain;
}

.soc::before {
  content: "";
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: #fff;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 5;
  transition: all 0.25s;
}

.soc:hover::before,
.soc:focus::before {
  opacity: 0.2;
}

.soc::after *[fill] {
  fill: #fff;
}

.soc::after *[stroke] {
  stroke: #fff;
}

.soc-ig {
  background-color: deeppink;
  background-image: url("../i/soc-ig.png");
  background-size: cover;
}

.soc-ig::after {
  background-image: url(../i/instagram.svg);
}

.soc-fb {
  background-color: #3b5993;
}

.soc-fb::after {
  background-image: url(../i/facebook.svg);
}

.soc-in {
  background-color: #0a66c2;
}

.soc-in::after {
  background-image: url(../i/linkedin.svg);
}

.soc-email {
  background-color: #b8c4d0;
}

.soc-email::after {
  background-image: url(../i/envelope.svg);
}

@media (max-width: 1024px) {
  main {
    padding: 40px;
  }
}

@media (max-width: 800px) {
  html {
    font-size: 9px;
  }
}

@media (max-width: 640px) {
  main {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  main {
    padding: 25px;
    justify-content: flex-start;
  }

  .slogan {
    margin-top: 50px;
  }

  .slogan h2 {
    font-size: 2rem;
    text-align: left;
  }

  .bottom-right {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 100vw;
  }

  .slogan .part-1 .word {
    display: block;
    white-space: nowrap;
  }

  .socs {
    width: 100%;
  }

  .soc {
    height: 56px;
  }

  .soc::after {
    width: 24px;
    height: 24px;
  }
}
