/*MOTORCYCLES CAROUSEL*/
section.carousel {
    height: calc(100vh - (calc(4.8rem + .5vw)));
    width: 100vw;
    overflow: hidden;
    position: relative;
    margin-top: calc(5.23rem + .9vw);
}

.carousel__list .carousel__list__item {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}

.carousel__list .carousel__list__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel__list .carousel__list__item .carousel__list__content {
    position: absolute;
    top: 3%;
    left: 35%;
    transform: translateX(-50%);
    width: 60%;
    padding-right: calc(10% + 2vw);
    box-sizing: border-box;
    color: white;
    text-shadow: 0 5px 10px #0004;
}

.carousel__list .carousel__list__item .carousel__list__title {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.3em;
    margin-bottom: 16px;
    padding: 2px 10px;
}

.carousel__list .carousel__list__content .carousel__list__description {
    padding: 5px 13px;
}

/*Carousel Arrows*/
.carousel__arrows {
    position: absolute;
    top: 35%;
    left: 5%;
    z-index: 4;
    display: flex;
    column-gap: 16px;
    align-items: center;
}

.carousel__arrows button {
    width: 48px;
    height: 48px;
    line-height: 10px;
    border-radius: 50%;
    border: 3px solid orange;
    color: black;
    font-family: monospace;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: .5s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: white;
    box-shadow: 0 0 0 3px white, 0 0 0 3px white, inset 0 0 0 4px rgba(0, 0, 0, 1), 0 5px 20px rgba(0, 0, 0, .5);
}

.carousel__arrows button:hover {
    border: 3px solid black;
    background: rgba(0, 0, 0, .5);
    color: white;
}

/* thumbails */
.carousel__thumbnail {
    position: absolute;
    bottom: 25px;
    left: 35%;
    width: max-content;
    z-index: 4;
    display: flex;
    gap: 20px;
}

.carousel__thumbnail .carousel__thumbnail__item {
    width: 142px;
    height: 208px;
    flex-shrink: 0;
    position: relative;
}

.carousel__thumbnail .carousel__thumbnail__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid white;
    box-shadow: 0 0 0 2px black, 0 0 0 3px black, inset 0 0 0 2px rgba(0, 0, 0, 1);
}

.carousel__thumbnail .carousel__thumbnail__item .carousel__thumbnail__content {
    position: absolute;
    bottom: -1px;
    left: 3px;
    color: white;
    width: 92%;
}

.carousel__thumbnail .carousel__thumbnail__item .carousel__thumbnail__title {
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 105%;
    text-align: center;
    font-weight: 500;
    font-size: 1rem;
    background: rgba(0, 0, 0, .5);
    padding: 2px 6px;
    border-radius: 0 0 10px 10px;
    border-top: 2px solid white;
}

/* animation */
.carousel__list .carousel__list__item:nth-child(1) {
    z-index: 1;
}

/* animation text in first item */
.carousel__list .carousel__list__content .carousel__list__title,
.carousel__list .carousel__list__content .carousel__list__description {
    font-family: Arial, Helvetica, sans-serif;
    background: rgba(0, 0, 0, .5);
    border: 1px solid rgba(255, 255, 255, .5);
    box-shadow: 2px 3px 5px white;
    border-radius: 4px;
    display: inline-block;
}

.carousel__list .carousel__list__item:nth-child(1) .carousel__list__title,
.carousel__list .carousel__list__item:nth-child(1) .carousel__list__description {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: display-content .5s 1s linear 1 forwards;
}
@keyframes display-content {
    to {
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

.carousel__list__content .carousel__list__title {
    animation-delay: .8s!important;
}

.carousel__list__content .carousel__list__description {
    animation-delay: 1s!important;
    line-height: 1.4;
    font-size: 1rem;
    padding: 10px 13px;
    margin-bottom: 12px;
}

/* trigger animation when clicking next button */
.carousel.next .carousel__list .carousel__list__item:nth-child(1) img {
    width: 142px;
    height: 208px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 10px;
    animation: display-image .5s linear 1 forwards;
}
@keyframes display-image {
    to {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .carousel__thumbnail .carousel__thumbnail__item:nth-last-child(1) {
    overflow: hidden;
    animation: display-thumbnail .5s linear 1 forwards;
}
.carousel.previous .carousel__list .carousel__list__item img {
    z-index: 5;
}
@keyframes display-thumbnail {
    from {
        width: 0;
        opacity: 0;
    }
}
.carousel.next .carousel__thumbnail {
    animation: active-next .5s linear 1 forwards;
}
@keyframes active-next {
    from {
        transform: translateX(142px);
    }
}

/* trigger animation when clicking previous button */
.carousel.previous .carousel__list .carousel__list__item:nth-child(2) {
    z-index: 2;
}

.carousel.previous .carousel__list .carousel__list__item:nth-child(2) img {
    animation: active-previous 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes active-previous {
    to {
        width: 142px;
        height: 208px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.previous .carousel__thumbnail .carousel__thumbnail__item:nth-child(1) {
    overflow: hidden;
    opacity: 0;
    animation: display-thumbnail .5s linear 1 forwards;
}

.carousel.next .carousel__arrows button,
.carousel.previous .carousel__arrows button {
    pointer-events: none;
}

.carousel.previous .carousel__list__item:nth-child(2) .carousel__list__title,
.carousel.previous .carousel__list__item:nth-child(2) .carousel__list__description {
    animation: hide-content 1.5s linear 1 forwards!important;
}
@keyframes hide-content {
    to {
        transform: translateY(-142px);
        filter: blur(20px);
        opacity: 0;
    }
}

/*Media Queries Carousel*/
@media(min-width: 1400px) {
        .carousel__list .carousel__list__item .carousel__list__content {
            padding-right: calc(20% + 2vw);
        }
}

@media(min-width: 1650px) {
        .carousel__list .carousel__list__item .carousel__list__content {
            padding-right: calc(25% + 2vw);
        }
}

@media(max-width: 1180px) {
    .carousel__thumbnail {
        left: 29%;
    }
}

@media(max-width: 1000px) {
    .carousel__thumbnail {
        left: 20%;
    }
}

@media(max-width: 900px) {
    .carousel__list .carousel__list__item .carousel__list__content {
        left: 50%;
        width: 95%;
    }

    .carousel__arrows,
    .carousel__thumbnail {
        left: 3%;
    }
}

@media(max-width: 768px) {
    section.carousel {
        margin-top: calc(4.8rem + .5vw);
    }

    .carousel__list .carousel__list__item .carousel__list__content {
        padding-right: 10px;
    }

    .carousel .carousel__list .carousel__list__item .carousel__list__title {
        font-size: 1.2rem;
    }

    .carousel__list__content .carousel__list__description {
        font-size: .85rem;
    }

    /*change thumbnail size*/
    .carousel__thumbnail .carousel__thumbnail__item {
        width: 128px;
        height: 188px;
    }

    .carousel.next .carousel__list .carousel__list__item:nth-child(1) img {
        width: 128px;
        height: 188px;
    }

    @keyframes effectNext {
        from {
            transform: translateX(128px);
        }
    }

    @keyframes outFrame {
        to {
            width: 128px;
            height: 188px;
        }
    }
}

@media(max-width: 650px) {
    .carousel__arrows button {
        width: 45px;
        height: 45px;
    }

    .carousel__thumbnail .carousel__thumbnail__item:last-child {
        display: none;
    }
}

@media(max-width: 500px) {
    .carousel__thumbnail {
        column-gap: 14px;
    }
}

@media(max-width: 450px) {
    .carousel__list .carousel__list__item .carousel__list__content {
        padding-right: 5px;
    }

    /*change thumbnail size*/
    .carousel__thumbnail .carousel__thumbnail__item {
        width: 115px;
        height: 169px;
    }

    .carousel.next .carousel__list .carousel__list__item:nth-child(1) img {
        width: 120px;
        height: 177px;
    }

    @keyframes effectNext {
        from {
            transform: translateX(120px);
        }
    }

    @keyframes outFrame {
        to {
            width: 120px;
            height: 177px;
        }
    }

    @keyframes contentOut {
        to {
            transform: translateY(-120px);
        }
    }
}

@media(max-width: 400px) {
    /*change thumbnail size*/
    .carousel__thumbnail .carousel__thumbnail__item {
        width: 105px;
        height: 153px;
    }
}

@media(max-width: 375px) {
    section.carousel {padding-top: calc(2rem + 1vw);}
}

@media(max-width: 360px) {
    section.carousel {padding-top: calc(1.75rem + 1vw);}
}

/*Height Control*/
@media(max-height: 420px) {
    .carousel__list__title {
        display: none !important;
    }

    .carousel__arrows {
        top: 45%;
    }

    .carousel__thumbnail {
        left: 23%;
    }
}

@media(max-height: 375px) {
    .carousel__thumbnail .carousel__thumbnail__item:last-child {
        display: none;
    }
}

@media(max-height: 360px) {
    .carousel__thumbnail {
        bottom: 14px;
    }
}
/*end MOTORCYCLES CAROUSEL*/

/** CUSTOMERS **/
section.customers {
    /* margin-top: calc(5.23rem + .9vw); */
    padding: calc(2.5rem + 1vw) calc(2.3rem + 1vw) calc(4rem + 1vw) calc(2.3rem + 1vw);
}

.customers__content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

/* Rating1 - Rating2 */
.rating1,
.rating2 {
    width: 160px;
    height: 160px;
    position: relative;
    transform: scale(140%);
    margin-top: 3rem;
}

.rating1__title,
.rating2__title {
    text-align: center;
    margin-bottom: .6rem;
}

.rating1__outer,
.rating2__outer {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    padding: 18px;
    border: 2px solid #757575;
    box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, .15), -6px -6px 10px 2px rgba(255, 255, 255, .8);
}

.rating1__inner,
.rating2__inner {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, .2), inset -4px -4px 6px -1px rgba(255, 255, 255, .7), 
    -.5px -.5px 0px rgba(255, 255, 255, 1), .5px .5px 0px rgba(0, 0, 0, .15), 0px 12px 10px -10px rgba(0, 0, 0, .05);
}

#number1,
#number2 {
    font-weight: 550;
    font-family: 'Orbitron', sans-serif;
    color: #555;
}

svg {
    position: absolute;
    top: 28px;
    left: 0;    
}

/* Circle1 */
circle {
    fill: none;
    stroke: cornflowerblue;
    stroke: url(#GradientColor);
    stroke-width: 20px;
    stroke-dasharray: 472;
    stroke-dashoffset: 472;
    transform-origin: center;
    transform: rotate(-70deg);
}
circle.show {    
    animation: move-circle 2s linear forwards;
    -moz-animation: move-circle 2.9s linear forwards;
    stroke-linecap: square;
}
@keyframes move-circle {
    100% {stroke-dashoffset: 86;}
}

/* Circle2 */
.rating2 circle {
    stroke: url(#GradientColor2);
    transform-origin: center;
    transform: rotate(-78deg);
}
.rating2 circle.show {
    animation: move-circle2 2.3s linear forwards;
    -moz-animation: move-circle2 6.2s linear forwards;
    stroke-linecap: round;
}
@keyframes move-circle2 {
    100% {stroke-dashoffset: 0;}
}

.button-info {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
}

.button-info button {
    font-size: .75rem;
    font-family: 'Raleway', sans-serif;
    margin: .2rem 0 0 .1rem;
    /* width: 80px; */
    padding: 7px 13px;
    border: 2px solid #327ab6;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    color: #bebbbb;
    background: #313131;
    box-shadow: 0 0 0 3px #353535, 0 0 0 4px #3e3e3e, 0 5px 10px rgba(0, 0, 0, .5);
    transform: scale(1.2);
    transition: var(--transition-five);
}
.button-info button:hover {
    background: #585858;
    border: 2px solid #1d5a8b;
    color: white;
}

/* Media Queries - Customers */
@media(max-width: 768px) {
    /* section.customers {margin-top: calc(4.8rem + .5vw);} */

    .customers__content {
        flex-direction: column;
        align-items: center;
    }

    .rating1,
    .rating2 {
        margin-top: .5rem;
        transform: scale(120%);
    }

    .rating2 {margin: 6.2rem 0;}

    .button-info {margin-top: 0rem;}
}

@media(max-width: 420px) {
    .rating1,
    .rating2 {transform: scale(110%);}

    .rating2 {margin: 5rem 0 4.5rem 0;}
}

@media(max-width: 375px) {
    /* section.customers {padding-top: calc(2rem + 1vw);} */

    .rating1,
    .rating2 {transform: scale(100%);}

    .rating1 {margin-top: 0rem;}

    .rating2 {margin: 3.5rem 0 4.5rem 0;}

    .button-info {margin-top: -1rem;}
}

@media(max-width: 360px) {
    /* section.customers {padding-top: calc(1.75rem + 1vw);} */

    .rating1 {margin-top: -.5rem;}
    .rating2 {margin: 3rem 0 4.5rem 0;}

    .rating1__title,
    .rating2__title {margin-bottom: .4rem;}

    svg {top: 25px;}

    .button-info {margin-top: -1.2rem;}
}
/** end CUSTOMERS **/

/**LANGUAGES**/
.languages__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
    position: relative;
}

.languages__content__item {
    opacity: .5;
    transform: translateY(100px) scale(.5);
    transition: var(--transition-seven);
}

.languages__content__item.animate-scroll {
    opacity: 1;
    transform: translateY(0px) scale(1);
}

.languages__title {
    font-family: 'Orbitron', sans-serif;
    font-size: calc(.75rem + .5vw);
    font-weight: 500;
    letter-spacing: 2px;
    color: white;
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
}

.languages__text {
    font-family: 'Montserrat', sans-serif;
    margin: .6rem 0 1.4rem 0;
    font-size: calc(.6rem + .5vw);
    padding: 0 1.2rem 0 0rem;
}

.languages__image {
    position: relative;
    padding: .75rem .5rem;
    background: rgba(255, 255, 255, .35);
    max-width: 160px;
    margin: 0 auto;
    transform: rotateY(0deg);
    transition: var(--transition-seven);
}
.languages__image.rotate-image {
    transform: rotateY(360deg);
}

.languages__image:after {
    content: "";
    position: absolute;
    width: 101%;
    height: 101%;
    top: -3px;
    left: -5px;
    z-index: -1;
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 0 0 3px var(--black-color), 0 0 0 3px var(--black-color), inset 0 0 0 2px rgba(0, 0, 0, 1);
    border: 2px solid var(--white-color);
    border-radius: 14px;
    transition: var(--transition-five);
}

.languages__image img {
    display: block;
    width: 100%;
    max-width: 120px;
    height: auto;
    margin: 0 auto;
    padding: 10px;
    background: rgba(255, 255, 255, 1);
    border-radius: 14px;
}

.languages__content__item:first-child .languages__image img {
    border: 3px solid #ff592a;
}
.languages__content__item:nth-child(2) .languages__image img {
    border: 3px solid #007eca;
}
.languages__content__item:nth-child(4) .languages__image img {
    border: 3px solid #e3be20;
}
.languages__content__item:nth-child(5) .languages__image img {
    border: 3px solid #0078c0;
    border-right-color: #ffc100;
    border-bottom-color: #ffc100;
}

.languages__content__bar {
    position: absolute;
    top: 0px;
    left: 48.5%;
    transform: translateX(-50%);
    width: 7px;
    height: 105%;
    background: rgba(255, 255, 255, 1);
    border: 1px solid black;
    border-radius: 5px;
}

@media(max-width: 768px) {
    .languages__content {
        grid-template-columns: 1fr;
    }

    .languages__content__bar {
        display: none;
    }
}
/**end LANGUAGES**/

/**MOTORCYCLES ENGINE**/
.motorcycles__content {
    display: flex;
    justify-content: space-evenly;
    gap: 0 2rem;
}

.motorcycles__content__item {
    flex-basis: 45%;
    position: relative;
    z-index: 0;
}

.motorcycle__btn {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 6;
    padding: 3px 5px;
    background: var(--orange-color);
    color: var(--white-color);
    text-shadow: 3px 3px 5px rgba(0, 0, 0, .5);
    border: 2px solid black;
    border-radius: 3px;
    font-family: 'Orbitron', sans-serif;
    font-size: calc(.65rem + .5vw);
    font-weight: 500;
    overflow: hidden;
    transition: all .35s;
}
.motorcycle__btn:hover {
    background: rgba(255, 255, 255, .5);
    color: var(--black-color);
}

.motorcycle__btn:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    z-index: -1;
    background: transparent;
    transform: translateX(-100%);
    transition: all .35s;
}
.motorcycle__btn:hover::after {
    width: 100%;
    background: rgba(255, 255, 255, .5);;
    transform: translateX(100%);
}

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.motorcycles__content__item::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: conic-gradient(from var(--angle), black, #333232, #616161);
  z-index: -1;
  padding: 10px;
  border-radius: 10px;
  animation: 3.5s spin1 linear infinite;
}
@keyframes spin1 {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

.motorcycles__content__item:nth-child(2)::before {
     animation: 3.5s spin2 linear infinite;
}
@keyframes spin2 {
  from {
    --angle: 360deg;
  }
  to {
    --angle: 0deg;
  }
}

.motorcycles__image {
    opacity: 1;
    transition: var(--transition-five);
}
.motorcycles__image.show-engine {
    opacity: .5;
}

.motorcycles__image img,
.motorcycles__engine img {
    width: 100%;
    height: 100%;
    display: block;
    max-height: 350px;
    object-fit: cover;
    border: 2px solid var(--black-color);
    box-shadow: 0 0 0 2px var(--white-color), 0 0 0 3px var(--white-color), inset 0 0 0 2px rgba(0, 0, 0, 1);
    border-radius: 7px;
}

.motorcycles__image__description {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, .5);
    padding: 3px 5px;
    border: 1px solid var(--black-color);
    box-shadow: 0 0 0 1px var(--white-color), 0 0 0 2px var(--white-color), inset 0 0 0 1px rgba(0, 0, 0, 1);
    border-radius: 3px;
}

.motorcycles__engine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 7px;
    opacity: 0;
    transform: scale(.5) rotateY(100deg) skew(80deg);
    transition: var(--transition-five);
}

.motorcycles__engine.show-engine {
    opacity: 1;
    transform: scale(1) rotateY(0deg) skew(0deg);
}

.motorcycles__engine img {
    border: 2px solid var(--white-color);
    box-shadow: 0 0 0 2px var(--black-color), 0 0 0 3px var(--black-color), inset 0 0 0 2px rgba(0, 0, 0, 1);
}

.motorcycles__engine__description {
    position: absolute;
    bottom: 2px;
    left: 2px;
    z-index: 5;
    width: 99.3%;
    text-align: center;
    background: rgba(255, 255, 255, .7);
    padding: 3px 5px;
    border-radius: 0 0px 3px 3px;
    border-top: 2px solid black;
}
.motorcycles__engine__description::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: black;
    transition: width 1s ease-out, 1s;
}
.show-description.motorcycles__engine__description::before {
    width: 0%;
}

/* Media Queries - Motorcycles */
@media(max-width: 820px) {
    .motorcycles__content {
        flex-wrap: wrap;
        gap: 2rem 0;
    }

    .motorcycles__content__item {
        flex-basis: 100%;
    }
}
/**end MOTORCYCLES ENGINE**/

/** SMARTPHONES **/
.smartphones__text {
    color: var(--white-color);
    margin: -2.2rem 0 2rem 0;
    font-size: calc(.7rem + .3vw);
    text-align: center;
}

.smartphones__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.smartphones__content__item {
    width: 28rem;
    height: 22rem;
    background-color: var(--black-color);
    position: relative;
    perspective: 20rem;
    overflow: hidden;
    border: 2px solid var(--white-color);
    border-radius: 10px;
    cursor: pointer;
}

.smartphones__image {
    display: block;
    width: 100%;
    padding: 0 1rem;
    object-fit: cover;
    position: absolute;
    top: 1rem;
    filter: brightness(1);
    opacity: 0.75;
    transition: top 2s .2s, filter .5s, opacity .7s;
}

.smartphones__content__item:hover .smartphones__image {
    animation: move-image 4s;
    filter: brightness(1.2);
    opacity: 1;
}
@keyframes move-image {
    0% {transform: rotateY(0);}
    25% {transform: rotateY(-2deg) rotateX(2deg);}
    50% {transform: rotateY(2deg) rotateX(-2deg);}
    100% {transform: rotateY(0);}
}

.smartphones__modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 0;
    opacity: 0;
    scroll-behavior: smooth;
    background-color: var(--black-color);
    transition: var(--transition-one);
}
.show-modal.smartphones__modal {
    height: 100%;
    z-index: 7;
    opacity: 1;
}

.modal-image {
    width: 38.5% !important;
    top: 4.5rem;
    left: 31%;
    position: fixed;
    z-index: 8;
    border-radius: 10px;
    padding: 0 1rem;
    object-fit: cover;
    transform-origin: top center;
    padding-bottom: 2.5rem;
    animation: animate-image 1s .8s both;
}
@keyframes animate-image {
    0% {transform: scale(0);}
    100% {transform: scale(1);}
}

.close-modal-btn {
    position: absolute;
    top: 2rem;
    right: 3rem;
    padding: 5px 7px;
    font-size: 1.1rem;
    color: var(--white-color);
    opacity: 0;
    transition: .5s .8s;
}
.show-btn.close-modal-btn {opacity: 1;}

.smartphones__modal__text {
    color: var(--white-color);
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0px;
}
.display.smartphones__modal__text {animation: show-text 1s 1s ease-in forwards;}
@keyframes show-text {
    from {font-size: 0px;}
    to {font-size: 18px;}
}

/* Media Queries - Smartphones */
@media(min-width: 1480px) {
    .modal-image {
        width: 37% !important;
        left: 31.7%;
    }
}

@media(min-width: 1850px) {
    .modal-image {
        width: 34% !important;
        left: 32.5%;
    }
}

@media(min-width: 2350px) {
    .modal-image {
        width: 31% !important;
        left: 34%;
    }
}

@media(max-width: 1100px) {
    .smartphones__content__item {
        width: 23rem;
        height: 18.5rem;
    }
}

@media(max-width: 950px) {
    .smartphones__content__item {
        width: 20rem;
        height: 16.5rem;
    }

    .modal-image {
        width: 45% !important;
        left: 27.5%;
    }
}

@media(max-width: 820px) {
    .smartphones__text {margin: -2rem 0 2rem 0;}

    .smartphones__content__item {
        width: 28rem;
        height: 20rem;
    }

    .smartphones__content__item:first-child {margin-bottom: 2rem;}

    .close-modal-btn {right: 2rem;}

    .modal-image {
        width: 55% !important;
        left: 22%;
    }
}

@media(max-width: 550px) {
    .smartphones__content__item {
        width: 23rem;
        height: 16.5rem;
    }

    .modal-image {
        width: 70% !important;
        left: 15%;
    }

    .close-modal-btn {
        top: 1.3rem;
        right: 1rem;
    }
}

@media(max-width: 420px) {
    .smartphones__content__item {
        width: 20rem;
        height: 15rem;
    }

    .modal-image {
        width: 75% !important;
        left: 13%;
    }
}

@media(max-width: 375px) {
    .smartphones__content__item {
        width: 18rem;
        height: 13rem;
    }
}

@media(max-width: 360px) {
    .smartphones__content__item {
        width: 16rem;
        height: 11.5rem;
    }
}

@media(max-width: 325px) {
    .smartphones__content__item {
        width: 15rem;
        height: 10.8rem;
    }
}
/** end SMARTPHONES **/

/** CAREERS **/
section.careers {padding: calc(1rem + 1vw) calc(2.3rem + 1vw) calc(3.5rem + 1vw) calc(2.3rem + 1vw);}

section.careers h2 {
    margin-bottom: -22px;
    position: relative;
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
    letter-spacing: 3px;
}
section.careers h2:before {
    content: 'CAREERS';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    color: #155486;
    background: linear-gradient(90deg, #ff9c2a, #010615, #1a72bb);
    overflow: hidden;
    animation: move-title2 5s infinite;
}
@keyframes move-title2 {
    0% {width: 0%;}
    10% {
        width: 0%;
        text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
    }
    80% {width: 100%;}
    100% {
        width: 100%;
        text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
    }
}

.careers__content {
    display: flex;
    justify-content: space-between;
}

.careers__content__item {
    margin-right: 10px;
    padding: 0 0 0 8px;
    min-width: 40px;
    width: 5%;
    display: flex;
    justify-content: center;
    border-left: 1px solid #225fb1;
    height: 68vh;
    transition: all .55s ease-out;
}
.active-item.careers__content__item {
    max-width: 950px;
    padding: 0;
    width: 80%;
}

/* Carrers Title */
.careers__title {
    padding: 0 1.5rem;
    height: 61vh;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.careers__title__number {
    font-size: 20px;
    margin-bottom: 10px;
}

.careers__title__state {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #f10808;
    margin-bottom: 10px;
    transition: all .5s ease-out;
}
.active-item.careers__title__state {background-color:#0b8a0b;}

.careers__title__text {
    writing-mode: vertical-rl;
    color: #1b5b8f;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    /* transform: rotate(180deg); */
    letter-spacing: 1px;
    transition: all .35s ease-out;
}
.careers__title:hover .careers__title__text {color: #0b8a0b;}

.careers__content__item.active-item .careers__title__text{color: #0b8a0b;}

/* Carrers Info */
.careers__info {
    width: 0%;
    padding: 0;
    overflow: hidden;
    transition: width .55s ease-out;
}
.active-item.careers__info {width: 100%;}

.careers__info__image img {
    display: block;
    width: 100%;
    height: 61vh;
    border-radius: 8px;
    border: 2px solid var(--black-color);
    object-fit: cover;
}

.careers__info__text {
    padding: 0;
    margin: 7px 0 0 5px;
    opacity: 0;
}

.careers__info.active-item .careers__info__text {animation: show-text .5s forwards;}
@keyframes show-text {
    0% {opacity: 0}
    35% {opacity: 0;}
    100% {opacity: 1}
}

/* Media Queries - Careers */
@media(min-width: 1550px) {
    .active-item.careers__content__item {max-width: 1250px;}
}

@media(min-width: 1400px) {
    .careers__content {justify-content: flex-start;}

    .careers__content__item {width: 6rem;}
}

@media(max-width: 1100px) {
    .careers__title {padding: 0 1.2rem;}
}

@media(max-width: 970px) {
    .careers__title {padding: 0 1rem;}
}

@media(max-width: 825px) {
    section.careers h2 {margin-bottom: -8px;}

    .careers__content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .careers__content__item {
        margin-right: 0;
        padding: 0;
        width: 100%;
        flex-direction: column;
        border-top: 1px solid #225fb1;
        border-left: none;
        height: 8vh;
        overflow: hidden;
        transition: all .55s ease-out;
    }
    .active-item.careers__content__item {
        width: 100%;
        height: 62.8vh;
    }

    .careers__info__image img {height: 50vh;}

    .active-item.careers__content__item .careers__title {padding-top: 0px;}

    .careers__title {
        padding: 0 0 0 7px;
        height: 7vh;
        flex-direction: row;
    }

    .careers__title__number,
    .careers__title__state {margin: 0 0 0px 3px;}

    .careers__title__text {
        writing-mode: horizontal-tb;
        transform: rotate(0deg);
        margin: 2px 0 0 5px;
    }

    .careers__info {
        width: 100%;
        height: 0vh;
        transition: all .55s ease-out;
    }
    .active-item.careers__info {height: 61vh;}
}

@media(max-width: 375px) {
    .active-item.careers__content__item {height: 66vh;}

    .careers__info__image img {height: 48.5vh;}
}

@media(max-width: 330px) {
    span.hide-small {display: none;}
}

/* Height Control */
@media(max-height: 420px) {
    .careers__content__item {height: 12vh;}
    .active-item.careers__content__item {height: 77vh;}

    .active-item.careers__content__item .careers__title {
        padding-top: 10px;
        margin-bottom: 16px;
    }
}

@media(min-width: 825px) and (max-height: 420px) {
    .careers__content__item {height: 77vh;}
}
/**end CAREERS**/

/** STREAMING **/
section.streaming {
    padding: calc(2.5rem + 1vw) 0 calc(3.5rem + 1vw) 0;
}

.streaming__content {
    width: 100%;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    grid-template-rows: minmax(80px, 250px);
    column-gap: 20px;
}

.streaming__item {
    filter: brightness(.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: filter 1s;
}

.streaming__item:nth-child(3) {
    transition: filter 1s;
}

.streaming__item img {
    display: block;
    width: 85%;
    height: 70%;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid white;
    transition: all 1s;
}

.streaming__item img.current-img {
    width: 100%;
    height: 90%;
    border-radius: 5px;
    animation: add-shadow .8s .5s forwards;
}
@keyframes add-shadow {
    0% {box-shadow: none;}
    25% {box-shadow: none;}
    100% {box-shadow: 0 2px 5px 5px  var(--black-color), 0 2px 7px 7px  var(--black-color), inset 0 0 5px 10px rgba(0, 0, 0, .5);}
}

/* Change brightness for streaming__item elements */
.streaming__item.light {
    filter: brightness(1);
}

.streaming__description {
    display: none;
}
.streaming__description.current-txt {
    display: block;
    width: 98%;
    position: absolute;
    bottom: 12px;
    left: 2px;
    padding: calc(1.2px + .25vw) calc((3px + .25vw));
    font-size: calc(10px + .5vw);
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgba(255, 255, 255, .5);
    color: black;
    text-align: center;
    border-radius: 0 0 3px 3px;
    letter-spacing: 1px;
    opacity: 0;
    border-top: 2px solid white;
    animation: show-text .5s .7s forwards;
}
@keyframes show-text {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

/* Buttons Control */
.streaming__buttons {
    margin-top: calc(1.3rem + .7vw);
    text-align: center;
}

.streaming__buttons button {
    margin: 0 1rem;
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 3px black, 0 0 0 3px black, 0 0 0 2px black;
    transition: all .4s;
}
.streaming__buttons button:hover {
    box-shadow: 0 0 2px white, 0 0 0 2px white, 0 0 0 1px white;
}

.streaming__buttons button:first-child {
    margin-right: 1rem;
}

.streaming__buttons button i {
    font-size: calc(16px + 1vw);
    background-color: white;
    border-radius: 50%;
    opacity: 1;
    transition: all .4s;
}
.streaming__buttons button i:hover {
    opacity: .75;
}

.streaming__buttons button .fa-arrow-circle-left,
.streaming__buttons button .fa-arrow-circle-right {
    padding-right: .5px;
}

/* Media Queries - Streaming */
@media(max-width: 1050px) {
    .streaming__content {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
        grid-template-rows: repeat(3, 230px);
        justify-content: center;
    }

    .streaming__item:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .streaming__item:nth-child(2) {
        grid-column: 3 / 4;
        grid-row: 1 / 2
    }
      
    .streaming__item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
      
    .streaming__item:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }
      
    .streaming__item:nth-child(5) {
        grid-column: 3 / 4;
        grid-row: 3 / 4;
    }
}

@media(max-width: 620px) {
    .streaming__content {
        grid-template-columns: repeat(3, minmax(110px, 1fr));
        grid-template-rows: repeat(3, 140px);
    }

    .streaming__item img.current-img {
        transform: scale(1.1);
    }

    .streaming__description.current-txt {
        padding: calc(2px + .25vw) calc((2px + .25vw));
        width: 108%;
        bottom: 3px;      
        left: -6px;
    }
}

@media(max-width: 375px) {
    .streaming__content {
        grid-template-columns: repeat(3, minmax(95px, 1fr));
        grid-template-rows: repeat(3, 100px);
    }

    .streaming__description.current-txt {
        width: 105%;
        bottom: 2px;       
        left: -2px;
    }

    .streaming__buttons button i {
        font-size: calc(13px + 1vw);
    }
}
/** end STREAMING **/

/** HAYABUSA **/
section.hayabusa {
    padding: calc(1.3rem + 1vw) calc(2.3rem + 1vw) calc(3.5rem + 1vw) calc(2.3rem + 1vw);
    position: relative;
}

.hayabusa .position-title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.hayabusa h2 {transform: scale(.9);}

.hayabusa__features {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: repeat(6, 5.3rem);
}

.hayabusa__features__item {
    width: 100%;
    margin-bottom: 2rem;
}

.hayabusa__features__item:nth-child(1) {
    grid-column: 2 / 6;
    grid-row: 1 / 3;
}
  
.hayabusa__features__item:nth-child(2) {
    grid-column: 1 / 5;
    grid-row: 3 / 5;
}
  
.hayabusa__features__item:nth-child(3) {
    grid-column: 2 / 6;
    grid-row: 5 / -1;
}
  
.hayabusa__features__item:nth-child(4) {
    grid-column: 12 / 16;
    grid-row: 1 / 3;
}
  
.hayabusa__features__item:nth-child(5) {
    grid-column: 13 / -1;
    grid-row: 3 / 5;
}
  
.hayabusa__features__item:nth-child(6) {
     grid-column: 12 / 16;
    grid-row: 5 / -1;
}

.hayabusa__features__title {
    font-size: calc(13px + .2vw);
    margin-bottom: 7px;
}

.hayabusa__features__text {
    font-size: calc(11px + .2vw);
    margin-bottom: 7px;
    line-height: 1.3;
}

.hayabusa__features__btn {
    padding: 4px 5px;
    border-radius: 4px;
    border: 1px solid black;
    transition: var(--transition-five);
}
.hayabusa__features__btn:hover {
    color: white;
    background-color: orange;
}

.active-hayabusa {
    color: white;
    background-color: #1d5888;
}

.hayabusa__image {
    position: relative;
    z-index: 1;
    grid-column: 7 / 11;
    grid-row: 2 / 6;
    width: calc(250px + 6.2vw);
    height: calc(250px + 6.2vw);
}

.hayabusa__image::before {
    position: absolute;
    content: '';
    top: -14px;
    right: -14px;
    left: -14px;
    bottom: -14px;
    background-color: #1d5888;
    border: 6px solid transparent;
    border-top-color: orange;
    border-bottom-color: orange;
    box-shadow: 0 0 0 3px #353535, 0 0 0 3px #3e3e3e, inset 0 0 0 3px rgba(0, 0, 0, 1), 0 5px 20px rgba(0, 0, 0, .5);
    z-index: -1;
    border-radius: 50%;
}
.move.hayabusa__image::before {animation: rotate-border 1.4s ease-in;}
@keyframes rotate-border {
    from {transform: rotate(0);}
    to {transform: rotate(360deg);}
}

#hayabusa__img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px #353535, inset 0 0 0 3px rgba(0, 0, 0, 1);
}

.move#hayabusa__img {animation: opacity-image 1.4s ease-in;}
@keyframes opacity-image {
    from {opacity: .2; transform: rotateY(0deg);}
    to {opacity: 1; transform: rotateY(360deg);}
}

/* Media Queries - Hayabusa */
@media(min-width: 1880px) {
    section.hayabusa {padding: 2rem 3rem;}
}

@media(min-width: 2350px) {
    section.hayabusa {padding: 2rem 4rem;}
}

@media(max-width: 1270px) {
    .hayabusa__image {
        width: calc(230px + 6.2vw);
        height: calc(230px + 6.2vw);
    }
}

@media(max-width: 1180px) {
    .hayabusa__image {
        width: calc(210px + 6.2vw);
        height: calc(210px + 6.2vw);
        margin-top: 1rem;
    }
}

@media(max-width: 1100px) {
    .hayabusa__image {
        width: calc(180px + 6.2vw);
        height: calc(180px + 6.2vw);
        margin-top: 2rem;
    }
}

@media(max-width: 1000px) {    
    .hayabusa__features {
        grid-template-rows: repeat(4, 6rem);
        margin-top: calc(2rem + 1vw);
    }

    .hayabusa__features__item:nth-child(2),
    .hayabusa__features__item:nth-child(5) {display: none;}

    .hayabusa__features__item:nth-child(3) {grid-row: 3 / 5;}
    
    .hayabusa__features__item:nth-child(6) {grid-row: 3 / 5;}

    .hayabusa__image {
        width: calc(160px + 6.2vw);
        height: calc(160px + 6.2vw);
        grid-row: 2 / 4;
        margin-top: -.8rem;
    }
}

@media(max-width: 900px) {
    .hayabusa__image {
        width: calc(150px + 6.2vw);
        height: calc(150px + 6.2vw);
        margin-top: -.5rem;
    }
}

@media(max-width: 820px) {
    .hayabusa__features {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hayabusa__features__item:nth-child(3),
    .hayabusa__features__item:nth-child(6) {display: none;}

    .hayabusa__features__item:nth-child(1) {margin-bottom: 3rem;}

    .hayabusa__features__item:nth-child(4) {
        order: 3;
        margin: 3rem 0 0 0;
    }

    .hayabusa__image {
        width: calc(200px + 6.2vw);
        height: calc(200px + 6.2vw);
        margin-top: 0rem;
    }
}

@media(max-width: 550px) {
    .hayabusa__image {
        width: calc(180px + 6.2vw);
        height: calc(180px + 6.2vw);
    }
}

@media(max-width: 375px) {
    .hayabusa .position-title {top: 12px;}

    .hayabusa__features {margin-top: calc(1.6rem + 1vw);}

    .hayabusa__features__item:nth-child(1) {margin-bottom: 2.5rem;}

    .hayabusa__features__item:nth-child(6) {margin: 2.5rem 0 0 0;}

    .hayabusa__image {
        width: calc(160px + 6.2vw);
        height: calc(160px + 6.2vw);
    }
}
/** end HAYABUSA **/