@font-face {
    font-family: Silka;
    src: url('./fonts/silka-regular-webfont.ttf')
}

body {
    font-family: Silka, "Helvetica Neue";
    font-size: 16px;
    font-style: normal;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

.header {
    margin-top: 50px;
}

a {
    color: white;
    padding-bottom: 1em;
}

.header img {
    width: 200px;
    margin: auto;
    display: block;
}

.content {
    margin-top: 5rem;
    text-align: center;
}

.content-with-bg {
    color: white;
    background-color: #3ad4ae;
    font-size: 1.2rem;
}

.flex-content {
    display: flex;
    justify-content: space-around;
    padding: 25px;
}

.flex-content p {
    margin-top: 0;
}


.references {
    margin-top: 5rem;

}

.references-container {
    display: grid;
    grid-template-columns: repeat(4, 180px);
    row-gap: 20px;
    column-gap: 1.5vw;
}


.references-container img {
    height: 80px;
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    max-width: 100%;
}

.references-container img:hover, .references-container img:focus {
    filter: grayscale(0);
    opacity: 1;
    cursor: pointer;
}

.ref-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}


@media only screen and (max-width: 1024px) {
    .references-container {
        grid-template-columns: repeat(3, 160px);
        column-gap: 1vw;
    }
    .flex-content {
        display: grid;
    }
    .content-with-bg {
        padding: 10px 0;
    }

    .flex-content h1 {
        margin: 0;
    }
    .perfektio-details {
        margin-top: 20px;
    }
}


@media only screen and (max-width: 640px) {
    .references-container {
        grid-template-columns: repeat(2, 1fr);
        width: 80%;
        column-gap: 10vw;
    }
    .flex-content {
        margin: 1rem 1rem;
    }
}