@font-face {
    font-family: 'soleillight';
    src: url('./fonts/soleillight-webfont.woff2') format('woff2'),
    url('./fonts/soleillight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'soleilbold';
    src: url('./fonts/soleilbold-webfont.woff2') format('woff2'),
    url('./fonts/soleilbold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'icomoon';
    src:  url('./fonts/icomoon.eot?frm0z7');
    src:  url('./fonts/icomoon.eot?frm0z7#iefix') format('embedded-opentype'),
        url('./fonts/icomoon.ttf?frm0z7') format('truetype'),
        url('./fonts/icomoon.woff?frm0z7') format('woff'),
        url('./fonts/icomoon.svg?frm0z7#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-chevron-right:before {
    content: "\e907";
}

.icon-linkedin-in:before {
    content: "\e903";
}
    
.icon-instagram:before {
    content: "\e904";
}
    
.icon-twitter:before {
    content: "\e905";
}
    
.icon-facebook-square:before {
    content: "\e906";
    
}
    
.icon-right:before {
    content: "\e902";
}
    
.icon-xmark:before {
    content: "\e900";
    
}
    
.icon-bars:before {
    content: "\e901";
}

:root {
    --base-font: 'soleillight', sans-serif;
    --header-font: 'soleilbold', sans-serif;
    --font-style-normal: normal;

    --font-weight-600: 600;
    --font-weight-bold: 700;
    --font-weight-normal: 400;

    --body-font-size: 16px;
    --paragraph-font-size: 1rem;

    --blue: #2D697F;
    --green: #2F674F;
    --brown: #896C22;

    --bg-color: #220c2c;
    --bg-variant: #220C2C;
    --light-bg: #543961;
    --arrow-color: #B2B2B2;

    --text-color: #ffffff;
    --black-color: #000000;

    --thin-text: 300;
    --semi-bold-text: 600;
    --bold: 700;

}

html {
    font-family: var(--base-font);
    font-size: var(--body-font-size);
    color: var(--base-black-color);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    height: 100%;
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100%;
    background-color: var(--bg-color);
}

*, :after, :before {
    box-sizing: inherit;
}

h1, h2, h3 {
    margin: 0;
    padding: 0
}

figure {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.fancit {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    max-width: 1500px;
    margin-inline: auto;
}

.fancit__nav-main {
    display: flex;
    justify-content: space-between;
}

@media( min-width: 992px ) {
    .fancit__nav-main {
        min-height: 180px;
    }

    .fancit__nav-main {
        margin-bottom: -10rem;
    }

    .fancit__bottom {
        margin-top: -10rem;
    }
}

.fancit__logo {
    height: 4.6rem;
    z-index: 999999;
    position: relative;
}

.fancit__nav-main ul li {
    display: inline-block;
}

.fancit__nav-main ul li a {
    display: inline-block;
    outline: none;
    color: var(--text-color);
    font-size: 16px;
    text-decoration: none;
    letter-spacing: 0.04em;
    font-weight: var(--bold);
    cursor: pointer;
}

.fancit__nav-main ul li a:hover {
    opacity: .5;
    color: #fff;
    transition: .7s all ease-in-out;
    text-decoration: none;
}

@media (min-width: 993px) {
    .fancit__nav-container {
        background-color: var(--blue);
        margin-top: -3rem;
        padding: 2rem;
        max-height: 5.5rem;
        border-radius: 0 0 1.25rem 1.25rem;
        margin-right: 4rem;
        position: relative;
        z-index: 2;
    
    }

    .fancit__nav-main ul {
        float: right;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 3.5rem;
        padding-inline: 0;
    }

}

@media (max-width: 992px) {
    .fancit__logo {
        height: 2.6rem;
    }

    .fancit__nav-container {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: -1;
        background: var(--bg-color);
        opacity: 0;
        transition: all 0.2s ease;
    }

    .fancit__nav-container ul {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
    }

    .fancit__nav-container ul li {
        display: block;
        float: none;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .fancit__nav-container ul li:nth-child(1) a {
        transition-delay: 0.2s;
    }

    .fancit__nav-container ul li:nth-child(2) a {
        transition-delay: 0.3s;
    }

    .fancit__nav-container ul li:nth-child(3) a {
        transition-delay: 0.4s;
    }

    .fancit__nav-container ul li:nth-child(4) a {
        transition-delay: 0.5s;
    }

    .fancit__nav-container ul li:not(:first-child) {
        margin-left: 0;
    }

    .fancit__nav-container ul li a {
        padding: 10px 25px;
        opacity: 0;
        color: var(--text-color);
        font-size: 1.5rem;
        transform: translateY(-20px);
        transition: all 0.2s ease;
    }

    .fancit__nav-open {
        right: 10px;
        top: 10px;
        display: block;
        width: 3rem;
        height: 3rem;
        cursor: pointer;
        z-index: 9999;
    }

    .fancit__nav-open i {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--text-color);
        border-radius: 2px;
        margin-left: 14px;
    }

    .fancit__nav-open i:nth-child(1) {
        margin-top: 1rem;
    }

    .fancit__nav-open i:nth-child(2) {
        margin-top: 4px;
        opacity: 1;
    }

    .fancit__nav-open i:nth-child(3) {
        margin-top: 4px;
    }
}
        
#fancit__nav-label:checked + .fancit__nav-open {
    transform: rotate(45deg);
}

#fancit__nav-label:checked + .fancit__nav-open i {
    background: var(--text-color);
    transition: transform 0.2s ease;
}

#fancit__nav-label:checked + .fancit__nav-open i:nth-child(1) {
    transform: translateY(6px) rotate(180deg);
}

#fancit__nav-label:checked + .fancit__nav-open i:nth-child(2) {
    opacity: 0;
}

#fancit__nav-label:checked + .fancit__nav-open i:nth-child(3) {
    transform: translateY(-6px) rotate(90deg);
}

#fancit__nav-label:checked ~ .fancit__nav-container {
    z-index: 9990;
    opacity: 1;
}

#fancit__nav-label:checked ~ .fancit__nav-container ul li a {
    opacity: 1;
    transform: translateY(0);
}

.fancit__hidden {
    display: none;
}


.fancit__body {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
    position: relative;
}        

@media( max-width: 992px ) {
    .fancit__body {
        padding: 3rem 1rem;
    }
}

@media( min-width: 992px ) {
    .fancit__body {
        min-height: 32rem;
    }
}

.fancit__header {
    font-weight: var(--bold);
    font-size: 3.125rem;
    font-family: var(--header-font);
    text-transform: uppercase;
    color: var(--text-color);
    letter-spacing: 0.4px;
}

.fancit__text {
    margin-top: 6px;
}

.fancit__text p {
    margin-bottom: 4px;
    display: inline-block;
}

.fancit__content {
    color: var(--text-color);
    font-size: 1.5rem;
    align-self: center;
    font-weight: var(--bold);
    letter-spacing: 0.4px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6;
}

.fancit__list {
    margin-top: 0.6rem;
    padding-left: 4rem;
}

.fancit__list li {
    list-style-type: none;
    padding: 0.1rem 0;
}

.fancit__list li::before {
    content: '>';
    padding-right: 0.5rem; 
}

@media (min-width: 992px) {
    .fancit__content {
        margin-bottom: 2rem;
        margin-left: -1rem;
    }
}

@media (max-width: 992px) {
    .fancit__header, .fancit__content{
        text-align: center;
    }

    .fancit__list {
        margin: 2rem 0;
        padding-inline: 0;
    }
}

.fancit__text p {
    margin-top: 0;
}

.fancit__lottie {
    align-self: center; 
    max-width: 37vw;
    margin: -5rem;
    position: relative;
    z-index: -1;
}

@media( max-width: 1200px ) {
    .fancit__lottie {
        display: none;
    }

    .fancit__content {
        width: 100%;
    }

    .fancit__list {
        margin-bottom: 0;
    }
}

.fancit__bottom {
    display: flex;
    flex-direction: row;
    align-content: unset;
}

.fancit__boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}    

@media (min-width: 992px) {
    .fancit__boxes {
        justify-content: flex-end;
        flex-grow: 1;
        margin-bottom: 1rem;
    }

    .fancit__footer {
        width: 240px;
        order: -1;
        align-self: self-end;
    }
}

@media (max-width: 992px) {
    .fancit__bottom {
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
    }

    .fancit__footer {
        align-self: center;
    }
}

.fancit__box:nth-child(1) {
    background-color: var(--blue);
}

.fancit__box:nth-child(2) {
    background-color: var(--green);
}

.fancit__box:nth-child(3) {
    background-color: var(--brown);
}

.fancit__box {
    position: relative;
    border: 0;
    max-width: 250px;
    width: 100%;
    height: 240px;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4.5rem;
    text-decoration: none;
}

.fancit__box:hover::after {
    background-color: var(--black-color);
    transition: .8s all;
    border-radius: 1rem;
    z-index: 1;
}

.fancit__more-btn {
    max-width: 1rem;
    transition: 0.2s all ease-in-out;
}

.fancit__box::after {
    content: "";
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    background-color: transparent;
    opacity: .2;
    transition: .5s all;
}


.fancit__heading {
    font-weight: 700;
    font-size: 26px;
    color: var(--text-color);
    text-align: center;
    z-index: 2;
    font-family: 'soleilbold',sans-serif;
    letter-spacing: .1px;
}

.fancit__more-info {
    color: #220c2c;
    font-size: 16px;
    font-weight: var(--semi-bold-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    width: 100%;
    background-color: #fff;
    border-radius: 0.5rem;
    transition: all .6s;
    text-decoration: none;
    z-index: 2;
}

.fancit__box:hover .fancit__more-info {
    padding-right: 0.5rem;
}

.fancit__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

@media ( min-width: 992px) {
    .fancit__footer {
        justify-content: flex-start;
    }
}

.fancit__footer a {
    font-size: 2rem;
    text-decoration: none;
    cursor: pointer;
    color: var(--text-color);
}

.fancit__footer a:hover {
    text-decoration: none;
    color: #9a8ca1;
}

.fancit__footer .linkedIn::after {
    content: "\e903";
    font-family: 'icomoon';
}

.fancit__footer .instagram::after {
    content: "\e904";
    font-family: 'icomoon';
}

.fancit__footer .twitter::after {
    content: "\e905";
    font-family: 'icomoon';
}

.fancit__footer .facebook::after {
    content: "\e906";
    font-family: 'icomoon';
}