* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Georgia',serif;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  scroll-behavior: smooth;
}

@keyframes Flexy {
  0%,100%{
    transform: scale(.8)
  }
  50%{
    transform: scale(1);
  }
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  height: auto;
  background: black;
  z-index: 1;
  color: white;
  margin-bottom: 1900px;
  box-shadow: 0 0 10px black;
  transition: .8s;
}

.nav {
  background: linear-gradient(to right,dodgerblue,palevioletred);
  width: 90%;
}

.logo {
  width: 40px;
  height: 90%;
  background: 0;
  margin-left: 2px;
}


.log {
  width: inherit;
  height: 100%;
}

.tabs {
  position: absolute;
  width: auto;
  height: auto;
  background: red;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-size: 17px;
  border-radius: 7px;
  top: 85px;
  right: 20px;
}

.profile::before {
  content: "";
  position: absolute;
  right: 13px;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2554B0;
}

#icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: 0;
  padding: 10px;
  height: 80%;
  transition: all .4s;
}

#icon:hover {
  color: #2554B0;
  animation: Ztate 1s infinite alternate;
}

@keyframes Ztate {
  0%{
    transform: translateY(-5px);
    color: white;
  }
  100%{
    transform: translateY(2px);
    color: black;
  }
}

.profile {
  width: 50px;
  height: 100%;
  background: 0;
  margin-right: 2px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

img {
  width: inherit;
  height: 100%;
}

video {
  width: inherit;
  height: 100%;
  border-radius: inherit;
}

.first-s {
  width: 95%;
  height: 300vh;
  margin-top: 57px;
  background: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  background: 0;
  border: 5px solid transparent;
  border-image: linear-gradient(to left,dodgerblue,palevioletred) 50;
  border-radius: 20px;
}

#child {
  position: relative;
  margin: 30px;
  animation: Flexy ease-in-out;
  animation-timeline: view();
  border: none;
  transition: cubic-bezier(0.2,0.15,1,0.39);
}

.hero1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: 0;
  border: 5px solid transparent;
  border-image: linear-gradient(to right,dodgerblue,palevioletred) 50;
  border-radius: 20px;
}

.beneath {
  position: fixed;
  margin-top: -20px;
  z-index: -1;
}
