/*Grunddesign*/

.column-left {
    width: 20%;
    margin-left: 0;
}

.column-mid {
    width: 60%;
    height: 100%;
    padding-bottom: 5%;
}

.column-right {
    width: 20%;
}

#container h1{
    margin-bottom: 3%;
}

#container p{
    margin-bottom: 3%;
}

/*Mouse_Over_Effekt Linkseite*/
.container_links {
    display: inline-block;
    position: relative;
    width: 33.33%;
    float: left;
    padding: 5px;
    align-content: center;
}

.image {
    float: left;
    display: block;
    width: 100%;
    height: auto;
    padding: 5px;
    border: solid 1px #ffffff;
    box-shadow: 0px 0px 5px #aaa;
    border-radius: 0 2px 2px 0;
    transition: 0.6s ease;
}

#overlay {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background-size: 95%;
    background-image: url("../img/overlay.png");
    text-indent:-9999px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: .7s ease-in;
}

.container_links:hover #overlay {
    opacity: 0.7;
}



.container_links:hover .container_links {
    background-color: #000000;
}

.side_link {
    color: #000000;
    font-size: 14px;
    padding: 8px 12px;
    position: absolute;
    text-align: left;
    top: 7%;
    left: 6%;
    padding-right: 6%;
    opacity: 0;
    transition-property: opacity;
    transition: 0.7s ease-in;
}

.container_links:hover .side_link {
    opacity: 1;
}

.side_text {
    color: #000000;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 35%;
    left: 6%;
    padding-right: 6%;
    opacity: 0;
    text-align: left;
    transition-property: opacity;
    transition: 0.7s ease-in;
}

.container_links:hover .side_text {
    opacity: 1;
}

@media screen and (min-width: 1800px) {
    #overlay {
        width: 98%;
    }

    .container_links:hover #overlay {
        height: 98%;
    }

    .side_link {
        font-size: 18px;
        top: 7%;
        left: 6%;
    }

    .side_text {
        font-size: 16px;
        top: 35%;
        left: 6%;
    }
}

@media only screen and (max-width: 1400px) {
    .container_links {
        display: inline-block;
        position: relative;
        width: 49%;
        float: left;
        padding: 5px;
        align-content: center;
    }

    .side_link {
        font-size: 16px;
        top: 7%;
        left: 6%;
    }

    .side_text {
        font-size: 14px;
        top: 35%;
        left: 6%;
    }
}

@media only screen and (max-width: 1100px) {
    .container_links {
        display: inline-block;
        position: relative;
        width: 49%;
        float: left;
        padding: 5px;
        align-content: center;
    }

    .side_link {
        font-size: 14px;
        top: 7%;
        left: 3%;
    }

    .side_text {
        font-size: 12px;
        top: 35%;
        left: 3%;
    }
}

@media only screen and (max-width: 900px) {

    section {
        text-align: left;
    }

    #container{
        padding-top: 70px;
    }

    #container h1 {
        font-size: 24px;
    }

    .column-left {
        width: 2%;
    }

    .column-right {
        width: 2%;
    }

    .column-mid {
        width: 96%;
    }

    .column-mid h2 {
        font-size: 24px;
    }

    .container_links {
        display: table;
        position: relative;
        width: 100%;
        float: inherit;
        padding: 0;
        padding-bottom: 10px;
        align-content: center;
    }

    #overlay {
        width: 99%;
    }

    .container_links:hover #overlay {
        height: 99%;
    }

    .side_link {
        font-size: 22px;
        top: 7%;
        left: 6%;
    }

    .side_text {
        font-size: 18px;
        top: 25%;
        left: 6%;
    }
}


@media screen and (max-width: 600px) {

    #overlay {
        width: 99%;
    }

    .container_links:hover #overlay {
        height: 99%;
    }

    .side_link {
        font-size: 18px;
        top: 7%;
        left: 6%;
    }

    .side_text {
        font-size: 16px;
        top: 35%;
        left: 6%;
    }
}


@media screen and (max-width: 400px) {

    #overlay {
        width: 98%;
    }

    .container_links:hover #overlay {
        height: 98%;
    }
}

