
@media (max-width: 768px) {
  .vertical-bar .dot {
    display: none;
  }

  .fondo-svg {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
  }

  .image-container {
    position: relative;
    display: inline-block;
  }

  .logo-jonux {
    margin-top: 50%;
    position: relative;
    display: inline-block;
    position: fixed;
  }

  .logo-portfolio {
    margin-left: 43%;
  }

  .chevron {
    margin-right: 45%;
  }

  .navbar {
    display: block;
    position: fixed;
    text-align: center;
    width: 100%;
    left: 100%;
    top: 70px;
    right: 0;
    backdrop-filter: blur(15px);
    height: 72vh;
    transition: left 0.2s ease;
  }

  .navbar a {
    display: block;
    margin-top: 55px;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: 700;
  }

  .navbar a.active {
    color: #00ffff;
  }

  .navbar a:after {
    content: initial;
    position: initial;
    width: initial;
    height: initial;
    bottom: initial;
    left: initial;
    background-color: initial;
    transform: initial;
    transform-origin: initial;
    transition: initial;
  }

  .checkbtn {
    display: block;
  }

  #check {
    display: contents;
  }

  .elemento {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }
  .elemento.mostrar {
    max-height: 500px;
    opacity: 1;
  }

  #check:checked ~ .navbar {
    left: -15px;
  }

  /* =================== sobre mi ============= */

  .logo-sobreMi {
    margin-left: 45%;
    margin-top: -20%;
    color: var(--color-secundario);
    font-family: var(--fuente-primario);
    transform: initial;
    font-size: 0.9rem;
    font-weight: 600;
  }

  .chevron-up-servicios {
    margin-left: 40.6%;
    margin-top: -20.31%;
    font-size: 1.1rem;
    color: #00ffff;
    transform: rotate(90deg);
  }

  .contenedor_parrafo {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7%;
  }

  .presentacion {
    line-height: 1.1;
    position: initial;
  }

  .presentacion h1 {
    font-size: 2rem;
    font-weight: 400;
  }

  .presentacion h2 {
    font-size: 2rem;
    font-weight: 700;
  }

  .parrafo {
    text-align: center;
    color: var(--fuente-color);
    font-size: 0.8rem;
    position: initial;
  }

  .btn {
    position: relative;
    width: 145px;
    height: 50px;
    top: -150px;
    padding: 15px 30px;
    font-size: 0.75rem;
    background-color: transparent;
    color: var(--color-boton);
    border: 1px solid var(--color-secundario);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.7s ease;
  }

  .btn:hover {
    background-color: var(--color-secundario);
    color: var(--color-primario);
    border: var(--color-primario);
  }

  /* ========= servicios =================== */

  .servicios {
    overflow: visible;
  }

  .logo-servicios {
    position: absolute;
    top: -40%;
    color: var(--color-secundario);
    font-family: var(--fuente-primario);
    transform: initial;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    font-weight: 600;
  }

  .chevron-up {
    font-size: 1.1rem;
    top: -40.5%;
    left: 54.1%;
    transform: rotate(90deg);
  }

  .servicios {
    min-height: 65vh;
  }

  .card-container {
    gap: 0;
  }

  .card {
    width: 100%;
    max-width: 281px;
    height: 338px;
    margin: 10px;
  }

  .card-content h2 {
    font-size: 0.8rem;
  }

  .card-content p {
    margin: 0 0;
    font-size: 0.75rem;
  }

  .seo p {
    margin-top: -20px;
  }

  .mantenimiento p {
    margin-top: -20px;
  }

  .btn2 {
    width: 145px;
    height: 50px;
    padding: 15px 30px;
    font-size: 0.75rem;
    margin-top: 8%;
  }

  /* ======== proyectos ================= */

  .senalador-portfolio {
    margin-top: 1%;
    transform: initial;
    left: 40%;
    font-size: 0.9rem;
  }

  .chevron-up-porfolio {
    font-size: 1.1rem;
    left: 54.2%;
    margin-top: 0.8%;
    transform: rotate(90deg);
  }

  .slider-card {
    height: 300px;
  }

  .slider-card h5 {
    font-size: 0.8rem;
  }

  .slider-card p {
    margin-top: -10px;
    font-size: 0.6rem;
  }

  .slider-card a i {
    font-size: 0.9rem;
  }

  .owl-carousel.owl-theme .owl-dots .owl-dot span {
    width: 6px;
    height: 6px;
  }

  /* ==================== seccion contacto ======================= */

  .contenedor-contacto::after {
    height: 127px;
    top: 9.5%;
    left: 40%;
  }

  .contenedor-social-media {
    float: left;
    margin-top: 22.5%;
    margin-left: 15%;
  }

  .social-contacto {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-primario);
  }

  .social-media {
    font-size: 37px;
    margin-left: -3px;
    margin-top: -20px;
  }

  .social-media a {
    margin-right: 2px;
    font-size: 2rem;
  }

  .contactame {
    font-size: 0.6rem;
    margin-left: 12px;
    margin-top: 2.5rem;
    margin-bottom: -14px;
  }

  .input-box {
    margin-top: 5%;
    margin-left: 3%;
  }

  .input-box input {
    width: 190px;
    height: 23px;
    margin-bottom: 10px;
    font-size: 0.7rem;
  }

  .text-area textarea {
    float: right;
    width: 220px;
    height: 90px;
    margin-top: 9%;
    font-size: 0.7rem;
  }

  .btn4 {
    width: 145px;
    height: 50px;
    padding: 15px 30px;
    font-size: 0.75rem;
    margin-top: 11%;
  }

  .btn5 {
    width: 145px;
    height: 50px;
    padding: 15px 30px;
    font-size: 0.75rem;
    margin-top: 16%;
    margin-left: 37.3%;
  }
}


/* ================ max-with 360px ================== */


@media (min-width: 360px) and (max-width: 480px) {


  .vertical-bar .dot {
    display: none;
  }

  .wave-down {
    display: none;
  }

  .wave-up {
    display: none;
  }

  .fondo-svg {
    position: absolute;
    top: -20px;
    left: 0;
    width: 130%;
    max-height: 100%;
    background-image: url(../assets/imagen/integrado.svg);
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.7;
  }

  .home {
    min-height: 100vh;
  }

  .logo-jonux {
    width: initial;
    position: initial;
    z-index: initial;
  }

  .image-container {
    perspective: 1000px;
    position: relative;
    display: inline-block;
    width: 26%;
    margin-top: 35%;
    margin-left: 35%;
  }

  .logo-jonux {
    width: 225%;
    transition: transform 4s ease;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
  }

  .logo-jonux:hover {
    transform: rotateY(360deg);
  }

  .logo-jonux {
    margin-top: 90%;
  }

  .logo-portfolio {
    display: block;
    margin-top: -40px;
    margin-left: 28%;
    margin-bottom: 0px;
  }

  .chevron {
    margin-top: -35px;
    margin-left: 1px;
  }

  .checkbtn {
    display: block;
  }

  #check {
    display: contents;
  }

  .bars__menu {
    bottom: 60px;
    left: 17px;
  }

  .elemento {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }
  .elemento.mostrar {
    max-height: 500px;
    opacity: 1;
  }

  #check:checked ~ .navbar {
    left: -15px;
  }

  .navbar {
    display: block;
    position: fixed;
    text-align: center;
    width: 103%;
    left: 100%;
    top: 50px;
    right: 0;
    backdrop-filter: blur(15px);
    height: 70vh;
    transition: left 0.1s ease;
  }

  .navbar a {
    bottom: 50px;
  }

  .logo-jonux:hover {
  transform: none;
}

  /* =================== sobre mi ============= */

  .sobre_mi {
    min-width: 100vw;
    min-height: 100vh;
  }

  .logo-sobreMi {
    margin-top: -57%;
    margin-left: 43%;
    text-align: center;
    color: var(--color-secundario);
    font-family: var(--fuente-primario);
    transform: initial;
    font-size: 0.75rem;
    font-weight: 600;
    /* background-color: red; */
  }

  .chevron-up-servicios {
    margin-left: 30.8%;
    margin-top: -57.5%;
    font-size: 0.95rem;
    color: #00ffff;
    transform: rotate(90deg);
  }

  .contenedor_parrafo {
    width: 100%;
    height: 300px;
    display: flex;
    margin-top: 90px; 
    flex-direction: column;
    gap: 0;
  }

  .contenedor_parrafo::after,
  .contenedor_parrafo::before {
    display: none;
  }

  .presentacion {
    margin-top: -30px;
    line-height: 1.1;
    margin: 20px;
    /* background-color: red; */
  }

  .presentacion br {
    display: none;
  }

  .presentacion h1 {
    font-size: 1.2rem;
    font-weight: 400;
    text-align: left;
  }

  .presentacion h2 {
    font-size: 1.1rem;
    font-weight: 700;
  }

  .parrafo-1 {
    color: var(--fuente-color);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
  }

  .formacion {
    /* margin-bottom: 50px; */
    text-align: left;
    margin: 20px;
    line-height: 1.1;
  }

  .formacion br {
    display: none;
  }

  .br-alura {
    display: block !important;
  }

  .formacion h3 {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: left;
  }

  .parrafo-2 {
    color: var(--fuente-color);
    font-size: 0.85rem;
  }

  .btn {
    position: relative;
    width: 145px;
    height: 50px;
    top: 15px;
    padding: 15px 30px;
    font-size: 0.75rem;
    background-color: var(--color-primario);
    color: var(--color-boton);
    border: 1px solid var(--color-secundario);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.7s ease;
  }

  .btn:hover {
    background-color: initial;
    color: initial;
    border: 1px solid var(--color-secundario);
  }

  .btn:active {
    background-color: var(--color-primario) !important;
    color: var(--color-boton) !important;
    transform: scale(0.85);
    transition: transform 0.2s ease;
  }

  /* ========= servicios =================== */

  .servicios {
    min-height: 100vh;
    overflow: visible;
  }

  .logo-servicios {
    position: absolute;
    top:2.3%;
    color: var(--color-primario);
    font-family: var(--fuente-primario);
    transform: initial;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    /* background-color: red; */
  }

  .chevron-up {
    font-size: 0.95rem;
    top: 2.15%;
    left: 57.7%;
    transform: rotate(90deg);
  }

  .servicios {
    min-height: 0vh;
  }

  .card-container {
    gap: 20px;
    margin-bottom: 150px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 281px;
    height: 338px;
    margin: 10px;
    top: 50px;
  }

  .card-content h2 {
    font-size: 0.8rem;
    font-weight: 600;
  }

  .card-content p {
    text-align: center;
    margin: 0 0;
    font-size: 0.75rem;
  }

  .card-content p br {
   display: none;
  }

  .desarrollo p {
  margin-top: -15px;
  }

  .seo p {
    margin-top: -20px;
  }

  .mantenimiento p {
    margin-top: -20px;
  }

  .btn2 {
    width: 145px;
    height: 50px;
    padding: 15px 30px;
    font-size: 0.75rem;
    margin-top: -20%;
  }

  .btn2:hover {
    background-color: var(--color-secundario);
    color: var(--color-primario);
    /* border: var(--color-secundario); */
    border: 1px solid var(--color-primario);
  }

  .btn2:active {
    transform: translateX(-50%) scale(0.85);
    transition: transform 0.2s ease;
  }

  /* ======== proyectos ================= */

   .portfolio {
    overflow: hidden;
    min-height: 100vh;
   }

  .senalador-portfolio {
    margin-top: 13%;
    transform: initial;
    color: var(--color-secundario);
    left: 36%;
    font-size: 0.75rem;
  }

  .chevron-up-porfolio {
    font-size: 0.95rem;
    left: 57.6%;
    margin-top: 12.5%;
    transform: rotate(90deg);
  }

  .slider {
    top: 80px;
    margin: 5px 20px 60px 20px;
    height: 340px;
  }

  .slider-card {
    background: #fff;
    height: 100%;
    padding: 0px 0px;
    margin: 40px 20px 60px 20px;
    font-size: 0.8rem;
    box-shadow: 0 15px 45px -20px rgb(0 0 0 / 35%);
    transform: scale(0.9);
    opacity: 0.5;
    transition: all 0.3s;
   
  }

  .slider-card h5 {
    font-size: 0.85rem;
  }

  .slider-card p {
    margin-top: -10px;
    font-size: 0.7rem;
  }

  .slider-card a i {
    font-size: 0.95rem;
  }

  .owl-carousel.owl-theme .owl-dots .owl-dot span {
    width: 6px;
    height: 6px;
  }

  .owl-nav .owl-prev {
    position: absolute;
    top: calc(50% - 55px);
    left: -30px;
    opacity: 1;
    font-size: 45px !important;
    z-index: 1;
    transition: transform 0.3s ease;
  }
  .owl-nav .owl-next {
    position: absolute;
    top: calc(50% - 55px);
    right: -26px;
    opacity: 1;
    font-size: 45px !important;
    z-index: 1;
    transition: transform 0.3s ease;
  }

  .owl-nav .owl-prev,
  .owl-nav .owl-next {
    transition: transform 0.3s ease;
  }

  .owl-nav .owl-prev:hover,
.owl-nav .owl-next:hover {
  transform: none;
}

.owl-nav .owl-prev:active,
.owl-nav .owl-next:active {
  transform: scale(0.6);
}

.owl-carousel.owl-theme .owl-dots .owl-dot span {
  margin-top: -50px;
}


  /* ==================== seccion contacto ======================= */

  .contacto {
    min-width: 100vw;
    min-height: 110vh;
    position: relative;
  }

  .contenedor-contacto::after {
    display: none;
  }

  .contenedor-contacto {
    display: flex;
    flex-direction: column-reverse;
    background-color: var(--color-secundario);
  }

  .contenedor-social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    float: initial;
    margin-top: 28%;
    margin-left: 0%;
    margin-bottom: 0px;
  }

  .contenedor-form {
    float: none;
    margin-right: 0;
    margin-top: 0;
  }

  .form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 0rem;
 
  }

  .social-contacto {
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: -8px;
    color: var(--color-primario);
    left: auto;
  }

  .social-media {
  
    font-size: 37px;
    margin-left: 5px;
    margin-top: -20px;
  }

  .social-media a {
    margin-right: 2px;
    font-size: 2rem;
  }

  .social-media a:hover {
    color: var(--color-portfolio);
  }


  .social-media a i:active {
    transform: scale(0.7);
    transition: transform 0.07s ease;
  }

  .contactame {
    text-align:center;
    font-size: 0.7rem;
    margin-left: 12px;
    margin-top: 2.5rem;
    margin-bottom: 9px;
    line-height: .7;
  }

  .contactame br {
    display: none;
  }

  .line-break::after {
    content: "\A";
    white-space: pre;
    display: block;
  }

  /* .contactame br {
    display: none;
  } */

  .input-box {
    margin-top: 0%;
    margin-left: 0%;
  }

  .input-box input {
    width: 270px;
    height: 35px;
    margin-bottom: 10px;
    font-size: 0.8rem;
  }

  .text-area textarea {
    float: none;
    width: 270px;
    height: 150px;
    margin-top: 0%;
    font-size: 0.8rem;
  }

  .btn4 {
    
    width: 145px;
    height: 50px;
    padding: 15px 30px;
    font-size: 0.75rem;
    margin-top: 7%;
    transition: transform 0.2s ease;
  }

  .btn4:hover {
    background-color: var(--color-secundario);
    color: var(--color-primario);
    border: 1px solid var(--color-primario);
  }

  .btn4:active {
    transform: translateX(-50%) scale(0.85);
    transition: transform 0.2s ease;
  }

  .btn5 {
    width: 145px;
    height: 50px;
    padding: 15px 30px;
    font-size: 0.75rem;
    margin-top: 97%;
    margin-left: auto;
    transition: transform 0.2s ease;
  }

  .btn5:hover {
    background-color: var(--color-secundario);
    color: var(--color-primario);
    border: 1px solid var(--color-primario);
  }

  .btn5:active {
    transform: scale(0.85);
    transition: transform 0.2s ease;
  }

  /* ============ footer ============ */

  .footer {
    padding: 25px 0;
    background: var(--color-footer);
    color: var(--color-primario);
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer {
    background-color: var(--color-footer);
    font-size: 0.6rem;
    margin-top: 0%;
  }

  .logo-footer {
    width: 40px;
  }
}


