html {
  scroll-behavior: smooth;
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: rgb(56, 56, 56);
}

/* Header start*/

header {
  position: fixed;
  width: 50px;
  background: linear-gradient(to bottom, #ffffff2a, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.014));
  box-sizing: content-box;
  left: 10px;
  top: 75px;
  padding: 10px; 
  backdrop-filter: blur(5px);
  border-top: 1px solid rgba(245, 245, 245, 0.4);
  border-right: 1px solid rgba(245, 245, 245, 0.2);
  box-shadow: 0 5px 45px rgba(0, 0, 0, 0.123);
  border-radius: 10px;
  z-index: 500;
  transition: 1s;
  overflow: hidden;
  display: flex;
}

.img {
  width: 50px;
  height: 50px;
  border-radius: 10%;
  transform: scale(1.5);
  transition: .5s;
}

header nav {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  flex-direction: column;
  transition: .2s;

}

header nav ul {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-transform:uppercase;
  list-style: none;
}

.here {
  color: yellow;
}

header nav li {
  position: relative;
  margin: 0 20px;
  display: inline;
  background: linear-gradient(to top, #ffffff2a, rgba(255, 255, 255, 0.014));
  border-top: 1px solid rgba(245, 245, 245, 0.4);
  border-right: 1px solid rgba(245, 245, 245, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.048);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: small;
  left: 20px;
}

header nav ul a{
  text-decoration: none;
  color: whitesmoke;
  /* outline: 1px solid red; */
  line-height: 0;
  
  
}

.light__wide{
  position: absolute;
  width: 70px;
  height: 100px;
  left: 50px;
  background: #ffffff20;
  filter: blur(1px);
  transform: skewX(45deg);
  transition: 2s ease-out;
}

.light__slim{
  position: absolute;
  width: 10px;
  height: 100px;
  background: #ffffff20;
  filter: blur(1px);
  transform: skewX(45deg);
}

.light {
  position: absolute;
  margin: 0;
  padding: 0;
  top: -10px;
  left: -200px;
  transition: 1s ease-in;
  z-index: 450;
}

/* hovers */

header:hover .header_nav {
  transition-delay: .5s;
  opacity: 100%;
}

header:hover .img {
  animation-name: img_breath;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
  animation-duration: 3s;
}

header:hover > .light  {
  left: 110%;
}

header:hover {
  width: 500px;
}

header nav li:hover {
  background: rgba(245, 245, 245, 0.288);
}

/* hovers end  */

/* header end */

.bg {
  background: rgb(109, 80, 136);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: -1;
  transition: 1s;
}

.text1 {
  color: rgb(0, 0, 0);
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  opacity: 10%;
}

.text2 {
  color: rgb(0, 0, 0);
  line-height: 1;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  opacity: 0%;
  transition: .3s ease;
}

.boton {
  background: whitesmoke;
  text-align: center;
  width: 500px;
  height: 200px;
  border-radius: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: whitesmoke solid 10px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.349);
  overflow: hidden;
  cursor: pointer;
}

.boton_border {
  text-align: center;
  width: 500px;
  height: 200px;
  border-radius: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: whitesmoke solid 10px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.315);
  z-index: 100;
}

.circulo {
  width: 50px;
  height: 50px;
  opacity: 0;
  background: whitesmoke;
  border-radius: 50%;
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px 10px rgb(247, 80, 108), 0 0 10px 20px yellow,
    0 0 10px 30px yellowgreen, 0 0 10px 40px skyblue;
  z-index: 20;
  transition: 0.5s ease, opacity 1s ease;
}

.boton:hover > .circulo {
  opacity: 100%;
  width: 800px;
  height: 800px;
}

.boton:hover ~ .bg {
  opacity: 100%;
}

.boton:hover > .text2 {
  transition-delay: 0.8s;
  opacity: 10%;
  z-index: 50;
}

.boton:hover .down_buton {
  background: whitesmoke;
}

.spacer {
  height: 100vh;
  width: 100%;
  background: whitesmoke;
  position: relative;
  top: 100vh;
}

.spacer div {
  font-weight: 100;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.second_part {
  height: 100vh;
  width: 100%;
  background: rgb(87, 70, 107);
  position: relative;
  top: 100vh;
}

.second_part div {
  text-align: center;
  position: absolute;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: whitesmoke;
  font-size: 50px;
}

.second_part div p {
  font-size: 25px;
}

.down_buton {
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgb(80, 80, 80);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.466);
  border-radius: 50%;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 500;
}

section {
  display: flex;
  flex-direction: column;
}

.page_nav nav {
  position: fixed;
  top: 0;
  background-color: rgb(48, 48, 48);
  width: 100vw;
  box-shadow: rgba(0, 0, 0, 0.479) 0 0 25px;
  z-index: 100;
}

.page_nav nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.page_nav nav ul a {
  text-decoration: none;
}

.page_nav nav ul li {
  color: white;
  margin: 0 25px;
  cursor: pointer;
  text-align: center;
  width: 70px;
  border-radius: 10px;
  transition: 0.2s ease;
}

.page_nav nav ul li:hover {
  /* text-shadow: 0 0 10px rgb(255, 255, 255); */
  background: rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  width: 70px;
  /* box-shadow: rgba(255, 255, 255, 0.377) 0 0 10px; */
}

.logo img {
    position: absolute;
    top: 10px;
    left: 25px;
    transition: .2s ease;
}

.logo img:hover {
    transform: scale(1.2);
}

.logo p {
    position: absolute;
    color: whitesmoke;
    font-weight: 10;
    font-family: 'Courier Prime', monospace;
    font-style: italic;
    top: 23px;
    left: 80px;
}

.hide_logo {
    position: absolute;
    height: 17px;
    width: 65px;
    background-color: rgb(48, 48, 48);
    /* outline: 1px solid red; */
    top: 23px;
    left: 80px;
    transition: .5s steps(7);
    z-index: 10;
}

.logo:hover > .hide_logo {
    left: 150px;
}

.material-icons {
  padding: 0;
  margin: 0;
}