@font-face {
    font-family: "Outfit";
    src: url("Fonts/Outfit/Outfit-VariableFont_wght.ttf");
}


@font-face {
    font-family: "OutfitLight";
    src: url("Fonts/Outfit/static/Outfit-Light.ttf");
}

#ekipa {
    font-family: "Outfit", sans-serif;
    /*background: linear-gradient(135deg, #1c1f26, #6d768d);*/
    background-color: white;
    color: #fff9e6;

    animation: fadeIn 1.2s ease-out;
    cursor: none;
    position: relative;
    min-height: 100vh;
    padding-bottom: 140px;
    overflow: hidden;


}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#ekipa-inner-content {
    display: flex;
    align-items: flex-start;
    margin: auto auto;
}

#team-members-container {
    display: block;
    flex-direction: row;
    align-items: flex-start;
    text-wrap: nowrap;
    margin-top: -3%;
    margin-left: 3%;
}

#tm1, #tm6 {
    margin-left: -20%;
}

#tm2, #tm5 {
    margin-left: 12%;
}

#tm3, #tm4 {
    margin-left: 42%;
}

#tm4 {
    margin-top: 4%;
}

#tm2, #tm3, #tm5, #tm6 {
    margin-top: -5%;
}

.egg-img {
    width: 20vw;
    height: auto;
    margin-top: 15%;
    z-index: 1000;
}

.content {
    display: flex;
    width: 100%;
    height: auto;
    margin-top: 10vh;
}

.team-member {
    display: flex;
    align-items: center;
    color: #000000;
    text-shadow: none;
    animation: slideUp 1s ease-out forwards;
    font-size: 0.6vw;
}


.circle-img {
    width: 5vw;
    height: 5vw;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circle-img:hover {
    transform: scale(1.08);
    box-shadow: 0 0 2vw rgba(78, 78, 78, 0.7), 0 0 1vw rgba(0, 0, 0, 0.4);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(20, 20, 20, 0.6);
}

.modal-content {
    background-color: #3c3c3c;
    color: #fff9e6;
    margin: 15% auto;
    padding: 40px;
    border-radius: 20px;
    width: 60%;
    text-align: center;
    box-shadow: 0 0 80px 30px rgba(22, 22, 22, 0.6), 0 0 150px 30px rgba(27, 26, 26, 0.6);
    animation: fadeIn 0.6s ease-out;
    position: relative;
}

.modal-content h2 {
    margin-top: 15px;
    margin-bottom: 40px;
    font-size: 2em;

}

.modal-content p {
    font-size: 1.5em;
}

.modal-close {
    position: absolute;
    top: -15px;
    right: 10px;
    font-size: 4rem;
    color: #fff;
}


.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 83%;
    pointer-events: none;

}

.floating-img {
    position: absolute;
    width: 70px;
    height: 70px;
    object-fit: contain;
}


@keyframes driftAround {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    20% {
        transform: translate(40px, -30px) rotate(25deg);
    }
    40% {
        transform: translate(-35px, 45px) rotate(-20deg);
    }
    60% {
        transform: translate(30px, 20px) rotate(15deg);
    }
    80% {
        transform: translate(-20px, -40px) rotate(-15deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

#butter-icon {
    left: 15%;
    top: 15%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 0s;
}

#cheese-icon {
    left: 85%;
    top: 90%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 0.3s;
}

#chopped-onions-icon {
    left: 17%;
    top: 50%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 0.6s;
}

#egg-cracked-icon {
    left: 84%;
    top: 13%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 0.9s;
}

#fork-icon {
    left: 80%;
    top: 55%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 1.2s;
}

#grass-icon {
    left: 18%;
    top: 7%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

#hot-plate-icon {
    left: 94%;
    top: 75%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 1.8s;
}

#cold-plate-icon {
    left: 5%;
    top: 85%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 2.1s;

}

#leaf-icon {
    left: 25%;
    top: -5%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 2.4s;
}

#milk-carton-icon {
    left: 75%;
    top: 88%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 2.7s;
}

#colored-egg-icon {
    left: 10%;
    top: 32%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 3s;
}

#parsley-icon {
    left: 25%;
    top: 70%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 3.3s;
}

#pepper-shaker-icon {
    left: 95%;
    top: 42%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 3.6s;
}

#grelna {
    left: 85%;
    top: 37%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 3.2s;
}

#salt-shaker-icon {
    left: 95%;
    top: 8%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 3.9s;
}

#spices-icon {
    left: 5%;
    top: 30%;
    animation: driftAround 6s ease-in-out infinite;
    animation-delay: 4.2s;
}

.page-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100vw;
}


.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    color: white;
    font-size: 0.75vw;
    padding: 1.3rem;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    column-width: auto;
    justify-content: space-between;
    max-height: 25vh;
}

.footer > div {
    width: 33%;
    padding: 0.1rem;
}

.footer a {
    color: white;
}

#politika-zasebnosti {
    display: inline;
}

#aris-logo, #ier-logo {
    margin-bottom: 1rem;
}

#ier-logo {
    width: 20vw;
    height: auto;
}

#aris-logo {
    width: 15vw;
    height: auto;
}

#linkedin {
    width: 1vw;
    height: 1vw;
    margin-left: 4.3vw;
    margin-bottom: -3px;
}

@media (min-width: 1350px) and (max-width: 1700px) {
    #butter-icon {
        left: 15%;
        top: 165%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0s;
    }

    #cheese-icon {
        left: 85%;
        top: 190%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.3s;
    }

    #chopped-onions-icon {
        left: 17%;
        top: 200%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.6s;
    }

    #egg-cracked-icon {
        left: 90%;
        top: 73%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.9s;
    }

    #fork-icon {
        left: 80%;
        top: 225%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 1.2s;
    }

    #grass-icon {
        left: 18%;
        top: 7%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 1.5s;
    }


    #cold-plate-icon {
        left: 5%;
        top: 130%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.1s;
    }

    #leaf-icon {
        left: 25%;
        top: 75%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.4s;
    }

    #milk-carton-icon {
        left: 50%;
        top: 225%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.7s;
    }

    #colored-egg-icon {
        left: 10%;
        top: 32%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3s;
    }

    #parsley-icon {
        left: 25%;
        top: 70%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.3s;
    }

    #pepper-shaker-icon {
        left: 95%;
        top: 42%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.6s;
    }

    #grelna {
        left: 95%;
        top: 137%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.2s;
    }

    #salt-shaker-icon {
        left: 95%;
        top: 205%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.9s;
    }

    #spices-icon {
        left: 5%;
        top: 50%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 4.2s;
    }

    .floating-img {
        width: 30px;
        height: 30px;
    }

    .modal {
        font-size: 11px;
    }

    .modal-content {
        width: 70%;
        height: auto;
        padding: 30px;

    }

    .floating-icons {
        height: 50%;
    }

    .team-member {
        font-size: 0.7vw;
    }

    .egg-img {
        width: 20vw;
        margin: auto;
    }

    .circle-img {
        width: 5vw;
        height: 5vw;
    }
}


@media (min-width: 1025px) and (max-width: 1349px) {
    #butter-icon {
        left: 15%;
        top: 165%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0s;
    }

    #cheese-icon {
        left: 85%;
        top: 190%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.3s;
    }

    #chopped-onions-icon {
        left: 17%;
        top: 200%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.6s;
    }

    #egg-cracked-icon {
        left: 90%;
        top: 73%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.9s;
    }

    #fork-icon {
        left: 80%;
        top: 225%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 1.2s;
    }

    #grass-icon {
        left: 18%;
        top: 7%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 1.5s;
    }


    #cold-plate-icon {
        left: 5%;
        top: 130%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.1s;
    }

    #leaf-icon {
        left: 25%;
        top: 75%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.4s;
    }

    #milk-carton-icon {
        left: 50%;
        top: 225%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.7s;
    }

    #colored-egg-icon {
        left: 10%;
        top: 32%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3s;
    }

    #parsley-icon {
        left: 25%;
        top: 70%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.3s;
    }

    #pepper-shaker-icon {
        left: 95%;
        top: 42%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.6s;
    }

    #grelna {
        left: 95%;
        top: 137%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.2s;
    }

    #salt-shaker-icon {
        left: 95%;
        top: 205%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.9s;
    }

    #spices-icon {
        left: 5%;
        top: 50%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 4.2s;
    }


    .floating-img {
        width: 30px;
        height: 30px;
    }

    .modal {
        font-size: 11px;
    }

    .modal-content {
        width: 70%;
        height: auto;
        padding: 30px;

    }

    .floating-icons {
        height: 50%;
    }

    .team-member {
        font-size: 0.6vw;
    }

    .egg-img {
        width: 20vw;
        margin: auto;
    }

    .circle-img {
        width: 5vw;
        height: 5vw;
    }
}


/* Responsive for smaller screens (tablets, small screens) */
@media (max-width: 1024px) {

    #butter-icon {
        left: 15%;
        top: 165%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0s;
    }

    #cheese-icon {
        left: 85%;
        top: 190%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.3s;
    }

    #chopped-onions-icon {
        left: 17%;
        top: 200%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.6s;
    }

    #egg-cracked-icon {
        left: 90%;
        top: 73%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.9s;
    }

    #fork-icon {
        left: 80%;
        top: 225%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 1.2s;
    }

    #grass-icon {
        left: 18%;
        top: 7%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 1.5s;
    }


    #cold-plate-icon {
        left: 5%;
        top: 130%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.1s;
    }

    #leaf-icon {
        left: 25%;
        top: 75%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.4s;
    }

    #milk-carton-icon {
        left: 50%;
        top: 225%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.7s;
    }

    #colored-egg-icon {
        left: 10%;
        top: 32%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3s;
    }

    #parsley-icon {
        left: 25%;
        top: 70%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.3s;
    }

    #pepper-shaker-icon {
        left: 95%;
        top: 42%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.6s;
    }

    #grelna {
        left: 95%;
        top: 137%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.2s;
    }

    #salt-shaker-icon {
        left: 95%;
        top: 205%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.9s;
    }

    #spices-icon {
        left: 5%;
        top: 50%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 4.2s;
    }

    .floating-img {
        width: 30px;
        height: 30px;
    }

    .modal {

        font-size: 11px;
    }

    .modal-content {
        width: 70%;
        height: auto;
        padding: 30px;

    }

    .floating-icons {
        height: 50%;
    }

    .team-member {
        font-size: 1.3vw;
    }

    .egg-img {
        width: 35vw;
        margin: auto;
    }


    .circle-img {
        width: 12vw;
        height: 12vw;
    }
}

/* Responsive for mobile screens (phones) */
@media (max-width: 768px) {
    #butter-icon {
        left: 15%;
        top: 165%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0s;
    }

    #cheese-icon {
        left: 85%;
        top: 190%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.3s;
    }

    #chopped-onions-icon {
        left: 17%;
        top: 200%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.6s;
    }

    #egg-cracked-icon {
        left: 90%;
        top: 73%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.9s;
    }

    #fork-icon {
        left: 80%;
        top: 225%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 1.2s;
    }

    #grass-icon {
        left: 18%;
        top: 7%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 1.5s;
    }


    #cold-plate-icon {
        left: 5%;
        top: 1130%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.1s;
    }

    #leaf-icon {
        left: 25%;
        top: 75%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.4s;
    }

    #milk-carton-icon {
        left: 50%;
        top: 225%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.7s;
    }

    #colored-egg-icon {
        left: 10%;
        top: 32%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3s;
    }

    #parsley-icon {
        left: 25%;
        top: 70%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.3s;
    }

    #pepper-shaker-icon {
        left: 95%;
        top: 42%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.6s;
    }

    #grelna {
        left: 95%;
        top: 137%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.2s;
    }

    #salt-shaker-icon {
        left: 95%;
        top: 205%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.9s;
    }

    #spices-icon {
        left: 5%;
        top: 50%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 4.2s;
    }

    .floating-img {
        display: none;
    }

    .modal {
        font-size: 11px;
    }

    .modal-content {
        width: 80%;
        height: auto;
        padding: 30px;
    }

    .floating-icons {
        height: 50%;
    }

    #ekipa-inner-content {
        margin-left: 5vw;
    }

    .team-member {
        font-size: 1.5vw;
    }

    .egg-img {
        width: 40vw;
        margin: auto;
    }


    .circle-img {
        width: 15vw;
        height: 15vw;
    }
}

/* Responsive for very small screens (extra small devices, phones in portrait mode) */
@media (max-width: 560px) {
    #butter-icon {
        left: 15%;
        top: 165%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0s;
    }

    #cheese-icon {
        left: 85%;
        top: 190%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.3s;
    }

    #chopped-onions-icon {
        left: 17%;
        top: 200%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.6s;
    }

    #egg-cracked-icon {
        left: 90%;
        top: 73%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.9s;
    }

    #fork-icon {
        left: 80%;
        top: 225%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 1.2s;
    }

    #grass-icon {
        left: 18%;
        top: 7%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 1.5s;
    }


    #cold-plate-icon {
        left: 5%;
        top: 1530%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.1s;
    }

    #leaf-icon {
        left: 25%;
        top: 75%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.4s;
    }

    #milk-carton-icon {
        left: 50%;
        top: 225%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.7s;
    }

    #colored-egg-icon {
        left: 10%;
        top: 32%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3s;
    }

    #parsley-icon {
        left: 25%;
        top: 70%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.3s;
    }

    #pepper-shaker-icon {
        left: 95%;
        top: 42%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.6s;
    }

    #grelna {
        left: 95%;
        top: 137%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.2s;
    }

    #salt-shaker-icon {
        left: 95%;
        top: 205%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.9s;
    }

    #spices-icon {
        left: 5%;
        top: 50%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 4.2s;
    }

    .floating-img {
        display: none;
    }

    .modal {

        font-size: 11px;
    }

    .modal-content {
        width: 80%;
        height: auto;
        padding: 30px;

    }

    .floating-icons {
        height: 50%;
    }
}


/* Responsive for very small screens (extra small devices, phones in portrait mode) */
@media (max-width: 410px) {
    #butter-icon {
        left: 15%;
        top: 165%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0s;
    }

    #cheese-icon {
        left: 85%;
        top: 190%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.3s;
    }

    #chopped-onions-icon {
        left: 17%;
        top: 200%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.6s;
    }

    #egg-cracked-icon {
        left: 90%;
        top: 73%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 0.9s;
    }

    #fork-icon {
        left: 80%;
        top: 225%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 1.2s;
    }

    #grass-icon {
        left: 18%;
        top: 7%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 1.5s;
    }


    #cold-plate-icon {
        left: 5%;
        top: 1530%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.1s;
    }

    #leaf-icon {
        left: 25%;
        top: 75%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.4s;
    }

    #milk-carton-icon {
        left: 50%;
        top: 225%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 2.7s;
    }

    #colored-egg-icon {
        left: 10%;
        top: 32%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3s;
    }

    #parsley-icon {
        left: 25%;
        top: 70%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.3s;
    }

    #pepper-shaker-icon {
        left: 95%;
        top: 42%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.6s;
    }

    #grelna {
        left: 95%;
        top: 137%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.2s;
    }

    #salt-shaker-icon {
        left: 95%;
        top: 205%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 3.9s;
    }

    #spices-icon {
        left: 5%;
        top: 50%;
        animation: driftAround 6s ease-in-out infinite;
        animation-delay: 4.2s;
    }

    .floating-img {
        display: none;
    }

    .modal {
        font-size: 11px;
    }

    .modal-content {
        width: 80%;
        height: auto;
        padding: 30px;

    }

    .floating-icons {
        height: 50%;
    }
}