@font-face {
    font-family: 'Poppins';
    src: url('../assets/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../assets/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
* {
    font-family: 'Poppins', sans-serif;
}
.title, 
h1, 
h2, 
h3,
.navbar {
    font-weight: 700;
}

:root {
    --background: #fdf4d8;
    --color-1: #f18024;
    --color-2: #986dca;
    --color-3: #45bab4;
    --color-4: #ea4065;
    --color-5: #fec212;

    --mask-hexagon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon transform='rotate(45 50 50)' points='50,0 93.3,25 93.3,75 50,100 6.7,75 6.7,25' fill='black'/%3E%3C/svg%3E");    
    --mask-rhombus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 100,50 50,100 0,50' fill='black'/%3E%3C/svg%3E");
    --mask-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='50' fill='black'/%3E%3C/svg%3E");
}

html, body {
    margin: 0;
    padding: 0;
    background-color: var(--background);
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.page {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 30vw;
    overflow: auto;
    width: 100%;
    padding: 200px 0px 300px 0px;
}

h1 {
    position: relative;
    z-index: 10;
}


h1, h1, h2, h3, h4 {
    margin: 0;
}
ul {
    margin: 0;
    padding: 0;
}
li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}
p {
    text-align: justify;
}

/* Desktop */
@media screen and (min-width: 768px) {
    .mobile {
        display: none !important;
    }
    .layer {
        flex-wrap: nowrap !important;
        gap: 7vw !important;
    }
    .navbar .item {
        position: relative;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .navbar .item {
        font-size: medium !important;
    }
    .desktop {
        display: none !important;
    }
    .layer {
        flex-wrap: wrap !important;
    }
    .section .title {
        font-size: xx-large !important;
    }
}

/* Header */
.header {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.header #header-shape-1,
.header #header-shape-2,
.header #header-shape-3 {
    width: 801px;
    height: 801px;
    position: absolute;
    max-width: 801px;
    max-height: 801px;
}

.header #header-shape-1 {
    bottom: 150px;
    left: 0%;
    transform: translate(-50%, 50%);
    width: 100vw;
    height: 100vw;
    position: absolute;
    z-index: 1;
}
.header #header-shape-2 {
    top: 150px;
    left: 100%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vw;
    position: absolute;
    z-index: 1;
}
.header #header-shape-3 {
    top: 0;
    right: 0;
    width: 20vw;
    height: 20vw;
    min-width: 190px;
    min-height: 190px;
    max-width: 250px;
    max-height: 250px;
    position: absolute;
    z-index: 1;
    background-color: var(--color-5);
    border-radius: 0px 0px 0px 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding: 10px;
    background-image: url(../assets/image-01.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 90% 80px;
    cursor: pointer;
}

.header #header-shape-3:hover {
    border: solid black;
    border-width: 0px 0px 8px 8px;
}
.header #header-shape-3 h2 {
    color: var(--color-4);
    font-size: xx-large;
    margin: 0;
}
.header #header-shape-3 p {
    font-size: large;
    margin: 0;
}

.header .center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
}

.header #header-logo {
    width: 20vw;
    min-width: 200px;
    height: auto;
}
.header #header-hook {
    text-align: center;
    font-weight: 700;
    font-size: xx-large;
}

/* Navbar */
.navbar-anchor,
.navbar-anchor .navbar {
    max-width: 100%;
    height: 60px;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.navbar-anchor {
    position: relative;
}
.navbar-anchor .navbar {
    color: white;
    background-color: black;
    top: 0;
    left: 0;
    z-index: 1000;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 20px;
    text-transform: uppercase;
    flex-shrink: 1;
}
.navbar.floating {
    position: fixed;
}
.navbar .icon,
.navbar .item {
    text-align: center;
    cursor: pointer;
}
.navbar .icon {
    height: 100%;
    flex-shrink: 0;
}
.navbar .icon img {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}
.navbar .item,
.navbar .sub-item {
    height: 100%;
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
    background-color: black;
    color: white;
}
.navbar .item:hover,
.navbar .icon:hover,
.navbar .sub-item:hover {
    background-color: white;
    color: black;
}

.navbar .item .item-menu {
    position: absolute;
    top: 100%;
    left: 0%;
    display: none;
    /* display: flex; */
    flex-direction: column;
    min-width: 100%;
}
.navbar .item .item-menu:last-child {
    left: auto;
    right: 0%;
}
.navbar .item:hover .item-menu {
    display: flex;
}

.navbar .icon a {
    width: 100%;
    height: 100%;
    display: block;
}

.navbar .item a {
    width: 100%;
    height: 100%;
    padding: 15px 10px;
    display: block;
}

/* Colored shapes in background */
.shapes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}


/* Content sections */


.section {
    display: grid;
    width: 100%;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    max-width: 1000px;
    padding: 20px;
    margin: 0 auto;
    transition: ease 0.4s background-color;
    scroll-margin-top: 100px;
}

.section .layer {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
}

.section .layer.main {   
    position: relative;
    -webkit-mask-size: 901px 901px;
    mask-size: 901px 901px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: var(--mask-x, center) var(--mask-y, center);
    mask-position: var(--mask-x, center) var(--mask-y, center);
}

.section.no-filter .layer{
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

.section .layer.clone {
    color: black;
    pointer-events: none;
    -webkit-mask-size: 901px 901px, 100% 100%;
    mask-size: 901px 901px, 100% 100%;
    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-repeat: no-repeat, no-repeat;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    -webkit-mask-position: var(--mask-x, center) var(--mask-y, center), center;
    mask-position: var(--mask-x, center) var(--mask-y, center), center;
}

.section.left .layer {
    flex-direction: row-reverse;
}

.shape-hexagon .layer.main, .shape-hexagon.shape {
    -webkit-mask-image: var(--mask-hexagon);
    mask-image: var(--mask-hexagon);
}
.shape-hexagon .layer.clone {
    -webkit-mask-image: var(--mask-hexagon), linear-gradient(black, black);
    mask-image: var(--mask-hexagon), linear-gradient(black, black);
}

.shape-rhombus .layer.main, .shape-rhombus.shape {
    -webkit-mask-image: var(--mask-rhombus);
    mask-image: var(--mask-rhombus);
}
.shape-rhombus .layer.clone {
    -webkit-mask-image: var(--mask-rhombus), linear-gradient(black, black);
    mask-image: var(--mask-rhombus), linear-gradient(black, black);
}

.shape-circle .layer.main, .shape-circle.shape {
    -webkit-mask-image: var(--mask-circle);
    mask-image: var(--mask-circle);
}
.shape-circle .layer.clone {
    -webkit-mask-image: var(--mask-circle), linear-gradient(black, black);
    mask-image: var(--mask-circle), linear-gradient(black, black);
}

.shape.color-1 { background-color: var(--color-1); }
.shape.color-2 { background-color: var(--color-2); }
.shape.color-3 { background-color: var(--color-3); }
.shape.color-4 { background-color: var(--color-4); }
.shape.color-5 { background-color: var(--color-5); }


/* Content */
.section .column {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 10px;
    min-width: 300px;
}

.section .main .title {
    color: white !important;
}
.section .title {
    font-weight: bold;
    font-size: xxx-large;
    text-transform: uppercase;
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
.section.no-filter .title {
    color: white !important;
    padding: 0px 15px;
    text-align: center;
}

.section.no-filter.color-1  .title{
    background-color:var(--color-1) !important;
}
.section.no-filter.color-2  .title{
    background-color: var(--color-2) !important;
}
.section.no-filter.color-3  .title{
    background-color: var(--color-3) !important;
}
.section.no-filter.color-4  .title{
    background-color: var(--color-4) !important;
}
.section.no-filter.color-5  .title{
    background-color: var(--color-5) !important;
}

.section .content {
    flex-grow: 1;
    font-size: larger;
    word-break: break-word;
}

.section .content img {
    max-width: 100%;
    max-height: 500px;
    display: block;
    margin: 20px auto 30px auto;
}
.section .content .center {
    text-align: center;
    display: block;
}
.section .content .links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-weight: 700;
}

.section .content ul {
    padding-left: 40px;
}
.section .content li {
    list-style-type: disc;
}

.section .content a {
    padding: 10px 20px;
    background-color: black;
    color: white;
    user-select: text;
    flex-grow: 1;
    text-align: center;
}
.section .content a:hover {
    background-color: white;
    color: black;
}

.section .image {
    flex-grow: 1;
    width: 100%;
    min-width: 300px;
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.section .image img {
    width: 100%;
    max-width: 900px;
    min-width: 200px;
    display: block;
}

.section .layer.main img {
    opacity: 1;
}

.section .layer.clone img {
    opacity: 0.8;
    filter: saturate(0%) brightness(150%) contrast(150%);
}

.section.no-filter img {
    opacity: 1 !important;
    filter: none !important;
}

.section .actions {
    width: 100%;
    display: flex;
    box-sizing: content-box;
}

.section .actions a {
    cursor: pointer;
    padding: 15px;
    border: solid 0px;
    flex-grow: 1;
    font-weight: bold;
    text-transform: uppercase;
    background-color: black;
    color: white;
    text-align: center;
}

.section.color-1:hover .actions a { color: var(--color-1); }
.section.color-2:hover .actions a { color: var(--color-2); }
.section.color-3:hover .actions a { color: var(--color-3); }
.section.color-4:hover .actions a { color: var(--color-4); }
.section.color-5:hover .actions a { color: var(--color-5); }

/* Footer */
footer {
    background-color: black;
    color: white;
    margin-top: 130px;
    padding: 60px;
    gap: 30px;
    display: flex;
    flex-direction: column;
    word-break: break-word;
    position: relative;
}
footer:before {
    content: '';
    position: absolute;
    height : 0;
    width : 0;
    border-bottom : 90px solid black;
    border-left : 100vw solid transparent;
    bottom: 100%;
    right: 0px;
}
footer section {
    width: 100%;
    max-width: 750px;
    margin: 0px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer-menu-lvl-1 {
    margin: 0;
    padding: 0;
    gap: 30px;
    display: flex;
    flex-wrap: wrap;
}
.footer-menu-lvl-1>li {
    flex: 1;
    gap: 10px;
}
.footer-menu-lvl-2 {
    min-width: 200px;
    padding: 0;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.footer-menu ul {
    list-style-type: none;
}
.footer-menu h2 {
    margin: 0 0 10px 0;
    font-size: 16px;
}
.footer .footer-social-links {
    display: flex;
    gap: 10px;
    word-break: break-word;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
}
.footer-icons {
    width: 34px;
}
.footer-infos-column {
    min-width: 200px;
}