* {
  margin: 0rem;
  padding: 0rem;
  box-sizing: border-box;
  text-decoration: none;
  font-family: poppins;
}

.container {
  margin-inline: 10%;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 2rem;
}

.headtwo {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.headtwo a {
  color: white;
  font-weight: bold;
}
header img {
  height: 4rem;
}

.menu,
.close {
  color: white;
  display: none;
}

.body {
  background-color: red;
  transition: all 1s;
}

div.main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

section.bodyone {
  max-width: 50%;
}

.one {
  background-color: rgb(42, 42, 183);
  transition: all 1s;
}

.two {
  background-color: black;
  transition: all 1s;
}

h1,
h2,
p {
  color: white;
}

h1,
h2 {
  line-height: 8rem;
}

h2 {
  font-size: 5rem;
  font-weight: bolder;
}

h1 {
  font-size: 10rem;
}
p {
  padding-top: 1rem;
}

.bodybtn {
  padding: 0.5rem;
  padding-inline: 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 1rem;
  border-radius: 2rem;
  border: 3rem;
}

.img {
  height: 30rem;
  overflow: hidden;
  animation: updownn 1.5s ease-in-out infinite;
}

@keyframes updownn {
  0% {
    transform: translateY(0%);
  }

  50% {
    transform: translateY(10%);
  }

  100% {
    transform: translateY(0%);
  }
}

.icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;
  position: fixed;
  top: 50%;
  right: 3%;
  bottom: 50%;
}

.btnn img {
  height: 3rem;
  margin-block: 2rem;
}

@keyframes updown {
  0% {
    transform: translateY(0%);
  }

  50% {
    transform: translateY(-25%);
  }

  100% {
    transform: translateY(0%);
  }
}

.move {
  animation: updown 1.5s ease-in-out;
}

.none {
  display: none;
}

.block {
  display: block;
}

.buttons {
  display: flex;
  justify-content: center;
  align-content: center;
  cursor: pointer;
  padding-top: 5rem;
}

@media screen and (max-width: 1362px) {
  h1,
  h2 {
    line-height: 5rem;
  }

  h2 {
    font-size: 4rem;
  }

  h1 {
    font-size: 7rem;
  }
}
@media screen and (max-width: 1145px) {
  h1,
  h2 {
    line-height: 5rem;
  }
  h2 {
    font-size: 3rem;
  }

  h1 {
    font-size: 5rem;
  }
}
@media screen and (max-width: 1009px) {
  h1,
  h2 {
    line-height: 4rem;
  }
  h2 {
    font-size: 2.5rem;
  }

  h1 {
    font-size: 4rem;
  }
}
@media screen and (max-width: 941px) {
  h1,
  h2 {
    line-height: 6rem;
    text-align: center;
  }
  h2 {
    font-size: 3.5rem;
  }

  h1 {
    font-size: 6rem;
  }

  .main {
    flex-direction: column;
    align-items: flex-end;
  }

  section.bodyone {
    max-width: 75%;
  }

  .img {
    height: 20rem;
  }

  .bodybtn {
    padding: 0.5rem;
    padding-inline: 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 2rem;
    display: block;
    margin: auto;
    margin-block: 2rem;
  }
  .icons {
    margin: 2rem;
  }

  .menu,
  .close {
    display: block;
    font-size: 2rem;
    cursor: pointer;
  }
  .close {
    position: absolute;
    right: 10%;
    top: 3%;
    color: black;
  }

  .close:hover {
    color: red;
  }
  .headtwo {
    display: flex;
    position: fixed;
    align-items: center;
    flex-direction: column;
    right: -100%;
    background-color: rgba(48, 45, 45, 0.752);
    width: 75%;
    height: 100%;
    top: 0%;
    padding-block: 6rem;
    backdrop-filter: blur(4px);
    z-index: 2;
    transition: all 1s;
  }

  .headtwo a {
    position: relative;
    font-size: 1.3rem;
  }
  .headtwo a:hover {
    color: blue;
  }

  .right {
    right: 0%;
  }
}

@media screen and (max-width: 450px) {
  h1,
  h2 {
    line-height: 3.5rem;
    text-align: center;
  }
  h2 {
    font-size: 2.5rem;
  }

  h1 {
    font-size: 4rem;
  }

  p {
    text-align: center;
  }

  .headtwo {
    width: 100%;
  }

  .icons {
    position: relative;
    flex-direction: row;
    justify-content: center;
  }
}
