:root {
    font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
    /* use system color scheme */
}

body {
    margin: 0;
    padding: 0;
    color: CanvasText;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-weight: lighter;
}

header {
    width: 100%;
    background: url(../img/banner.png) no-repeat;
    height: 27rem;
    margin-top: -4rem;
    background-size: cover;
}

nav {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.05rem 1rem;
    z-index: 1;

    &>ul {
        display: flex;
        gap: 1.5rem;
        justify-content: center;
        list-style: none;
        padding: 0;
        flex-wrap: wrap;
        &>li>a {
            font-size: 14px;
            text-decoration: none;
            color: black;
            background: none;
            padding: 0;
            margin: 0;
            border: none;
        }
    }
}

main {
    width: 90%;
    padding: 1rem 1rem ;

    section {
        animation: slideIn 1s forwards;
        padding: 0 1rem 1rem 1rem;
        border-bottom: solid 1px #eee;
        &:first-child {
            padding-top: 2rem;
        }
    }
}

#solidx-logo {
    position: absolute;
    top: 15rem;
    color: #FFF;
    text-shadow: 1px 4px 11px black;
}

h1, h2, h3, h4 {
    font-weight: lighter;
    &:is(h1) {
        font-size: 5rem;
    }
    &:is(h2) {
        font-size: 4rem;
    }
    &:is(h3) {
        font-size: 3rem;
    }
    &:is(h4) {
        font-size: 2rem;
    }
}

.references {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 1rem 0;
    align-items: center;
    flex-wrap: wrap;
}


/* trigger animation when entering viewport */
.logo-wrapper-animated {
    animation: slideInHorizontal 1s forwards;
}

.logo-wrapper-animated-right {
    animation: slideInHorizontalFromRight 1s forwards;
}

.reference-logo {
    height: 150px;
    width: 150px;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-size: contain;
    transform: translateX(50%);

    &.proximus {
        background-image: url("../img/proximus.jpeg");
    }
    &.forem {
        background-image: url("../img/Forem.jpg");
        height: 110px;
        width: 110px;
    }
    &.rtbf {
        background-image: url("../img/rtbf-logo.jpg");
    }
    &.movify {
        background-image: url("../img/movify.png");
    }
    &.genesis {
        background-image: url("../img/genesisconsult.png");
    }
    &.sword {
        background-image: url("../img/sword-group.png");
    }
    &.gfi {
        background-image: url("../img/gfi-logo.png");
    }
    &.scell {
        background-image: url("../img/scell-logo.png");
        height: 110px;
        width: 110px;
        border-radius: 20px;
    }
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-radius: 100px;
    height: 60px;
    width: 60px;
    background: #efefef;
    transform: translateX(-50%);

    &>.logo {
        background-size: cover;
        height: 65px;
        width: 100px;
        background-position-x: center;
        filter: grayscale(1);
    }
    &>.html5 {
        background-image: url('../img/HTML5.png');
    }

    &>.css3 {
        background-image: url('../img/w3_css-official.svg');
    }

    &>.js {
        background-image: url('../img/javascript.png');
        filter: none;
    }

    &>.webcomponents {
        background-image: url('../img/webcomponents.svg');
        height: 50px;
    }

    &>.react {
        background-image: url('../img/react-native.png');
        height: 53px;
    }

    &>.nodejs {
        background-image: url('../img/nodejs-logo.svg');
        height: 50px;
    }
    &>.angular {
        background-image: url('../img/Angular.png');
    }

    &>.express {
        background-image: url('../img/express-js.svg');
        height: 60px;
    }
    &>.mongodb {
        background-image: url('../img/mongo-db.png');
        height: 60px;
    }
    &>.postgresql {
        background-image: url('../img/postgresql.svg');
    }
    &>.rest-api {
        background-image: url('../img/rest-api.png');
    }
    &>.webdriverio {
        background-image: url('../img/selenium.svg');
    }
}


/** keyframes for slide-in animation */
@keyframes slideIn {
    from {
        transform: translateY(30%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideInHorizontal {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInHorizontalFromRight {
    from {
        transform: translateX(50%);
    }
    to {
        transform: translateX(0);
    }
}

