* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.hero {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(img/back.jpg);
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
}

nav {
  width: 85%;
  margin: auto;
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 100px;
  cursor: pointer;
}

.menu {
  font-size: 40px;
  cursor: pointer;
  color: #fff;
}

.text-box {
  width: 60%;
  margin: 200px auto 0;
  color: #fff;
}

.text-box h1 {
  margin-bottom: 30px;
  font-size: 60px;
}

.text-box p {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 40px;
}

.text-box button {
  width: 220px;
  padding: 12px 0;
  color: #fff;
  font-size: 20px;
  border-radius: 5px;
  overflow: none;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
}

.sidebar {
  height: 335px;
  width: 60px;
  background: #fff;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
}

.icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: flex-end;
  margin: 5px auto;
}

.side-text {
  min-width: 0;
  height: 100%;
  background: #f44336;
  margin-right: 5px;
  line-height: 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px 0 0 5px;
  overflow: hidden;
  transition: 0.5s;
}

.icon {
  min-width: 50px;
  height: 100%;
  border-radius: 5px;
  cursor: pointer;
}
.icon .fa {
  font-size: 20px;
  color: #f44336;
  line-height: 50px;
}

.icon-box:hover .icon {
  background: #f44336;
}

.icon-box:hover .icon .fa {
  color: #fff;
}

.icon-box:hover .side-text{
  min-width: 140px;
}