﻿.hero {
    text-align: center;
    color: var(--font-gray);
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
}

.hero h1 {
    font-size: 60px;
}

.hero .content{
    padding-bottom: 3rem;
}

#technologiesSeeMore, #toolsSeeMore {
    display: none;
}

.imageList .content {
    display: flex;
    align-items: center;
    font-size: 20px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    gap: 50px;
    padding-bottom: 5rem;
}

.imageList, .statistic, .team {
    margin-bottom: 5rem;
}

.imageList .content:nth-child(odd) {
    flex-direction: row-reverse;
    gap: 10%;
}

.imageList .content .desc {
    flex: 2;
    padding-right: 5rem;
}

.imageList .content a, .imageList .content .imageWrapper {
    flex: 1;
    max-width: 40vw;
    position: relative;
}

.team{
    padding-top: 2rem;
    margin-bottom: 0 !important; /*temp - remove when adding team picture*/
}

.team .teamContent {
    position: relative;
    padding-top: 2rem !important; /*temp - remove when adding team picture*/
}

.team .teamContent .mainPh {
    margin-bottom: 5rem;
}

.imageList .content a img.mainPh, .imageList .content .imageWrapper img.mainPh, .team .teamContent .teamWrapper img.teamPh {
    width: 100%;
    filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));
}

.imageList .content a::before, .imageList .content .imageWrapper::before, .team .teamContent .teamWrapper::before {
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -10;
    background: var(--orange);
    top: 1rem;
    left: 1rem;
}

.linkedin {
    position: absolute;
    bottom: 40px;
    left: 10px;
}

i {
    margin-left: 70px;
    color: var(--font-white);
}

.statisticsWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0rem 0.5rem 0rem;
    background: var(--orange);
    color: var(--font-white);
}

.statisticUnits{
    display: flex;
    gap: 5rem;
    width: 80%;
}

.statisticsWrapper .sUnit {
    text-align: center;
    font-size: 25px;
    flex: 1;
}

.statisticsWrapper .sUnit h3 {
    font-size: 50px;
    margin-bottom: 0;
}

.teamWrapper {
    position: relative;
    margin-bottom: 3rem;
}

.teamContent {
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 20px;
}

.teamContent i {
    color: var(--font-gray);
    font-weight: normal;
}

.teamWrapper .teamPh {
    width: 80vw;
}

.technologiesWrapper, .toolsWrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-items: center;
}

.tooltip-text {
    opacity: 0;
    transition: 0.2s ease-in-out opacity;
    position: absolute;
    z-index: 100;
    left: 12px;
    bottom: -0.5rem;
    width: 100px;
    color: white;
    font-size: 12px;
    background-color: var(--orange);
    border-radius: 5px;
    padding: 10px;
}
.technologiesWrapper .imgWrapper, .toolsWrapper .imgWrapper {
    position: relative;
}
.technologiesWrapper img:hover + .tooltip-text, .toolsWrapper img:hover + .tooltip-text {
    opacity: 100%;
}
.ulwrapper ul li {
    margin: 0;
    padding: 10px 0 10px 50px;
    list-style: none;
    background-image: url("../images/ul_triangle.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 25px;
    font-size: 20px;
    align-self: center;
}

@media (min-width: 2000px) {
    .imageList .content a, .imageList .content .imageWrapper {
        max-width: 20vw;
    }

    .imageList .content {
        gap: 7%;
    }

    .imageList .content:nth-child(even) {
        gap: 10px;
    }
}

@media (max-width: 1500px) {
    .imageList .content .desc {
        padding-right: 0;
    }
}

@media (max-width: 1350px) {
    .imageList .content, .imageList .content:nth-child(odd) {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        padding-bottom: 3rem;
        gap: 5rem;
    }

    .imageList .content .desc {
        font-size: 20px;
    }

    .imageList .content a, .imageList .content .imageWrapper {
        max-width: 51vw;
    }

    .imageList .content a img.mainPh, .imageList .content .imageWrapper img.mainPh {
        width: 50vw;
    }

    .statisticsWrapper {
        padding: 0.5rem 10rem 0.5rem 10rem;
    }
}

@media (max-width: 1150px) {
    .hero {
        width: 80%;
    }

    .technologiesWrapper, .toolsWrapper {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media (max-width: 1050px) {
    .statisticsWrapper {
        padding-right: 3rem;
        padding-left: 3rem;
    }
}

@media (max-width: 900px) {
    .technologiesWrapper, .toolsWrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .statisticUnits{
        width: 100%;
        gap: 1rem;
    }
}

@media (max-width: 650px) {
    .statisticsWrapper .sUnit {
        font-size: 20px;
    }

    .statisticsWrapper.sUnit h3 {
        font-size: 35px;
        font-weight: normal;
    }

    .technologiesWrapper, .toolsWrapper {
        grid-template-columns: 1fr 1fr;
        overflow: hidden;
        padding-bottom: 1rem;
    }
}

@media (max-width: 600px) {
    .hero {
        width: 90%;
    }

    .hero p {
        font-size: 18px;
    }

    .technologiesToHide, .toolsToHide {
        animation: seeMore 1s ease 0s 1 normal forwards;
    }

    .more {
        display: none;
    }

    #technologiesSeeMore, #toolsSeeMore {
        display: block;
        color: var(--orange);
        font-size: 25px;
        text-align: center;
        font-weight: bold;
        width: max-content;
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
        cursor: pointer;
    }

    .imageList .content a img.mainPh, .imageList .content .imageWrapper img.mainPh {
        width: 75vw;
    }

    .imageList .content a, .imageList .content .imageWrapper {
        max-width: unset;
    }

    .ulwrapper ul {
        grid-auto-rows: 4rem;
    }
    
}

@media (max-width: 500px) {
    .statisticsWrapper {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .statisticsWrapper .sUnit {
        font-size: 18px;
        padding: 2rem 0.5rem 2rem 0.5rem;
    }

    .statisticsWrapper .sUnit h3 {
        font-size: 35px;
    }
}

@media (max-width: 400px) {
    .statisticsWrapper .sUnit {
        font-size: 15px;
    }

    .technologiesWrapper, .toolsWrapper {
        gap: 0;
        width: 95%;
        overflow: hidden;
    }
}

@media (max-width: 350px) {
    .imageList .content i {
        margin-left: 45px;
        font-size: 18px;
    }

    .statisticsWrapper .sUnit h3 {
        font-size: 25px;
    }

    .statisticsWrapper {
        padding-right: 0;
        padding-left: 0;
    }

    .statisticsWrapper .sUnit {
        font-size: 15px;
        padding: 2rem 0 2rem 0;
    }
}

@keyframes seeMore {
    0% {
        opacity: 0;
        transform: rotateX(70deg);
        transform-origin: top;
    }

    100% {
        opacity: 1;
        transform: rotateX(0deg);
        transform-origin: top;
    }
}
