@import url("https://use.typekit.net/yxr5rij.css"); /* CODE SAVER */
@import url("https://use.typekit.net/yxr5rij.css"); /* LORA */
@import url("https://use.typekit.net/yxr5rij.css"); /* ABHAYA LIBRE */

* {
  box-sizing: border-box;
}









/*-----------------------MODO ORDENADOR*/

@media (min-width: 1025px) {
  

  body, html {
    scrollbar-width: none; 
  }

  body::-webkit-scrollbar,
  html::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none;
  }


  body, html {
      margin: 0;
      padding: 0;
      width: 100%;
      min-height: 100%;
      background-color: rgb(255, 255, 255);
      scroll-behavior: smooth;
      cursor: crosshair;
  }

  
  .container {
      display: flex;
      align-items: flex-start; 
      height: auto;
  }

  
  .left {
    width: 60%;
    padding: 0.4rem;
    background-color: #ffffff;
    scroll-behavior: smooth;
    scrollbar-width: none; 
  }

  .left::-webkit-scrollbar {
    display: none; 
  }

  .left video,
  .left img {
    width: 80%;
    margin-bottom: 0.2rem;
    transition: transform 0.3s;
  }


  .right {
    width: 40%;
    padding: 4rem 2rem;
    height: 100vh;
    position: sticky;
    top: 0;
  }

  .right .content {
    position: sticky;
    top: 4rem;
  }

  h1 {
    margin-bottom: 1rem;
    font-size: 12px;
    font-family: "code-saver", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgba(234, 63, 63, 1);
  }

  p {
    font-family: "abhaya-libre", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgba(234, 63, 63, 1);
    text-decoration: none;
    margin-right: 37%;
  }

  .behance {
    color: rgba(234, 63, 63, 1);
    text-decoration: none;
    font-size: 12px;
    font-family: "code-saver", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
}





/*-----------------------MODO TABLET*/

@media (min-width: 768px) and (max-width: 1024px) {
  


  body, html {
    scrollbar-width: none; 
  }

  body::-webkit-scrollbar,
  html::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none;
  }


  body, html {
      margin: 0;
      padding: 0;
      width: 100%;
      min-height: 100%;
      background-color: rgb(255, 255, 255);
      scroll-behavior: smooth;
      cursor: crosshair;
  }


  .container {
    display: flex;
    align-items: flex-start; 
    height: auto;
  }

  .left {
    width: 60%;
    padding: 0.4rem;
    background-color: #ffffff;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .left::-webkit-scrollbar {
    display: none; 
  }

  .left video,
  .left img {
    width: 80%;
    margin-bottom: 0.2rem;
    transition: transform 0.3s;
  }


  .right {
    width: 70%;
    padding: 4rem 2rem;
    height: 100vh;
    position: sticky;
    top: 0;
  }

  .right .content {
    position: sticky;
    top: 4rem;
  }

  h1 {
    margin-bottom: 1rem;
    font-size: 12px;
    font-family: "code-saver", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgba(234, 63, 63, 1);
  }

  p {
    font-family: "abhaya-libre", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgba(234, 63, 63, 1);
    text-decoration: none;
    margin-right: 37%;
  }

  .behance {
    color: rgba(234, 63, 63, 1);
    text-decoration: none;
    font-size: 12px;
    font-family: "code-saver", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
}












/*-----------------------MODO PHONE*/


@media (max-width: 768px) {

  .container {
    display: flex;
    flex-direction: column;
    align-items: stretch; 
    height: auto;
    width: 100%;
    padding: 0;
  }


  .right {
    order: 1;
    width: 100%;
    padding: 2rem 1rem 1rem 1rem;
    position: static;
    height: auto;
    text-align: left;
  }

  .right .content {
    position: static;
    top: auto;
  }

  h1 {
    margin-top: 8rem; 
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-family: "code-saver", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgba(234, 63, 63, 1);
    text-align: left;
  }

  p {
    font-family: "abhaya-libre", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgba(234, 63, 63, 1);
    text-decoration: none;
    margin: 0 2rem 1rem 0;
    text-align: left;
  }

  .left {
    order: 2; 
    width: 100%;
    padding: 5rem 1rem 1rem 1rem;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    max-height: none;
    box-sizing: border-box;
  }

  .left video,
  .left img {
    width: 100%;
    max-width: 400px;
    margin-bottom: 1rem;
    transition: transform 0.3s;
    display: block;
  }

  .behance {
    color: rgba(234, 63, 63, 1);
    text-decoration: none;
    font-size: 12px;
    font-family: "code-saver", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
}