@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&family=Roboto:wght@100;300;500;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background-size: cover;
  
  background-repeat: no-repeat;
  background-position: center;
  background-color: black;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

button{
  font-family: 'Poppins', sans-serif;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #000;
  border-radius: 2px;

}

#logo{
  min-height: 40px;
  height: 70px;
  max-height: 8vh;
  width: auto;
  margin: 20px 0 40px 0;
}

#photo{
  min-height: 100px;
  height: 200px;
  max-height: 20vh;
  width: auto;
  margin: 20px 0;
  border-radius: 100%;
  border: 8px solid #8257e5;
}

.buttonLogo{
  margin: 0;
  height: 20px;
  margin-right: 15px;
}

ul{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
}

li{
  width: 100%;
}

button{
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  width: 300px;
  background-color: #fff;
  border: 4px solid #000;
  position: relative;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  text-align: start;
}

li , img {
  transition: transform .3s;
}

li:hover{
  transform: scale(1.1);
}

img:hover{
  transform: scale(1.1);
}

#port{
  background-color: #FFCF27;
}

button::before{
  content: "";
  position: absolute;
  right: -11px;
  top: 1px;
  width: 98%;
  height: 98%;
  background-color: #000;
  background-size: 12px, 100%;
  border: 0.4rem solid #000;
  border-radius: 2px;
  z-index: -2;
}

@media only screen 
and (max-width : 820px) {
  body{
    animation: animatedBackground 60s linear infinite;
  }
}

@keyframes animatedBackground {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 100% 100%;
  }
}

#photo , #logo {
  animation: fromTop .3s ;
}

ul {
  animation: fromBottom .7s backwards;
}

@keyframes fromTop {
  0% {
      opacity: 0;
      transform: translateY(-30px);
  }

  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fromBottom {
  0% {
      opacity: 0;
      transform: translateY(30px);
  }

  100% {
      opacity: 1;
      transform: translateY(0);
  }
}