/*Core Style*/
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #fff;
    font-size: 1em;
    line-height: 1em;
    text-align: center;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

h1, h2, h3 {
    margin: 0;
    padding: 1em 0;
    letter-spacing: 2px;
    line-height: 1;
}

p {
    margin: 0;
    padding: 1em 1em 2em 1em;
    font-family: Arial, Helvetica, sans-serif ;
    font-size: 17px;
    line-height: 1.3;
}

/*Nav Style*/

#topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #333;   
}


#topnav li {
    float: left;
}

#topnav li a  {
    display: block;
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

#topnav li a:hover:not(.active) {
    background-color: #666;
    transition: 0.3s ease;
}

#topnav li a.active {
    background-color: #4CAF50;
}

#topnav li.right {
    float: right;
}

/*Header Style*/

#showcase {
    min-height: 450px;
}

#showcase .bg-image {
    position: absolute;
    background: url(image/header.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 450px;
    z-index: -1;
    opacity: 0.8 ;
}
#showcase .btn {
    color: #fff;
    background-color: #333;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #fff;
    padding: 1em 2em;
    margin: .5em 0;
    opacity: 0.7;
    border-radius: 7px;
 }
 #showcase .btn:hover {
     background: #666;
     transition: 0.3s ease;
 }
#showcase h1 {
    line-height: 1em;
    padding-top: 100px;
    padding-bottom: 3em;
    color: #fff;
    font-size: 30px;
}

#showcase h2 {
    color: #fff;
}

#showcase-wrap {
    padding: 0 1.5em;
}

/*Headersecond Style*/

#showcasesecond {
    min-height: 300px;
}

#showcasesecond .bg-image {
    position: absolute;
    background: url(headersecond.JPG);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 450px;
    z-index: -1;
    opacity: 0.8 ;
}

/*Section A*/
#section-a {
    background-color: #fff;
    padding: 2em 1em;
    color: #000;
    border-bottom: 2px solid #999;
}

#section-a .content-text p {
    padding: 1em 1em;
}

#section-a .content-text a {
    text-decoration: none;
}

#section-a .content-text a:hover {
    color: #000;
}

#section-a q {
    font-size: 22px;
    font-family: arial italic;
}

/*Section B*/

#section-b {
    padding: 2em 1em 1em 1em ;
    background: #999999;
}
#section-b h3 {
    padding-top: 1em;
}

#section-b ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#section-b li {
    background-color: #fff;
    margin-bottom: 2em;
    box-shadow: 5px 5px 5px 5px #333;
}

#section-b .b-title {
    padding-top: 2em;
}
/*Sektion C*/
#section-c {
    padding: 0 1em 1em 1em;
    margin: 0;
    background: #fff;
}

#section-c a {
    text-decoration: none;
    color: #000;
}

.company-info {
    background: #4CAF50;
    padding: 2em;
    margin:0;
    border-radius: 10px;
    text-align: left;
}

.company-info ul {
    padding: 0;
}

.company-info li {
    list-style: none;
    line-height: 2;
}

.company-info h4,
.contact h4 {
    text-align: center;
}

.contact {
    background: #666;
    padding: 1em;
    margin: 1em 0;
    border-radius: 10px;
}

.img-company-info {
    width: auto;
    height: 250px;
    display: inline-block;
    border-radius: 5px;
}

#section-c .list-icon {
    height: 25px;
    width: auto;
    display: inline-block;
    padding-right: 1em;
}

/*Form styles*/
.contact form {
   display: grid;
}

.contact form label {
    display: block;
}
.contact form p {
    padding: 0 0 1em 0;
    margin: 0;
}
.contact form input {
    width: 60%;
    border-radius: 3px;
}

.contact form textarea {
    width: 80%;
    border-radius: 3px;
}

.form-button {
    background: #333;
    padding: 0.5em;
    border: none;
    color: #fff;
    border: 2px solid #333;
}

.form-button:hover {
    opacity: 0.7;
    border: 2px solid #333;
    transition: 0.2s ease;
}

/*Section D*/
#section-d {
    background: #999;
    padding: 2em 1em 1em;
}

#section-d ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

#section-d li {
    padding: 0;
}

.d-list-title {
    padding: 1em;
}
#section-d .btn {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    padding: 1em 1em;
    margin: 1;
    border-style: outset;
    border-color: #fff;
    border-radius: 5px;
 }
 #section-d .btn:hover {
     background: #a6a6a6;
     border-style: inset;
     border-color: #fff;
     transition: 0.3s ease;
 }

 #section-d .img-d {
    padding: 0;
    margin: 0;
    border-radius: 5px;
    width: 50%;
    border: 2px solid #666;
    display: inline-block;
 }

 #section-d .img-d:hover {
     opacity: 0.7;
     transition: 0.3s ease;
 }

 /*Section E*/
 #section-e {
     background: #fff;
     padding: 1em 1em 0 1em;
     margin: 0;
 }

 #section-e ul {
     list-style: none;
 }

 #section-e li {
     padding: 2em;
     text-align: center;
     position: relative;
 }

.drop-text {
    display: none;
    position: absolute;
    background-color: #cccccc;
    box-shadow: 0px 10px 20px 10px #333;
    border-radius: 5px;
    min-width: 13em;
    z-index: 1;
    padding: 1em 1em;
    left: -4em;
 }
 .drop-text p {
     padding: 1em;
 }

 .e-list-wrap:hover .drop-text {
     display: inline-block;
 }



/*Footer*/

#main-footer {
    padding: 1em 2em 1em 1em;
    background: #333;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    margin: 0;
    }

/*Media Queries*/

@media screen and (max-width: 700px){
    #topnav li.right, 
    #topnav li {
        float: none;
    }
    #section-e,
    #showcasesecond  {
        display: none;
    }

    .company-info ul {
        text-align: left;
        width: 230px;
        margin-left: auto;
        margin-right: auto;
    }
    
}

@media screen and (min-width: 700px){
    .grid {
        display: grid;
        grid-template-columns: 1fr repeat(2, minmax(auto, 30em)) 1fr;
    }

    #section-a .content-text,
    #section-b .content-text {
        columns: 2;
        column-gap: 2em;
        text-align: left;
        padding: 1em;
    }

    #section-a .content-text p {
        padding-top: 0;
    }
    .content-wrap, 
    #section-b ul,
    #section-d ul,
    #section-e ul,
    #main-footer div {
        grid-column: 2/4;
    }

    #section-d ul,
    #section-e ul {
        display: flex;
        justify-content: space-around;
    }

    #section-d li {
        width: 25%;
        margin: 0;
        padding: 0;
    }

    #section-e li {
        width: 20%;
    }

    #showcase {
        height: 600px;
    }

    #showcase .bg-image {
    height: 600px;
    }

    #showcase h1 {
        padding-top: 200px; 
    }

    .twobox {
        display: grid;
        grid-column: 2/4;
    }

    .contact form input {
        width: 30%;
        border-radius: 3px;
    }

    .contact form textarea {
        width: 40%;
        border-radius: 3px;
    }

    .company-info {
        display: flex;
        justify-content: space-around;
        padding: 1em 5em;
    }

    .company-info ul {
        width: 50%;
    }

    #section-d .img-d {
       width: 100%;
     }
}