@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500&family=Open+Sans:wght@300;400;700&display=swap');
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
    --color-header: #2B6190;
    --modal-bgdark: rgba(255, 160, 122, 0.2);
    --modal-bglight: rgba(255, 160, 122, 0.1);
}

html {
    line-height: 1.6;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}
h1,
h2,
h3 {
    font-family: 'EB Garamond', sans-serif;

}

header {
    background-color: var(--color-header);
}

.carousel__title {
    align-items: center;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.off{
    display: none;
}

.modal__brown-dark {
  background: var(--modal-bgdark)
}
.modal__brown-light {
  background: var(--modal-bglight)
}
/*SUBMENU*/
.toggleable > label:after {
    content: "\25BC";
    font-size: 10px;
    padding-left: 6px;
    position: relative;
    top: -1px;
  }

  .toggle-input {
    display: none;
  }
  .toggle-input:not(checked) ~ .mega-menu {
    display: none;
  }

  .toggle-input:checked ~ .mega-menu {
    display: block;
  }


  .toggle-input:checked ~ label:after {
    content: "\25B2";
    font-size: 10px;
    padding-left: 6px;
    position: relative;
    top: -1px;
  }
  .mega-menu {
    display: none;
    left: 0;
    position: absolute;
    text-align: left;
    width: 100%;
  }

  /*CAROUSEL*/

  .carousel {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 48px;
    padding-right: 48px;
    position: relative;
  }
  
  .carousel__activator {
    display: none;
  }
  
  .carousel__controls {
    display: none;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    right: 16px;
    left: 16px;
    bottom: 0;
  }
  .carousel__controls:first-of-type {
    justify-content: flex-end;
  }
  .carousel__controls:last-of-type {
    justify-content: flex-start;
  }
  
  .carousel__control {
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #3d414a;
    border-radius: 100%;
    box-shadow: 0 2px 10px 0 rgba(33, 34, 36, 0.3);
    font-size: 24px;
    height: 48px;
    justify-content: center;
    transition: 0.3s all;
    width: 48px;
    z-index: 1;
  }
  .carousel__control:hover {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  
  .carousel__activator:nth-of-type(1):checked
  ~ .carousel__controls:nth-of-type(1) {
    display: flex;
  }
  
  .carousel__activator:nth-of-type(1):checked
  ~ .carousel__screen
  .carousel__track {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
  
  .carousel__activator:nth-of-type(2):checked
  ~ .carousel__controls:nth-of-type(2) {
    display: flex;
  }
  
  .carousel__activator:nth-of-type(2):checked
  ~ .carousel__screen
  .carousel__track {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  
  .carousel__activator:nth-of-type(3):checked
  ~ .carousel__controls:nth-of-type(3) {
    display: flex;
  }
  
  .carousel__activator:nth-of-type(3):checked
  ~ .carousel__screen
  .carousel__track {
    -webkit-transform: translateX(-200%);
            transform: translateX(-200%);
  }
  
  .carousel__activator:nth-of-type(4):checked
  ~ .carousel__controls:nth-of-type(4) {
    display: flex;
  }
  
  .carousel__activator:nth-of-type(4):checked
  ~ .carousel__screen
  .carousel__track {
    -webkit-transform: translateX(-300%);
            transform: translateX(-300%);
  }
  
  .carousel__activator:nth-of-type(5):checked
  ~ .carousel__controls:nth-of-type(5) {
    display: flex;
  }
  
  .carousel__activator:nth-of-type(5):checked
  ~ .carousel__screen
  .carousel__track {
    -webkit-transform: translateX(-400%);
            transform: translateX(-400%);
  }
  
  .carousel__activator:nth-of-type(6):checked
  ~ .carousel__controls:nth-of-type(6) {
    display: flex;
  }
  
  .carousel__activator:nth-of-type(6):checked
  ~ .carousel__screen
  .carousel__track {
    -webkit-transform: translateX(-500%);
            transform: translateX(-500%);
  }
  
  .carousel__activator:nth-of-type(7):checked
  ~ .carousel__controls:nth-of-type(7) {
    display: flex;
  }
  
  .carousel__activator:nth-of-type(7):checked
  ~ .carousel__screen
  .carousel__track {
    -webkit-transform: translateX(-600%);
            transform: translateX(-600%);
  }
  
  .carousel__activator:nth-of-type(8):checked
  ~ .carousel__controls:nth-of-type(8) {
    display: flex;
  }
  
  .carousel__activator:nth-of-type(8):checked
  ~ .carousel__screen
  .carousel__track {
    -webkit-transform: translateX(-700%);
            transform: translateX(-700%);
  }
  
  .carousel__activator:nth-of-type(9):checked
  ~ .carousel__controls:nth-of-type(9) {
    display: flex;
  }
  
  .carousel__activator:nth-of-type(9):checked
  ~ .carousel__screen
  .carousel__track {
    -webkit-transform: translateX(-800%);
            transform: translateX(-800%);
  }
  
  .carousel__activator:nth-of-type(10):checked
  ~ .carousel__controls:nth-of-type(10) {
    display: flex;
  }
  
  .carousel__activator:nth-of-type(10):checked
  ~ .carousel__screen
  .carousel__track {
    -webkit-transform: translateX(-900%);
            transform: translateX(-900%);
  }
  
  .carousel__screen {
    overflow: hidden;
    margin-left: -16px;
    margin-right: -16px;
  }
  
  .carousel__track {
    font-size: 0;
    transition: all 0.3s ease 0s;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .carousel__item {
    display: inline-flex;
    padding-left: 16px;
    padding-right: 16px;
    vertical-align: top;
    white-space: normal;
  }
  
  .carousel__item--desktop-in-1 {
    width: 100%;
  }
  
  .carousel__item--desktop-in-2 {
    width: 50%;
  }
  
  .carousel__item--desktop-in-3 {
    width: 33.3333333333%;
  }
  
  .carousel__item--desktop-in-4 {
    width: 25%;
  }
  
  .carousel__item--desktop-in-5 {
    width: 20%;
  }
  
  
  
  .demo-content {
    color: #fff;
    display: flex;
    font-family: Helvetica;
    font-weight: 100;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border-radius: 3px;
    font-size: 56px;
    height: 250px;
    width: 100%;
  }
  
  
  @media screen and (max-width: 1023px) {
    .carousel {
      padding-left: 0;
      padding-right: 0;
    }
  
    .carousel__activator:nth-of-type(n):checked ~ .carousel__controls:nth-of-type(n) {
      display: none;
    }
    .carousel__activator:nth-of-type(n):checked ~ .carousel__screen .carousel__track {
      -webkit-transform: none;
              transform: none;
    }
  
    .carousel__screen {
      margin-left: 0;
      margin-right: 0;
    }
  
    .carousel__track {
      overflow-x: auto;
      width: auto;
      padding-left: 48px;
      padding-right: 48px;
    }
  
    .carousel__item--tablet-in-1 {
      width: 90%;
    }
  
    .carousel__item--tablet-in-2 {
      width: 45%;
    }
  
    .carousel__item--tablet-in-3 {
      width: 30%;
    }
  }
  @media screen and (max-width: 650px) {
    .carousel__track {
      padding-left: 0;
      padding-right: 0;
    }
  
    .carousel__item--mobile-in-1 {
      width: 90%;
    }
  
    .carousel__item--mobile-in-2 {
      width: 45%;
    }
  
    .carousel__item--mobile-in-3 {
      width: 30%;
    }
  }

  @media only screen and (min-width: 768px) {
    .novedades__li:nth-child(-n+3):after {
        content: '|';
        padding: 0 1rem;
    }
nav, .footer-ul {
    grid-template-columns: auto auto auto;
}
}