:root {
    --black: #1F1F1F;
    --white: #FFFFFF;
    --beige: #F2F2F2;

    --violet:#CE9AEB;
    --blue:  #1991B4;
    --teal:  #A7DAC9;
    --green: #CBFF80;
    --red:   #DE6787;
}

@keyframes floating {
    from { transform: translate(0,  0); }
    65%  { transform: translate(0, 1rem); }
    to   { transform: translate(0, 0); }
}

*,
*::after,
*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    background: var(--blue);
}

body::-webkit-scrollbar,
main::-webkit-scrollbar {
    display: none;
}

p,
a {
    color: var(--black);
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    text-decoration: none;
}

@media (min-width: 600px) {
    p,
    a {
        font-size: 1.7rem;
    }
}

@media (min-width: 1600px) {
    p,
    a {
        font-size: 3rem;
    }
}

h2 {
    margin-bottom: 3rem;
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

@media (min-width: 900px) {
    h2 {
        font-size: 4rem;
    }
}

img {
    display: flex;
    width: 100%;
}

@media (max-width: 768px) {
    main {
        max-height: 100vh;
        overflow-y: scroll;
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
    }

    main .panel {
        scroll-snap-align: start;
    }

    @media (min-width: 600px) {
        main {
            max-height: 200vh;
        }

        main .panel {
            scroll-snap-align: end;
        }
    }

    @media (min-width: 600px) {
        main .panel:not(main #projekt.panel) {
            scroll-snap-align: start;
        }
    }
}

#navigation.panel,
footer .panel {
    min-height: auto !important;
}

div.background-beige {
	background: var(--beige);
}

div.background-violet {
	background: var(--violet);
}

div.background-blue {
	background: var(--blue);
}

div.background-teal {
	background: var(--teal);
}

div.background-green {
	background: var(--green);
}

div.background-red {
	background: var(--red);
}

div.panel {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

div.panel#education {
    min-height: 90vh;
}

@media (min-width: 992px) {
    div.panel {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 4rem 4rem 0;
        margin: 0 auto;
    }

    div.panel#education {
        min-height: 100vh;
    }
}

div.panel-main {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 90vw;
    min-height: 100vh;
    justify-content: flex-end;
    padding-top: 5rem;
    margin: 0 auto;
}

@media (min-width: 992px) {
    div.panel-main {
        padding-top: 0;
    }
}

@media (min-width: 1350px) {
    div.panel-main {
        flex-direction: row;
    }
}

@media (min-width: 1800px) {
    div.panel-main {
        min-height: 80vh;
    }
}

div.panel-main > div:nth-child(1) {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    div.panel-main > div:nth-child(1) {
        justify-content: space-evenly;
        width: 100%;
        padding-bottom: 5%;
    }
}

div.panel-main > div:nth-child(2) {
    display: flex;
    align-items: flex-end;
}


@media (min-width: 1200px) {
    div.panel-main > div:nth-child(2) img {
        width: 150%;
    }
}

div.panel-main-title {
    width: 70%;
    padding: 2% 0;
}

div.panel-main-title img {
    width: 130%;
}

@media (min-width: 992px) {
    div.panel-main-title,
    div.panel-main-title img {
        width: 100%;
    }
}

@media (min-width: 2000px) {
    div.panel-main-title,
    div.panel-main-title img {
        width: 90%;
    }
}

a.button-natjecaj {
    display: block;
    max-width: 24rem;
    width: 50%;
    padding: 1rem 3rem;
    margin: 4rem 0;
    border-radius: 6.5rem;
    border: 1px solid var(--white);
    background: var(--white);
    color: var(--blue);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    transition: all .3s;
}

a.button-natjecaj:hover {
    background: var(--blue);
    color: var(--white);
    transition: all .3s;
}

#projekt {
    padding-top: 3rem;
}

@media (min-width: 600px) {
    #projekt {
        padding-top: 0;
    }
}

@media (min-width: 1800px) {
    div.panel#projekt {
        min-height: 80vh;
    }
}

div.panel-main-text span p  {
    margin: 2rem 0;
	color: var(--white);
}

div.panel-overlay--blue {
    position: absolute;
    top: 64%;
    left: 0;
    width: 100%;
    height: 5rem;
    background: var(--red);
    mix-blend-mode: overlay;
    z-index: 15;
}

@media (min-width: 600px) {
    div.panel-overlay--blue {
        top: 49%;
        height: 8rem;
    }
}

@media (min-width: 1350px) {
    div.panel-overlay--blue {
        top: 15%;
    }
}

@media (min-width: 2000px) {
    div.panel-overlay--blue {
        top: 30%;
    }
}

.logo {
    max-width: 10rem;
}

.position--absolute {
    position: absolute;
}

.position--relative {
    position: relative;
}

.position--left {
    position: absolute;
}

.position--right {
    position: absolute;
    right: 30rem;
}

.title-desktop--fashion {
    min-width: 30rem;
    margin-left: 100%;
}

@media (min-width: 1800px) {
    .title-desktop--fashion {
        max-width: 55rem;
        margin-left: 50%;
    }
}

.title-desktop--work {
    min-width: 30rem;
    margin-left: 100%;
}

@media (min-width: 1800px) {
    .title-desktop--work {
        min-width: 30rem;
        margin-left: 50%;
    }
}

.title-desktop--wellbeing {
    top: 0;
    min-width: 40rem;
    margin-left: 80%;
}

@media (min-width: 1800px) {
    .title-desktop--wellbeing {
        min-width: 54rem;
        margin-left: 60%;
    }
}

.title-desktop--interiors {
    top: 0;
    min-width: 70rem;
    margin-left: 75%;
}

@media (min-width: 992px) {
    .title-desktop--interiors {
        min-width: 50rem;
        margin-left: 60%;
    }
}

@media (min-width: 1800px) {
    .title-desktop--interiors {
        min-width: 70rem;
        margin-left: 44%;
    }
}

span.beauty {
    top: 30%;
    left: -11rem;
    width: 40vw;
    height: 8rem;
}

@media (min-width: 1800px) {
    span.beauty {
        height: 11rem;
    }
}

span.fashion {
    top: 6rem;
    left: 20rem;
    width: 94rem;
    height: 8rem;
}

@media (min-width: 1800px) {
    span.fashion {
        height: 11rem;
    }
}

span.pop {
    top: 2rem;
    left: -5rem;
    width: 55rem;
    height: 8rem;
}

@media (min-width: 1800px) {
    span.pop {
        width: 85rem;
        height: 11rem;
    }
}

span.wellbeing {
    top: 2rem;
    left: 28rem;
    width: 55rem;
    height: 8rem;
}

@media (min-width: 1800px) {
    span.wellbeing {
        left: 29rem;
        width: 66rem;
        height: 11rem;
    }
}

span.work {
    top: 0;
    left: 20rem;
    width: 94rem;
    height: 8rem;
}

@media (min-width: 1800px) {
    span.work {
        top: 5rem;
        height: 11rem;
    }
}

span.interiors {
    top: 2.5rem;
    left: 35rem;
    width: 55rem;
    height: 8rem;
}

@media (min-width: 992px) {
    span.interiors {
        left: 27rem;
        width: 80rem;
    }
}

span.overlay--lightblue {
    background: #c0efffe6;
    mix-blend-mode: overlay;
}

span.overlay--lightpink {
    background: #f774ec91;
    mix-blend-mode: overlay;
}

span.overlay--blue {
    background: #67c5eee6;
    mix-blend-mode: overlay;
}

@media (min-width: 1600px) {
    .is-full-height {
        width: auto;
    }
}

ul li {
    display: flex;
    align-items: center;
    padding: .8rem 0;
    border-bottom: 1px solid;
    font-weight: 300;
    text-transform: uppercase;
    list-style-type: none;
}

ul li:last-child {
    border-bottom: none;
}

@media (min-width: 992px) {
    ul li {
        padding: 1.5rem 0;
    }

    ul li:last-child {
        border-bottom: 1px solid;
    }
}

@media (min-width: 1600px) {
    ul li {
        padding: 2.5rem 0;
    }
}

ul li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: all .3s;
}

ul li a:hover p {
    color: var(--blue);
    transition: all .3s;
}

ul li a.has-image p {
    margin-left: 4rem;
}

@media (min-width: 992px) {
    ul li a.has-image p {
        margin-left: 10rem;
    }
}

ul li p:nth-child(2):not(ul li a.has-image p:nth-child(2)) {
    font-weight: 600;
}

ul li a.has-image p:nth-child(3) {
    font-weight: 600;
}

@media (min-width: 992px) {
    ul li a.has-image p {
        margin-left: 0;
        color: var(--black);
        transition: all .3s;
    }

    ul li a.has-image:hover p {
        margin-left: 6rem;
        transition: all .3s;
    }

    ul li a.has-image:hover img {
        opacity: 1;
        transition: all .3s;
    }

    ul li a.has-image p:nth-child(2) {
        font-weight: 300;
    }

    ul li a.has-image p:nth-child(3) {
        font-weight: 600;
    }

    ul li:last-child {
        border-bottom: none;
    }

    ul li p {
        font-weight: 300;
    }

    ul li p:nth-child(2) {
        font-weight: 600;
    }
}
div.is-blue {
    position: absolute !important;
    right: 4rem;
}

div.circle {
    display: none;
}

@media (min-width: 600px) {
    div.circle {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        z-index: 999979;
        margin: 5rem auto;
    }
}

@media (min-width: 992px) {
    div.circle {
        flex-direction: column;
        gap: 2rem;
        margin: 0 0 0 4rem;
    }
}

div.circle div {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
}

@media (min-width: 600px) {
    div.circle div {
        width: 2rem;
        height: 2rem;
    }
}

@media (min-width: 992px) {
    div.circle div {
        height: 1.5rem;
        width: 1.5rem;
    }
}

@media (min-width: 1600px) {
    div.circle div {
        height: 2rem;
        width: 2rem;
    }
}

div.circle--fill-red {
    background: var(--red);
}

div.circle--border-red {
    border: 2px solid var(--red);
}

div.circle--fill-green {
    background: var(--green);
}

div.circle--border-green {
    border: 2px solid var(--green);
}

div.circle--fill-blue {
    background: var(--blue);
}

div.circle--border-blue {
    border: 2px solid var(--blue);
}

div.modal {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3968181022408963) 100%);
    transform: translate(100%, 0%);
}

@media (min-width: 992px) {
    div.modal {
        z-index: 9990000;
    }
}

div.modal > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    width: 90vw;
    background: var(--white);
}

@media (min-width: 992px) {
    div.modal > div {
        width: 45vw;
    }
}

.modal-slide--in {
    transform: translate(0, 0) !important;
    transition: all .2s ease-in;
}

.modal-slide--out {
    transform: translate(100%, 0);
    transition: all .2s ease-out;
}

div.modal > div a.modal-close {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 2rem 1rem 1rem;
    color: var(--blue);
    font-size: 1.7rem;
}

div.modal > div a.modal-close img,
.has-image img {
    max-width: 3.5rem;
    width: auto;
}

@media (min-width: 992px) {
    div.modal > div a.modal-close img,
    .has-image img {
        max-width: 4rem;
    }
}

div.modal > div p {
    padding: 0 2rem;
    font-size: 2vh;
    font-weight: 300;
    text-align: center;
}

@media (min-width: 992px) {
    div.modal > div p {
        padding: 0 6rem;
        font-size: 2.1vh;
    }
}

div.modal > div p a {
    color: var(--blue);
    font-size: 2vh;
    font-weight: 300;
}

@media (min-width: 992px) {
    div.modal > div p a {
        font-size: 1.5rem;
    }
}

div.links {
    position: relative;
    width: 85%;
    z-index: 100;
    margin: auto;
}

ul.links-list {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height:
    60vh;
}

ul.links-list p {
    font-size: 1.3rem;
}

@media (min-width: 600px) {
    ul.links-list {
        justify-content: center;
        height: 100%;
    }

    ul.links-list p {
        font-size: 1.4rem;
    }
}

@media (min-width: 1200px) {
    ul.links-list p {
        font-size: 2.2rem;
    }
}

@media (min-width: 992px) {
    div.links {
        width: 100%;
    }

    ul.links-list--odd {
        padding: 0 7% 0 14%;
    }

    #fashion div.links {
        width: 80%;
    }

    #fashion ul.links-list {
        padding: 0 7% 0 7%;
    }

    ul.links-list--even {
        padding: 0 14% 0 7%;
    }
}

.mobile-main {
    position: absolute;
    bottom: 0;
    width: auto;
}

.mobile {
    display: block;
}

.desktop {
    display: none;
}

@media (min-width: 992px) {
    .mobile {
        display: none;
    }

    .desktop {
        display: block;
        flex-direction: column;
        align-self: self-end;
        z-index: 9;
    }
}

.invisible {
    position: absolute;
    opacity: 1;
}

@media (min-width: 992px) {
    .invisible {
        opacity: 0;
        transition: all .3s;
    }
}

.number--left {
    position: absolute;
    bottom: 1rem;
    left: 3rem;
    max-width: 50rem;
}

.number--right {
    position: absolute;
    right: 3rem;
    bottom: 1rem;
    max-width: 50rem;
}

.title-mobile {
    padding: 2rem 1rem 2rem;
    margin-top: 4rem;
    max-height: 10rem;
}

@media (min-width: 600px) {
    .title-mobile {
        width: 75%;
        padding: 3rem;
        margin-top: 0;
        margin: 0 auto;
    }
}

@media (min-width: 992px) {
    .title-mobile {
        width: 100%;
    }
}

.title-desktop {
    position: relative;
    z-index: 100;
}

.panel-contest {
    flex-direction: column;
    padding: 3rem 1rem;
}

@media (min-width: 992px) {
    .panel-contest {
        padding: 10rem 1rem !important;
    }
}

.panel-container {
    position: relative;
    width: 85%;
    min-height: fit-content;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .panel-container {
        width: 50%;
    }
}

.panel-container p:nth-child(1) {
    width: 60%;
    margin: 3rem 11rem;
}

@media (min-width: 600px) {
    .panel-container p:nth-child(1) {
        margin: 5rem 18rem;
    }
}

@media (min-width: 992px) {
    .panel-container p:nth-child(1) {
        width: 100%;
        margin: 3rem auto;
    }
}

.panel-container img {
    width: 100%;
}

.contest-title {
    align-self: center;
}

@media (min-width: 1600px) {
    .contest-title {
        width: 60%;
    }
}

@media (min-width: 1600px) {
    .contest-title {
        width: 60%;
    }
}

.is-floating {
    display: grid;
    position: relative;
    z-index: 30;
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.is-background {
    position: absolute;
    top: 0;
}

.side-image--left {
    position: absolute;
    top: 22%;
    left: 0;
    width: 40rem;
}

.is-image {
    max-width: 8rem;
}

@media (min-width: 992px) {
    .is-image {
        max-width: 15rem;
    }
}

.is-booster {
    position: absolute;
    top: -7rem;
    left: 2rem;
}

@media (min-width: 600px) {
    .is-booster {
        top: 0;
        left: 11rem;
    }
}

.side-image--right {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 25rem;
}

@media (min-width: 600px) {
    .side-image--right {
        max-width: 45rem;
    }
}

@media (min-width: 992px) {
    .side-image--right {
        position: absolute;
        right: 0;
        bottom: 0;
        max-width: 45rem;
    }
}

footer {
    position: relative;
    padding: 1rem;
    background: var(--white);
}

@media (min-width: 1600px) {
    footer {
        padding: 3rem;
    }
}

footer > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
}

@media (min-width: 992px) {
    footer > div {
        justify-content: center;
        margin-left: 0;
        font-size: 1.5rem;
    }
}

@media (min-width: 500px) {
    footer div:nth-child(2) img {
        max-width: 8rem;
    }
}

.footer-image--right {
    position: absolute;
    top: -7rem;
    right: 2rem;
}

.footer-image--right img {
    width: 27%;
    justify-self: flex-end;
}

@media (min-width: 500px) {
    .footer-image--right {
        bottom: 2rem;
    }

    .footer-image--right img {
        width: 45%;
    }
}

@media (min-width: 992px) {
    .footer-image--right {
        top: -18.8rem;
    }

    .footer-image--right img {
        width: 75%;
    }
}
