@media (max-width: 768px) {
    .content {
        margin-bottom: 150px;
    }
}

@media (max-width: 689px) {
    header {
        margin-top: 20px;
    }
}

@media (max-width: 991px) {
    header {
        width: calc(100% - 20px);
        padding: 20px 20px;
    }
    header ul.navigation {
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: linear-gradient(var(--bg1),var(--bg2));
       z-index: 94;
       display: none;
       align-items: center;
       flex-direction: column;
    }
    header ul.navigation.active {
       display: flex;
    }
 
    header .navigation li a {
       color:var(--white);
       margin-left: 0;
       text-decoration: none;
       font-size: 2em;
    }
    .sec {
       justify-content: center;
       padding: 20px 20px 0;
    }
    .content {
       max-width: 80%;
       margin-top: 120px;
    }
    .content h1 {
       font-size: 3em;
       margin-top: 120px;
    }
 }

 @media only screen and (min-width: 1200px) {
    .partners {
       grid-template-columns: repeat(5, auto);
    }
 }

 @media only screen and (max-width: 1000px) {
    .partners {
       grid-template-columns: repeat(4, auto);
    }
 }

 @media only screen and (max-width: 900px) {
    .partners {
       grid-template-columns: repeat(3, auto);
    }
 }

 @media only screen and (max-width: 780px) {
    .partners {
       grid-template-columns: repeat(2, auto);
    }
 }

 @media only screen and (max-width: 700px) {
    .partners {
       grid-template-columns: repeat(1, auto);
    }
 }

 @media (max-width: 1370px) {
    .ratkaisut-list {
        grid-template-columns: repeat(2, auto);
    }
    .sote_konsultointi_boxes {
        grid-template-columns: repeat(2, 50%);
    }
    .content {
        max-width: 90%;
        margin-top: 120px;
     }
}

@media (max-width: 890px) {
    .ratkaisut-list,
    .ratkaisut-item,
    .ratkaisut-ohjelmistokehitys,
    .ratkaisut-trueconnector,
    .ratkaisut-asennukset {
        grid-template-columns: repeat(1, auto);
    }
    .sote_konsultointi_boxes {
        grid-template-columns: repeat(1, auto);
    }
}

@media (min-width: 1050px) {
    .ratkaisut-asennukset {
        grid-column: 2 / span 2;
    }
}

@media (max-width: 1600px) {
    .refcontainer {
        grid-template-columns: repeat(5, auto);
    }
}
@media (max-width: 1050px) {
    .refcontainer {
        grid-template-columns: repeat(4, auto);
    }
}
@media (max-width: 991px) {
    .refcontainer {
        grid-template-columns: repeat(3, auto);
    }
    .social {
        display: none;
    }
}

@media (max-width: 768px) {
    .refcontainer {
        grid-template-columns: repeat(2, auto);
    }
}

@media (max-width: 550px) {
    .refcontainer {
        grid-template-columns: repeat(1, auto);
    }
    .aclogo, .footer-logo {
        max-width: 250px;
    }
}

@media (max-width: 1150px) {
    .tietoa {
        grid-template-columns: 1fr;
        margin: 40px 40px 40px 40px;
        justify-content: center;
    }
}

@media (max-width: 1300px) {
    .contact-container {
        grid-template-columns: repeat(3, auto);
        grid-gap: 10px;
    }
    .contact-arcticconnect,
    .contact-arcturia {
        display: none;
    }
}

@media (max-width: 705px) {
    .contact-container {
        grid-template-columns: repeat(2, auto);
        grid-gap: 10px;
    }
    .contact-arcticconnect,
    .contact-arcturia {
        display: none;
    }
}

@media (max-width: 1050px) {
    .footer-row {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 20px;
    }
    .footer-logo {
        grid-column: 1 / 5;
    }
}

@media (max-width: 750px) {
    .footer-row {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }
    .footer-logo {
        grid-column: 1 / 5;
    }
}

@media (max-width: 600px) {
    .footer-row {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }
    .footer-logo {
        display: none;
    }

    .footer-social {
        grid-column: 1 / 6;
    }
}

@media only screen and (min-width: 1420px) {
    .burger {
       display: none;
    }
 }
@media only screen and (max-width: 1421px) {
    header ul.navigation {
       display: none;
    }
    .trueconnector_boxes {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        align-items: start;
        gap: 20px;
    }
 }

 @media only screen and (max-width: 1150px) {
    .trueconnector-container {
        grid-template-columns: 1fr;
    }
}

@media only screen and (min-width: 1450px) {
    .trueconnector-img img {
        max-width: 1300px;
    }
}

@media only screen and (max-width: 960px) {
    .tcbox {
        grid-template-columns: repeat(1, auto);
    }
    .sote_konsultointi > img {
        display: none;
    }
}


@media (max-width: 500px) {
    .copyright {
       font-size: 0.8em;
    }
 }

/* @media only screen and (min-width: 1370px) {
    .ratkaisut, .tcbox, .referenssit, .tietoa, .yhteystiedot {
        padding: 0 150px;
    }
} */