body {
    margin: 0;
    padding: 0;
    background-color: #2c2c2c;
    font-family: poppins;
    font-size: 1.25rem;
  }

  .box {
    width: 140px;
    height: auto;
    float: left;
    transition: .5s linear;
    position: relative;
    display: block;
    overflow: hidden;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    margin: 0 5px;
    background: transparent;
    text-transform: uppercase;
    font-weight: 500;
    font-family: poppins;
  }
  
  .box:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    border-bottom: 4px solid transparent;
    border-left: 4px solid transparent;
    box-sizing: border-box;
    transform: translateX(100%);
  }
  
  
  .box:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
  }
  
  button {
    color: black;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    border: none;
    background: white !important;
  }
  
  .nav {
    z-index: 999;
    height: 4.0rem;
    display: flex;
    position: sticky;
    top: 0;
    justify-content: space-between;
    align-items: center;
    color: #000000;
    background-color: #2c2c2c;
  }
  
  .nav__logo img{
    height: 3.5rem;
    margin: auto 1rem;
  }
  
  .nav__menu ul {
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  .nav__menu ul li {
    list-style: none;
  }
  
  .nav__menu ul li a {
    text-decoration: none;
    color: #fff;
    padding: 1rem;
    display: block;
  }

  .nav li:hover {
    background-color: #262626;
  }
  
  .nav__hamburger {
    width: 1.875rem;
    height: 1.313rem;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  
  .nav__hamburger__line {
    height: 0.188rem;
    width: 100%;
    background-color: #fff;
    border-radius: 0.625rem;
    transition: all ease-in-out 0.2s;
  }
  

  .header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 5%;
    gap: 15%;
  }

  .text-container {
    max-width: 35%;
  }

  .header h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    text-align: left;
  }

  .header p {
    font-size: 1.5rem;
    color: #fff;
    text-align: left;
    font-weight: 300;
  }

  .stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    gap: 30px;
  } 

.like-stats, .view-stats, .follower-stats {
    background-color: #fff;
    display: flex;
    border-radius: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 100px;
    width: 200px; /* Yhtenäinen leveys */
    height: 200px; /* Vähemmän korkeutta */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1)
}

#icon-thumb {
    font-size: 2.6rem;
    color: white;
    padding: 17px;
    border-radius: 50%;
    background-color: #2c2c2c;
}

#icon-views {
  font-size: 2.5rem;
  color: white;
  padding: 15px;
  border-radius: 50%;
  background-color: #2c2c2c;
}

#icon-user {
  font-size: 2.5rem;
  color: white;
  padding: 15px 20px;
  border-radius: 50%;
  background-color: #2c2c2c;
}

.stats h1 {
    font-size: 2.0rem;
    font-weight: bold;
    color: #2c2c2c;
    margin-bottom: 5px; /* Pienempi väli H1 ja H2 välillä */
}

.stats h2 {
    font-size: 1.5rem;
    color: #2c2c2c;
    margin-top: 0; /* H2 lähemmäs H1 */
    font-weight: 300;
}

.about {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 5%;
  gap: 5%;
}

.about-text-container {
  max-width: 40%;
}

.about h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  text-align: left;
}

.about p {
  font-size: 1.5rem;
  color: #fff;
  text-align: left;
  font-weight: 300;
}

.footer {
  background-color: #2c2c2c;
  margin-top: 160px;
  padding: 16px;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
}
.footer-logo img {
  height: 32px;
  margin-right: 8px;
}
.footer-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-right: 16px;
}
.footer-links a {
  text-decoration: none;
  color: #555;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-top: 16px;
  border-top: 1px solid #ddd;
  padding-top: 16px;
}

video {
  margin-top: 50px;
  mix-blend-mode: screen;
  width: 300px;
}

@media screen and (max-width: 396px) {
  .box {
    width: 120px;
  }
}

  @media screen and (max-width: 550px) {
    .footer-links li {
      font-size: 1.125rem;
    }
    .header {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      margin-top: 5%;
      margin-left: 5%;
    }  
    .stats h1 {
      font-size: 1.8rem;
    }
    .like-stats, .view-stats, .follower-stats {
      width: 160px; 
      height: 200px; 
    }
    .about {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      margin-top: 20%;
      margin-left: 5%;
    }
    .header h1 {
      font-size: 2rem;
    } 
    .about h1 {
      font-size: 2rem;
    }   
    .text-container {
      max-width: 80%;
    }
    .about-text-container {
      max-width: 80%;
    }
    .about-logo-container {
      display: none;
    }
    .nav__hamburger {
      display: flex;
    }
    .nav__menu {
      position: absolute;
      display: flex;
      align-items: center;
      background-color: #2c2c2c;
      top: -20rem;
      width: 100%;
      transition: all ease-in-out 0.4s;
    }
    .nav {
      flex-direction: column;
      align-items: flex-start;
    }
    .nav__menu ul {
      flex-direction: column;
      width: 100%;
      padding: 3rem 0 0.6rem;
    }
    .nav__menu ul li {
      text-align: center;
    }
    .nav__menu ul li a {
      padding: 0.5rem;
    }
    .nav__menu {
      z-index: -1;
    }
    .nav__menu.active {
      top: 0;
    }
    .nav__hamburger.active :nth-child(1) {
      transform: rotate(45deg) translate(0.45rem, 0.1875rem);
    }
  
    .nav__hamburger.active :nth-child(2) {
      opacity: 0;
    }
  
    .nav__hamburger.active :nth-child(3) {
      transform: rotate(-45deg) translate(0.45rem, -0.1875rem);
    }
  }