*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100vh;
  width: 100%;
}

body {
  scroll-behavior: smooth;
}

:root{  
  --text-color: white;
  --stroke-color: rgba(255, 255, 255, 0.5);
  --surface-color: rgba(255, 255, 255, 0.05);
  --surface-color-hover: rgba(0, 0, 0, 0.02);
  --switch-bg-url: url('../icons/moon-stars.svg');
  --highlight-color: rgba(255, 255, 255, 0.2);
  --yellow-color: var(--yellow-color);
}

.light{
  --text-color: black;
  --stroke-color: rgba(0, 0, 0, 0.5);
  --surface-color: rgba(0, 0, 0, 0.05);
  --surface-color-hover: rgba(0, 0, 0, 0.02);
  --switch-bg-url: url('../icons/sun.svg');
  --highlight-color: rgba(0, 0, 0, 0.1);
}

/* Barra de rolagem (scrollbar) */
::-webkit-scrollbar {
  width: 10px; 
}

/* Fundo da barra de rolagem */
::-webkit-scrollbar-track {
  background: var(--surface-color);
}

/* Polegar da barra de rolagem */
::-webkit-scrollbar-thumb {
  background-color: var(--highlight-color);
  border-radius: 10px;
  border: 2px solid var(--surface-color);
}

/* Polegar da barra de rolagem ao passar o mouse */
::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color);
}


body *{
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
}

#container{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

#profile{
 width: 100%;
}

#profile img{
  width: 170px;  
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #fff;
}

#profile p{
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  margin-top: 20px;
}

#profile #stacks {
  line-height: 24px;
}

#profile #stacks i {
  font-size: 26px;
  margin-right: 2px;
}

/*Switch*/
#switch{  
  width: 104px;  
  margin: 20px auto; 
  cursor: pointer;
  display:flex;
  flex-direction: column;
}

#switch i {
  font-size: 26px; 
}

#dark-icon {
  color: yellow;
}

#switch button{
  width: 32px;
  height: 32px;
  background: white var(--switch-bg-url) no-repeat center;
  border: 0;
  border-radius: 50%;
  
  position: absolute;
  top: 50%;
  left:0;
  z-index: 1;
  transform: translateY(-50%);

  animation: slide-back 0.2s;
}

.light #switch button{
  animation: slide-in 0.2s forwards;
}

#switch button:hover{
  outline: 8px solid var(--highlight-color);
}

#switch span{
  margin-top: 2px;
  font-weight: 500;
}

/*Links*/
ul {
  list-style: none;
  width: 35%;  
  min-width: 500px;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

@media (max-width: 768px) {
  ul {
    width: 80%;
    min-width: 380px;
  } 
}

ul li a {
  display:flex;
  align-items: center;
  justify-content: center;
  
  padding: 16px 24px;
  
  background: var(--surface-color);
  border: 1px solid var(--stroke-color);
  
  border-radius: 30px;
  
  backdrop-filter: blur;
  -webkit-backdrop-filter: blur(4px);
  
  text-decoration: none;
  font-weight: 500;
  
  transition: background 0.2s;
}

ul li a i {
  margin-right: 5px;
  font-size: 20px;
}


.breve{
  position: absolute;
  margin: -35px 300px;
  background: rgb(203, 0,0) ;
  color: #fff;
  padding: 3px 3px;
  border-radius: 4px;
  font-size: 10px;
}

ul li a:hover{
  background: var(--surface-color-hover);
  border: 1.5px solid var(--text-color);
}

ul li img{
  width: 40px;
}

#video-background{
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

footer {
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
}

@keyframes slide-in {
  from{
    left: 0;
  }
  to{
    left: 50%;
  }
}

@keyframes slide-back {
  from{
    left: 50%;
  }
  to{
    left: 0;
  }
}