body {
    background-color: #000000;
    opacity: 1;
    background-image: linear-gradient(30deg, #222222 12%, transparent 12.5%, transparent 87%, #222222 87.5%, #222222), linear-gradient(150deg, #222222 12%, transparent 12.5%, transparent 87%, #222222 87.5%, #222222), linear-gradient(30deg, #222222 12%, transparent 12.5%, transparent 87%, #222222 87.5%, #222222), linear-gradient(150deg, #222222 12%, transparent 12.5%, transparent 87%, #222222 87.5%, #222222), linear-gradient(60deg, #22222277 25%, transparent 25.5%, transparent 75%, #22222277 75%, #22222277), linear-gradient(60deg, #22222277 25%, transparent 25.5%, transparent 75%, #22222277 75%, #22222277);
    background-size: 20px 35px;
    background-position: 0 0, 0 0, 10px 18px, 10px 18px, 0 0, 10px 18px;
}

.nav-item>.active {
    background-color: #0000c9 !important;
}

#header {
    background-color:#080741;
    
}
#Sobremi{
    color: white;
}
#texto{
    color: white;
    font-size: 23px;
    text-shadow:
        2px 2px 0.8px #000,
        -2px 2px 0.8px #000;
}
#Habilidades{
    color: white;
}
#programas{
    color: white;
}
#trabajos{
    color: white;
}
#pills-home-tab{
    color: white;
}
#pills-profile-tab{
    color: white;
}
#pills-contact-tab{
    color: white;
}
#pills-contacts-tab{
    color: white;
}
#contacto{
    color: white;
}
.nav-link {
    font-size: 25px;
}

.nav-link:hover {
    color: #8f8fb6;
}

.nav-link:active {
    color: #5a5bb4;
}

button:hover {
    background-color: #45459e;
}

button:active {
    background-color: #25279e;
}

.apartados {
    border-bottom: solid white 4px;
    border-radius: 1px;
}

.progress-bar {
    font-size: 18px;
}

.programas2 {
    width: 125px;
    height: 125px;
}

#pie {
    background-color: #080741;
}

.correos {
    font-size: 20px;
}

video {
    width: 100%;
    border: solid #0704a1 4px;
}

model-viewer {
    border: solid #0704a1 4px;
    background-color: #707070;
}
#foto {
    border: solid #0704a1 4px;
    width: 100%;
    height: 450px;
}

/* Modo oscuro/claro*/
.switch {
    font-size: 17px;
    position: relative;
    left: 15%;
    display: inline-block;
    width: 3.5em;
    height: 2em;
    cursor: pointer;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    --background: #20262c;
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background);
    transition: 0.5s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.4em;
    width: 1.4em;
    border-radius: 50%;
    left: 10%;
    bottom: 15%;
    box-shadow: inset 8px -4px 0px 0px #ececd9, -4px 1px 4px 0px #dadada;
    background: var(--background);
    transition: 0.5s;
}

.decoration {
    position: absolute;
    content: "";
    height: 2px;
    width: 2px;
    border-radius: 50%;
    right: 20%;
    top: 15%;
    background: #e5f041e6;
    backdrop-filter: blur(10px);
    transition: all 0.5s;
    box-shadow: -7px 10px 0 #e5f041e6, 8px 15px 0 #e5f041e6, -17px 1px 0 #e5f041e6,
        -20px 10px 0 #e5f041e6, -7px 23px 0 #e5f041e6, -15px 25px 0 #e5f041e6;
}

input:checked~.decoration {
    transform: translateX(-20px);
    width: 10px;
    height: 10px;
    background: white;
    box-shadow: -12px 0 0 white, -6px 0 0 1.6px white, 5px 15px 0 1px white,
        1px 17px 0 white, 10px 17px 0 white;
}

input:checked+.slider {
    background-color: #5494de;
}

input:checked+.slider:before {
    transform: translateX(100%);
    box-shadow: inset 15px -4px 0px 15px #efdf2b, 0 0 10px 0px #efdf2b;
}

/* Modo Inglés/Español */
.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 5em;
    height: 2.5em;
    user-select: none;
  }
  
  .switch .cb {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .toggle {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    border-radius: 0.1em;
    transition: 0.4s;
    text-transform: uppercase;
    font-weight: 700;
    overflow: hidden;
    box-shadow:
      -0.3em 0 0 0 #1a1a1a,
      -0.3em 0.3em 0 0 #1a1a1a,
      0.3em 0 0 0 #1a1a1a,
      0.3em 0.3em 0 0 #1a1a1a,
      0 0.3em 0 0 #1a1a1a;
  }
  
  .toggle > .left {
    position: absolute;
    display: flex;
    width: 50%;
    height: 88%;
    background-color: #2c2c2c;
    color: #f3f3f3;
    left: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    transform-origin: right;
    transform: rotateX(10deg);
    transform-style: preserve-3d;
    transition: all 150ms;
  }
  
  .left::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #3a3a3a;
    transform-origin: center left;
    transform: rotateY(90deg);
  }
  
  .left::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #1e1e1e;
    transform-origin: center bottom;
    transform: rotateX(90deg);
  }
  
  .toggle > .right {
    position: absolute;
    display: flex;
    width: 50%;
    height: 88%;
    background-color: #2c2c2c;
    color: #3a3a3a;
    right: 1px;
    bottom: 0;
    align-items: center;
    justify-content: center;
    transform-origin: left;
    transform: rotateX(10deg) rotateY(-45deg);
    transform-style: preserve-3d;
    transition: all 150ms;
  }
  
  .right::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #3a3a3a;
    transform-origin: center right;
    transform: rotateY(-90deg);
  }
  
  .right::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #1e1e1e;
    transform-origin: center bottom;
    transform: rotateX(90deg);
  }
  
  .switch input:checked + .toggle > .left {
    transform: rotateX(10deg) rotateY(45deg);
    color: #3a3a3a;
  }
  
  .switch input:checked + .toggle > .right {
    transform: rotateX(10deg) rotateY(0deg);
    color: #6b96e0;
  }
  
/* Tablet */
@media screen and (max-width: 820px){
    .nav-link {
        font-size: 20px;
    }

    .progress-bar {
        font-size: 17px;
    }
    .correos {
        font-size: 18px;
    }
    iframe{
        width: 700px;
        height: 393.75px;
        
    }
    #sep{
        margin-right:250px;
    }
}
/* Móvil */
@media screen and (max-width: 414px) {
    .nav-link {
        font-size: 18px;
    }

    .progress-bar {
        font-size: 14px;
    }

    .programas1 {
        width: 100px;
        height: 100px;
    }

    .programas2 {
        width: 90px;
        height: 90px;
    }

    .correos {
        font-size: 16px;
    }
    iframe{
        width: 600px;
        height: 337.5px;
        
    }
    #sep{
        margin-right:200px;
    }
}