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

html{
    scroll-behavior: smooth;
}

body{
 background-attachment: fixed;
 background-image: url(/img/Background5.jpg);
 background-size: cover;
 background-position-y: 10% ;
 background-color: white;
}

.home-bar{
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: right;
}

.home-bar i{
    color: #102937;
}

.home-bar-bg{
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
    background: rgba( 255, 255, 255, 0.45 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.30);
    backdrop-filter: blur( 20px );
    -webkit-backdrop-filter: blur( 20px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    position: fixed;
}

.home-bar a{
    text-align: right;
    padding: .5em;
    font-size: 20px;
    color: #102937;
}

nav{
    background: rgba( 255, 255, 255, 0.45 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.30);
    backdrop-filter: blur( 20px );
    -webkit-backdrop-filter: blur( 20px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    position: fixed;
    max-width: 30rem;
    width: 90vw;
    margin: 0 auto;
    bottom: 2rem;
    left: 0;
    right: 0;
    border-radius: 30px;
}


nav ul{
    display: flex;
    justify-content: space-around;
}


a {
    text-decoration: none;
    color: #102937;
    padding: 1.2em .5em;
}

i{
    transition: all 200ms ease-in;
    font-size: 2rem;
    color: #102937;
    cursor: pointier;
}

nav ul a:hover i:not(.fa-bell){
    transform: scale(1.3);
    
}



@media (max-width: 450px ) {
    .nav{
        width: 50vh;
    }

    i{
        font-size: 1.5rem;
    }
    
    a{
        padding: 0.7em .4em;
    }
    
 }

@keyframes wiggle{
    0%{
        transform: translateX(0px) rotate(0deg);
    }

    20%{
        transform: translateX(-4px) rotate(-4deg);
    }

    40%{
        transform: translateX(-2px) rotate(-2deg);
    }

    60%{
        transform: translateX(4px) rotate(4deg);
    }

    80%{
        transform: translateX(2px) rotate(2deg);
    }

    100%{
        transform: translateX(0px) rotate(0deg);
    }

}


  #label{
    cursor: pointer;
  }

  #toggle {
    display: none;
  }

  .oscuro{
    background-image: url(/img/Background6.jpg);
    color: white;
    background-color: black;
  }


  .oscuro .nav{
    background: rgba( 255, 255, 255, 0 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 20px );
    -webkit-backdrop-filter: blur( 20px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
  }

  .oscuro .body{
    transition: all 1.5s ease;
  }

  .oscuro a{
    color: white;
  }

  .oscuro i{
    color: white;
  }

  .oscuro .tab2-card{
    background-color: #3F3F3F;
  }

  .oscuro .tab2-skills{
    filter: brightness(0) invert(1);
  }

  .oscuro .card-container{
    background-color: #3F3F3F;
  }

  