/*GENERAL*/
html, body{
    margin: 0;
    padding: 0;
    font-size: 1em;
    font-size: 16px;
    font-family: 'Barlow', sans-serif;
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

body{
    background: #191919;
    color: #F7F7F7;
    transition: 0.5s ease;
}

body.light{
    color: #191919;
    background: #F7F7F7;
}

p, h1, h2, h3, h4, h5{
    padding: 0;
    margin: 0;
}

a{
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.light a::after
{
    content: "";
    display: block;
    width: 0%;
    border-bottom: 1px solid #000000;
    transition: .3s;
}

a::after
{
    content: "";
    display: block;
    width: 0%;
    border-bottom: 1px solid #FFFFFF;
    transition: .3s;
}

a:hover::after
{
    width: 100%;
}

header, footer, section, details{
    width: calc(100% - 100px);
    padding: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

#scroller{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

#scrollerTarget{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
}

div, header, footer, main, img, p{
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    will-change: transform;
}

/*HEADER*/
header{
    position: fixed;
    max-width: 100%;
    z-index: 100;
    padding: 20px 50px;
}

header .main-logo{
    width: 77px;
    position: fixed;
    left: 29px;
    top: 26px;
    transition: .3s;
}

.main-logo a::after{
    display: none;
}

header .main-logo img{
    width: 100%;
    height: 73px;
    margin-top: 3px;
    transition: .3s;
}

.light .hero-header #menuToggle span{
    background: #FFF;
}

.lateral-menu{
    position: fixed;
    width: 400px;
    background: #101010;
    opacity: 0.75;
    height: 100vh;
    top: 0;
    right: 0;
    transition: .5s;
    display: flex;
    justify-content: center;
}

.lateral-menu nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 35px;
}

.lateral-menu h2{
    color: #FFF !important;
}

.lateral-menu.hided{
    right: -400px;
}

.lateral-menu ul, .lateral-menu li{
    padding: 0;
    margin: 0;
    list-style: none;
}

.lateral-menu ul{
    margin-bottom: 70px;
}

.lateral-menu li{
    margin-bottom: 15px;
}

.lateral-menu h2{
    margin-bottom: 15px;
    font-weight: 500;
}

.lateral-menu a{
    color: #FFF;
    text-decoration: none;
}

.light .lateral-menu a::after{
    content: "";
    display: block;
    width: 0%;
    border-bottom: 1px solid #FFFFFF;
    transition: .3s;
}

.lateral-menu a::after
{
    content: "";
    display: block;
    width: 0%;
    border-bottom: 1px solid #FFFFFF;
    transition: .3s;
}

.lateral-menu a:hover::after
{
    width: 100%;
}

.shadow{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .6);
    transition: opacity .5s;
}

.shadow.hided{
    opacity: 0;
    visibility: hidden;
    left: -20000px;
}

/*MENU*/

#menuToggle
{
    display: block;
    position: fixed;
    top: 26px;
    right: 26px;
    z-index: 5;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle input
{
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

#menuToggle span
{
    display: block;
    width: 33px;
    height: 2px;
    margin-bottom: 7px;
    position: relative;
    background: #FFF;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    width 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    height 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    margin-top 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
}

.light #menuToggle span{
    background: #000;
}

#menuToggle span:first-child
{
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
    transform-origin: 0% 100%;
}

#menuToggle span:nth-last-child(1)
{

}

#menuToggle input:checked ~ span
{
    transform: rotate(45deg) translate(-10.5px, -19.5px);
    width: 38px;
    height: 2px;
}

.light #menuToggle input:checked ~ span{
    background: #FFF;
}

#menuToggle input:checked ~ span:nth-last-child(3)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
    transform: rotate(-45deg) translate(-2.5px, 13px);
    width: 38px;
    height: 2px;
    margin-top: 9px;
}

/*CONTENT*/
section{
    margin-bottom: 150px;
}

.hero{
    position: relative;
    z-index: 20;
    height: 100vh;
    max-width: 100%;
    width: 100vw;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    opacity: 0;
}

.hero h1{
    font-family: 'Big Shoulders Text', cursive;
    font-size: 125px;
    margin-bottom: 80px;
    opacity: 0;
    display: none;
}

.light .hero h1{
    color: #F7F7F7;
}

.hero .text-aside{
    opacity: 0;
}

#h1js{
    font-family: 'Big Shoulders Text', cursive;
    font-size: 125px;
    margin-bottom: 80px;
    color: #FFFFFF;
    position: relative;
    width: 100%;
    opacity: 0;
    overflow: hidden;
}

.letter{
    /*position: absolute;*/
    font-weight: normal;
    display: inline-block;
    transform-origin: left;
    /*bottom: -200px;*/
    letter-spacing: 0.25em;
}

.light .hero .letter{
    color: #F7F7F7;
}

.text-aside{
    font-size: 22px;
    color: #FFFFFF;
}

.light .hero .text-aside{
    color: #F7F7F7;
}

.logos{
    margin-top: 150px;
    text-align: center;
    opacity: 0;
}

.logos .text-aside{
    font-size: 30px;
    margin-bottom: 30px;
}

.logos ul{
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.summary h2{
    font-size: 62px;
    text-align: left;
    font-weight: 400;
    margin: 0 auto 100px auto;
    margin-top: 150px;
    width:80%;
}

.quote h2{
    font-size: 47px;
    text-align: left;
    font-weight: 400;
    margin: 0 auto 100px auto;
    width:80%;
}

footer h2{
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 10px;
}

.signed{
    display: block;
    text-align: right;
    padding-right: 50px;
    margin-top: 50px;
}

.summary .text-summary{
    color: rgba(255, 255, 255, 1);
    max-width: 60%;
    font-size: 30px;
    line-height: 40px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.light .summary .text-summary{
    color: rgba(0, 0, 0, 1);
}

.video .video-cover{
    width: 100%;
    position: absolute;
}

.video .video-iframe{
    width: 80%;
    margin: 0 auto;
}

.video iframe{
    width: 100%;
}

.image {
    position: relative;
}

.img{
    width:80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.img img{
    width:100%;
}

.text-summary{
    font-size: 30px;
    line-height: 40px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.animated-text {
    overflow: hidden;
}

.animated-text__center {
    position: absolute;
    top: 28%;
    right: 20%;
}

.animated-text__center2 {
    position: absolute;
    top: 50%;
    right: 23%;
    font-size: 26px;
    max-width: 700px;
}

.animated-text__left2 {
    position: absolute;
    top: 50%;
    left: 12%;
    font-size: 26px;
    max-width: 700px;
}

.animated-text__center2 span,
.animated-text__right2 span,
.animated-text__left2 span{
    display: block;
    max-width: 700px;
}

.animated-text__right {
    position: absolute;
    top: 30%;
    right: 0;
}

.animated-text__right2 {
    position: absolute;
    top: 55%;
    right: 13%;
    font-size: 26px;
    max-width: 700px;
}

.img-right {
    margin-left: 0;
}

.img-gif {
    width: 30%;
    margin-left: 200px;
}

.img-gif2 {
    width: 30%;
    margin-left: auto;
    margin-right: 200px;
}

.line {
    overflow: hidden;
}

.tall-text {
    position: absolute;
    top: 39%;
    right: 0;
    font-size: 80px;
    white-space: nowrap;
    width: 100%;
}

.tall-text span {
    display: block;
}

.tall-text .line{
    text-align: center!important;
}

.slider-img ,
.slider-text{
    width: 100%;
    flex-shrink: 0;
}

.carousel .slides{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    margin-bottom: 50px;

}

.carousel .slides ul{
    padding: 0;
    margin: 0;
    display: flex;
    transition: transform 0.7s ease-out;
}

.carousel .slides li{
    padding: 0;
    margin: 0;
    display: block;
    float: left;
    list-style: none;
}

.car-container{
    position: relative;
}

.carousel .controls{
    position: absolute;
    height: 100%;
    width: 80%;
    top: 0;
    left: 0;
    margin-left: 10%;
}


.carousel .controls .left-arrow{
    position: absolute;
    background: url('../img/arrow-left.png') no-repeat center center;
    background-size: 25px;
    height: 100%;
    top: 0;
    left: 0;
    width: 50px;
    cursor: pointer;
    filter: drop-shadow(1px 1px 3px rgba(0,0,0, .5));
}

.carousel .controls .right-arrow{
    position: absolute;
    background: url('../img/arrow-right.png') no-repeat center center;
    height: 100%;
    top: 0;
    right: 0;
    width: 50px;
    background-size: 25px;
    cursor: pointer;
    filter: drop-shadow(1px 1px 3px rgba(0,0,0, .5));
}

.pagination {
    position: absolute;
    z-index: 20;
    bottom: 5%;
    right: 0;
    height: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-btn {
    border: 1px solid #ffffff;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    margin-right: 8px;
    background-color: transparent;
    transition: 0.3s ease;
    cursor: pointer;
}

.pagination-btn:last-child {
    margin: 0;
}

.pagination-active {
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid #ffffff;
    transition: 0.3s ease;
}

.team{
    max-width: 1600px;
}

.team ul{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.team li{
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    flex-basis: calc(33% - 60px);
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 60px;
}

.team .team-img{
    flex-basis: 30%;
}

.team .team-info{
    flex-basis: 60%;
    padding-left: 40px;
}

.team .team-img img{
    width: 100%;
}

.team .team-text{
    font-size: 14px;
    line-height: 22px;
    color: rgba(255,255,255,.6);
    margin-bottom: 30px;
}

.light .team .team-text{
    color: rgba(0, 0, 0, .6);
}

.team .team-name{
    font-size: 20px;
    font-weight: 300;
}

.team .team-title{
    font-size: 14px;
}

.credits{
    text-align: center;
}

.credits h3{
    font-size: 22px;
    font-weight: 300;
}

.credits p{
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 24px;
}

.scrolldefContainer{
    perspective: 500px;
}

.scrolldef{
    transition: .3s;
}

.black {
    background: #000!important;
}

@media(max-width: 1500px){
    .team li{
        flex-basis: calc(50% - 60px);
    }
}

@media (max-width: 1380px) {
    .tall-text {
        font-size: 56px;
    }
}

@media(max-width: 1300px){
    .hero h1{
        font-size: 130px;
        margin-bottom: 60px;
    }

    #h1js{
        font-size: 130px;
        margin-bottom: 60px;
    }

    .text-aside{
        font-size: 20px;
    }

    .logos .text-aside{
        font-size: 24px;
        margin-bottom: 30px;
    }

    .summary h2{
        font-size: 47px;
        /* margin-bottom: 100px; */
        margin: 0 auto 100px auto;
        width:80%;
    }

    .quote h2{
        font-size: 46px;
        margin-bottom: 100px;
    }


    .text-summary{
        font-size: 24px;
        line-height: 38px;
    }

    .summary .text-summary{
        font-size: 20px;
        line-height: 32px;
    }

    .credits h3{
        font-size: 20px;
    }

    .credits p{
        font-size: 16px;
        margin-bottom: 30px;
        line-height: 24px;
    }
    .animated-text__right {
        right: 5%;
    }
    .img-gif{
        width:35%;
        margin-left:150px
    }

    .img-gif2 {
        width: 35%;
        margin-right: 150px;
    }
}

@media(max-width: 1100px){
    .team li{
        flex-basis: calc(100% - 60px);
    }
    #h1js {
        font-size: 120px;
    }
    .animated-text__center2{
        top:25%
    }
    .animated-text__center2,
    .animated-text__right2,
    .animated-text__left2{
        font-size:22px;
        line-height:32px;
        max-width:550px
    }
}

@media(max-width: 1024px) {
    .animated-text__center,
    .animated-text__right {
        top: 20%;
    }
    #h1js {
        font-size: 90px;
    }
    section,
    .logos {
        margin-bottom: 80px;
    }
    .logos {
        margin-top: 80px;
    }

    .tall-text {
        font-size: 40px;
    }
}

@media(max-width: 900px) {
    .animated-text__center,
    .animated-text__right,
    .animated-text__center2,
    .animated-text__right2,
    .animated-text__left2 {
        position: static;
    }
    .img,
    .carousel .slides {
        margin-bottom: 50px;
    }
    .img-right {
        margin-left: auto;
    }
}

@media(max-width: 800px){

    header .main-logo{
        width: 58px;
        left: 22px;
        top: 16px;

    }
    header .main-logo img{
        margin-top: 3px;
        height: 54px;
    }

}

@media(max-width: 768px){
    .video .video-iframe {
        width: 100%;
        margin: 0 auto;
        height: 600px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .summary h2 {
        width: 100%;
    }
    .quote h2{
        width:100%;
    }
    .lateral-menu{
        width: 100vw;
        padding: 0;
        text-align: center;
    }

    .lateral-menu ul {
        margin-bottom: 50px;
    }

    .lateral-menu li {
        margin-bottom: 10px;
    }

    .lateral-menu nav{
        left: 50%;
        transform: translate(-50%, -50%);
        margin-top: 25px;
    }

    .lateral-menu.hided{
        right: -100vw;
    }

    .hero{
        height: 60vh;
    }

    .team li {
        flex-direction: column;
    }

    .team .team-img{
        text-align: center;
        margin-bottom: 20px;
    }

    .team .team-info{
        padding: 0;
        text-align: center;
    }

    .team .team-img img{
        width: 60%;
        max-width: 200px;
    }

    header, footer, section, details{
        width: calc(100% - 60px);
        padding: 30px;
    }

    .video .video-cover {
        width: 100%;
    }

    .img {
        width: 100%;
        margin-bottom: 50px;
    }

    .carousel .slides {
        width: 100%;
        margin-bottom: 50px;

    }

    .carousel .controls{
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        margin-left: 0%;
    }

    .hero h1{
        font-size: 60px;
        letter-spacing: 0.15em;
        margin-bottom: 30px;
    }

    #h1js{
        font-size: 60px;
        letter-spacing: 0.15em;
        margin-bottom: 30px;
    }

    .text-aside{
        font-size: 18px;
    }

    .logos .text-aside{
        font-size: 22px;
        margin-bottom: 30px;
    }

    .summary h2{
        font-size: 30px;
        margin-bottom: 50px;
    }

    .quote h2{
        font-size: 30px;
        margin-bottom: 100px;
    }


    .text-summary{
        font-size: 16px;
        line-height: 30px;
        max-width: 100%;
        width: 100%;
    }

    .summary .text-summary{
        font-size: 16px;
        line-height: 30px;
        max-width: 100%;
        width: 100%;
    }

    section,
    .logos {
        margin-bottom: 50px;
    }
    .logos {
        margin-top: 50px;
    }
    .carousel .controls .right-arrow,
    .carousel .controls .left-arrow{
        background-size: 15px;
    }


    .img-gif{
        width:40%;
        margin-left:50px
    }
    .img-gif2 {
        width: 40%;
        margin-right: 50px;
    }
    .animated-text__center2,
    .animated-text__right2,
    .animated-text__left2 {
        font-size:20px;
        line-height:30px
    }
}

@media (max-width: 600px) {
    .tall-text {
        font-size: 25px;
    }
    .text-aside {
        font-size: 16px;
        margin-bottom: -70px;
        margin-top: 70px;
    }
}

@media(max-width: 505px){
    .video .video-iframe{
        height: 320px;
    }
    .logos ul {
        flex-direction: column;
    }
    #h1js {
        font-size: 46px;
    }
    .img {
        margin-bottom: 25px;
    }
}

@media(max-width:425px){
    .img-gif{
        width:45%;
        margin-left:auto;
    }
    .img-gif2 {
        width: 45%;
        margin-right: auto;
    }

}

@media (max-width: 400px) {

    .hero h1{
        font-size: 40px;
        letter-spacing: 0.1em;
    }

    #h1js{
        font-size: 40px;
        letter-spacing: 0.1em;
    }

    .tall-text {
        font-size: 20px;
    }

}

/*SUBSTACK*/

.custom-substack-widget {
    border: none !important;
    display: flex;
    height: auto;
    width: 100%;
    max-width: 100% !important;
    flex-direction: column !important;
    flex-wrap: wrap;
    overflow: hidden;
    border-radius: 0;
    border-width: 0;
    padding: 0;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 24px;
    justify-content: center !important;
    align-items: center !important;
}

.custom-substack-widget input {
    width: 376px !important;
    background: #373737 !important;
    color: rgba(255,255,255,.6) !important;
    display: block !important;
    flex: none !important;
    margin-bottom: 5px !important;
    font-size: 14px !important;
    font-weight: 300 !important;
}

.custom-substack-widget button {
    width: 400px !important;
    display: block !important;
    padding: 14px !important;
    border: none !important;
    border-radius: 50px !important;
    margin-bottom: 5px !important;
    font-size: 14px !important;
    font-weight: 300 !important;
}

@media (max-width: 760px){
    .custom-substack-widget input {
        width: 276px !important;
    }

    .custom-substack-widget button {
        width: 300px !important;
    }
}

/*COOKIES*/

.cookies-advise{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, .7);
    z-index: 10;
    top: 0;
    left: 0;
    transition: .5s;
    cursor: pointer;
}

.hideCookies{

    opacity: 0;
    visibility: hidden;

}

.cookies-text {
    position: absolute;
    width: calc(90% - 60px);
    max-width: 400px;
    color: #FFF;
    bottom: 30px;
    left: 30px;
    padding: 30px;
    /*border: 10px solid #FFF;*/
    background: #000;
}

.cookies-advise .text{
    display: inline-block;
    width: 80%;
}

.cookies-advise .close{
    display: inline-block;
    width: calc(20% - 60px);
    position: relative;
    vertical-align: top;
}

.cookies-advise .close::after {
    content:"";
    position: absolute;
    top: 20px;
    left: calc(50% + 10px);
    transform: rotate(-45deg) translate(-2.5px, 13px);
    width: 38px;
    height: 1px;
    background: #FFF;
    z-index: 1;
    transform-origin: 4px 0px;
}
.cookies-advise .close::before {
    content:"";
    position: absolute;
    top: 30.5px;
    left: calc(50% + 12px);
    transform: rotate(45deg) translate(-10.5px, -19.5px);
    width: 38px;
    height: 1px;
    background: #FFF;
    z-index: 1;
    transform-origin: 4px 0px;
}

@media (max-width: 640px) {

    .cookies-text {
        left: 50%;
        transform: translateX(-50%);
    }

}

/*.wrap {*/
/*    width: 100%;*/
/*    height: auto;*/
/*    max-width: 768px;*/
/*    background-color: transparent;*/
/*    margin: 0 auto;*/
/*    padding: 20px;*/
/*    padding-top: 60px;*/
/*}*/

/*.quote {*/
/*    margin-top: 0px;*/
/*    font-family: 'Libre Baskerville', serif;*/
/*    font-size: 60px;*/
/*    color: #4f5664;*/
/*    line-height: 76px;*/
/*    text-align: center;*/
/*    overflow: hidden;*/
/*    height: 100vh;*/
/*}*/

/*.split-line {*/
/*    overflow: hidden;*/
/*}*/

.bw-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 19;
    width: 40px;
    height: 40px;
    cursor: pointer;
    opacity: 0;
    transition: 0.5s ease;
}

.switcher-on {
    transition: 0.5s ease-in;
    opacity: 1;
}

.switcher-rotate {
    transform: rotate(180deg);
}

.logos {
    margin: 0 auto;
}

/*Footer Styles*/
.text-wrapper {
    width: 100%;
    height: 50px;

}
.text-wrapper ul {
    padding: 0;
    margin: 0;
}

.text-wrapper div {
    width: 100%;
}

.list li {
    width: 100%;
    max-width: 600px;
    height: 50px;
    display: flex;
    margin: 0 auto;
    position: absolute;
    z-index: -1;
    opacity: 0.4;
    font-size: 30px;
    font-weight: 400;
    padding: 0;
}

.light .list li{
    color: #000000;
}

.list li{
    color: #FFFFFF;
}


.light .list-mask {
    background: #f7f7f7;
    transition: 0.5s ease;

}

.list-mask {
    width: 100%;
    height: 50px;
    transition: 0.5s ease;
    background-color: #191919;
}


.animated-item {
    animation: slideIn 3s forwards cubic-bezier(0.1, 0.67, 0.29, 0.98);
    transition: 1s ease;
}

@keyframes slideIn {
    0% {
        transform: translate3d(0, 110%, 0);
        opacity: 0;
    }
    20% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    80% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    100% {
        transform: translate3d(0, -110%, 0);
        opacity: 1;
    }
}

.footer {
    font-family: 'Barlow', sans-serif;
    max-width: 950px;
    padding: 0 50px;
    margin: 150px auto 50px;
}

.footer-container {
    height: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-contact {
    width: 100%;
    max-width: 410px;
}

.light .footer-contact h2 {
    color: #000000;
    background-color: #f7f7f7;
    transition: 0.5s ease;

}

.footer-contact h2 {
    font-size: 30px;
    color: #FFFFFF;
    margin-bottom: 10px;
    position: relative;
    z-index: 20;
    background-color: #191919;
    transition: 0.5s ease;
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
}

.light .footer-links a {
    color: #000000;
}

.footer-links a {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 100px;
    transition: 0.4s ease;
}

.footer-links a:hover {
    transform: scale(1.1);
}

.footer-links a:hover::after {
    width: 0;
}

.light .footer-links a svg path {
    fill: #000000;
}

.footer-links a svg path {
    fill: #FFFFFF;
}

.footer-links h3 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 80px;
}

.footer-links__items {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links__item {
    max-width: 300px;
}

.footer-links__item img {
    width: 300px;
    margin-bottom: 5px;
}

.footer-links__item p {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-links__item a {
    font-size: 16px;
    color: #FFFFFF;
}

.light .footer-links__item a {
    color: #000000;
}

.footer-links__item a:hover {
    transform: scale(1);
}

.footer-links__item a:hover::after {
    width: 100%;
}

.footer .social {
    display: flex;
}


.footer .social ul {
    margin-bottom: 30px;
    padding: 0;
    margin-top: 0;
}

.footer .social ul:first-child {
    margin-right: 80px;
}

.footer .social ul:last-child {
    margin-bottom: 0;
    margin-top: 0;
}

.light .footer .social h3 {
    color: #808080FF;
}

.footer .social h3 {
    font-weight: 400;
    font-size: 16px;
    color: #b7b7b7;
    margin-bottom: 25px;
}

.footer .social li {
    list-style: none;
    margin-bottom: 2px;
    color: #808080FF;
    font-size: 14px;
}



@media(max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        height: 100%;
        padding-bottom: 50px;
    }

    .footer-contact {
        padding-bottom: 30px;
    }

    .footer-contact h2 {
        font-size: 35px;
        text-align: center;
    }

    .list li {
        justify-content: center;
        font-size: 35px;
    }

    .footer .social {
        max-width: 600px;
        width: 100%;
        justify-content: space-evenly;
    }

    .footer .social ul:first-child {
        margin-right: 0;
    }

    .footer-links {
        height: 100%;
        margin-top: 150px;
    }

    .footer-links a {
        margin-bottom: 70px;
    }

    .footer-links h3 {
        margin-bottom: 50px;
    }

    .footer-links__items {
        flex-direction: column;
    }
}


@media(max-width: 800px) {
    .footer {
        width: auto;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-contact h2 {
        font-size: 25px;
        text-align: center;
    }

    .list li {
        justify-content: center;
        font-size: 25px;
    }

    .text-wrapper {
        height: 30px;
    }
    .list-mask {
        height: 40px;
    }

    @keyframes slideIn {
        0% {
            transform: translate3d(0, 110%, 0);
            opacity: 0;
        }
        20% {
            transform: translate3d(0, 0, 0);
            opacity: 1;
        }
        80% {
            transform: translate3d(0, 0, 0);
            opacity: 1;
        }
        100% {
            transform: translate3d(0, -80%, 0);
            opacity: 1;
        }
    }
}


@media (max-width: 600px) {
    .footer-links {
        margin-top: 100px;
    }
    .pagination-btn {
        height: 9px;
        width: 9px;
    }
}

@media(max-width: 505px) {

    .footer .social h3 {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .footer .social li {
        font-size: 14px;
    }

    .footer-links__item {
        width: 270px;
    }

    .footer-links__item img {
        width: 270px;
    }
    .footer-contact h2 {
        font-size: 20px;
        text-align: center;
    }

    .list li {
        justify-content: center;
        font-size: 20px;
    }
}

@media(max-width:425px){
    .pagination-btn {
        height: 7px;
        width: 7px;
    }
}

