@import url("reset.css");

/* oswald-regular - latin */
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/oswald-v49-latin-regular.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/oswald-v49-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/oswald-v49-latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/oswald-v49-latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/oswald-v49-latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/oswald-v49-latin-regular.svg#Oswald') format('svg');
    /* Legacy iOS */
}

/* oswald-700 - latin */
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/oswald-v49-latin-700.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/oswald-v49-latin-700.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/oswald-v49-latin-700.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/oswald-v49-latin-700.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/oswald-v49-latin-700.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/oswald-v49-latin-700.svg#Oswald') format('svg');
    /* Legacy iOS */
}

/* roboto-regular - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/roboto-v30-latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
    /* Legacy iOS */
}

/* roboto-italic - latin */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-italic.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/roboto-v30-latin-italic.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/roboto-v30-latin-italic.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/roboto-v30-latin-italic.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/roboto-v30-latin-italic.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/roboto-v30-latin-italic.svg#Roboto') format('svg');
    /* Legacy iOS */
}

/* roboto-700 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/roboto-v30-latin-700.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/roboto-v30-latin-700.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/roboto-v30-latin-700.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
    /* Legacy iOS */
}

/* roboto-700italic - latin */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700italic.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/roboto-v30-latin-700italic.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/roboto-v30-latin-700italic.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/roboto-v30-latin-700italic.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/roboto-v30-latin-700italic.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/roboto-v30-latin-700italic.svg#Roboto') format('svg');
    /* Legacy iOS */
}

.clear {
    clear: both;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto';
    font-size: 15px;
    line-height: 22px;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

header {
    background: url(../images/strandkoerbe-cuxhaven.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 350px;
    padding-bottom: 350px;
    padding-left: 10%;
    padding-right: 10%;
    text-align: center
}

.dropdown{
    display: none;
}

h1 {
    color: #fff;
    font-size: 50px;
    line-height: 58px;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: 'Oswald';
}

h2 {
    font-size: 30px;
    line-height: 36px;
    padding-bottom: 20px;
    text-transform: uppercase;
}

nav a:hover {
    color: #ff7b5e;
    transition: 0.3s;
}

a:hover {
    opacity: 0.7;
    transition: 0.3s;
}

.vektor {
    margin-top: -120px;
    width: 100%;
    height: 150px;
}

.vektor img {
    width: 100%;
    height: 100%;
}

#home h3{
    font-size: 20px;
    margin-top: 40px;
    color: #b73f26;
}

nav {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 50px;
}

nav ul {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 730px;
}

nav ul li {
    padding-left: 15px;
    padding-right: 15px;
    float: left;
}

#home .col{
    width: 33%;
    padding-right: 3%;
    float: left;
    margin-bottom: 30px;
    margin-top: 30px;
}


#home .col img{
    width: 100%;
}

b{
    font-weight: 700;
}

.small{
    font-size: 13px;
    color: #b73f26
}

nav ul li a {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
}

nav ul li a:hover{
    color: #ff7b5e
}

.sidenav {
    position: fixed;
    top: 0;
    margin-top: 50px;
    right: 0;
    margin-right: 5%;
}

.sidenav img {
    height: 20px;
    padding-right: 15px;
}

#home {
    padding-top: 50px;
    padding-bottom: 100px;
    padding-left: 15%;
    padding-right: 15%;
}

#home .col1 {
    float: left;
    padding-right: 2%;
    width: 30%;
    display: table;
    height: 500px;
}

#home .col2 {
    float: left;
    padding-left: 5%;
    width: 70%;
    height: 500px;
    display: table;
}
li a:hover, .dropdown1:hover .dropbtn1 {
  color: #ff7b5e;
}

li.dropdown1 {
  display: inline-block;
}

.dropdown-content1 {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content1 a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content1 a:hover {background-color: #f1f1f1;}

.dropdown1:hover .dropdown-content1 {
  display: block;
}

#home .col1 img {
    width: 100%;
}

.dropdown1 {
  position: relative;
  display: inline-block;
}

.dropdown1-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
  z-index: 1;
}

.dropdown1:hover .dropdown1-content {
  display: block;
}

#home h2 {
    color: #0b3467;
}

.center {
    display: table-cell;
    vertical-align: middle;
}


#home a {
    background: #b73f26;
    color: #fff;
    font-family: 'Oswald';
    text-decoration: none;
    padding: 8px;
    border-radius: 5px;
    font-size: 18px;
    text-transform: uppercase;
}

#leistungen {
    padding-bottom: 180px;
    padding-left: 15%;
    padding-right: 15%;
}

#leistungen h3 {
    font-size: 24px;
    line-height: 30px;
    padding-bottom: 10px;
    color: #0b3467;
    text-transform: uppercase;

}

#leistungen .col1 {
    width: 50%;
    padding-right: 5%;
    float: left;
    padding-bottom: 50px;
    height: 230px;
}

#leistungen .col1:before {
    content: url(../images/01.png);
    float: left;
    height: 230px;
    margin-right: 30px;
}

#leistungen .col2 {
    width: 50%;
    padding-left: 5%;
    float: left;
    padding-bottom: 50px;
    height: 230px;
}

#leistungen .col2:before {
    content: url(../images/02.png);
    float: left;
    height: 230px;
    margin-right: 30px;
}

#leistungen .col3 {
    width: 50%;
    padding-right: 5%;
    float: left;
    padding-bottom: 50px;
    height: 230px;
}

#leistungen .col3:before {
    content: url(../images/03.png);
    float: left;
    height: 230px;
    margin-right: 30px;
}

#home iframe{
    width: 100%;
    scrolling: yes
}

#leistungen .col4 {
    width: 50%;
    padding-left: 5%;
    float: left;
    padding-bottom: 50px;
    height: 230px;
}

#leistungen .col4:before {
    content: url(../images/04.png);
    float: left;
    height: 230px;
    margin-right: 30px;
}

#immobilienverkauf {
    background: url(../images/cuxhaven-immobilien.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -150px;
    padding-top: 250px;
    padding-bottom: 150px;
    text-align: center;
    color: #fff;
    padding-left: 15%;
    padding-right: 15%;
}

#immobilienverkauf a {
    background: #b73f26;
    color: #fff;
    font-family: 'Oswald';
    text-decoration: none;
    padding: 8px;
    border-radius: 5px;
    font-size: 18px;
    text-transform: uppercase;
}

#kontakt {
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 15%;
    padding-left: 15%;

}

#immobilie{
    background: #e6e6e6;
    padding-left: 15%;
    padding-right: 15%;
    padding-top: 100px;
    padding-bottom: 100px;
    text-align: center
}

#kontakt h2 {
    color: #0b3467;
}

#kontakt .col1 {
    width: 50%;
    float: left;
    padding-right: 3%;
    height: 630px;
    display: table;
}

#kontakt .col2 {
    float: left;
    padding-left: 3%;
    width: 50%;

    height: 630px;
    display: table;
}

#kontakt iframe {
    width: 100%;
    height: 630px;
}

#kontakt .col2 a {
    color: #0b3467;
    text-decoration: none;
}

#kontakt .col2 span {
    color: #d84627;
    font-weight: 700;
}

footer {
    background: #1c334e;
    color: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 15%;
    padding-right: 15%;
}

footer a {
    color: #ff7b5e;
    text-decoration: none;
}

footer .col1 {
    float: left;
    width: 50%;
    padding-right: 3%;
}

footer .col2 {
    float: left;
    width: 50%;
    padding-left: 3%;
}

.dse {
    position: fixed;
    bottom: 0;
    margin-right: 5%;
    right: 0;
    background: #b73f26;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: -10px;
    padding-bottom: 20px;
}

.dse a {
    font-family: 'Oswald';
    color: #fff;
    text-transform: uppercase;
    padding-left: 10px;
    padding-right: 10px;
}

/*---------------------------------------
MEDIA Queries | Tablet | Phone
---------------------------------------*/

@media screen and (max-width: 1120px) {
    .vektor {
        margin-top: -100px;
        height: 100px;
    }

    #immobilienverkauf {
        margin-top: -100px;
        padding-left: 10%;
        padding-right: 10%;
    }

    #home {
        padding-left: 10%;
        padding-right: 10%;
    }

    #leistungen {
        padding-left: 10%;
        padding-right: 10%;
    }

    #kontakt {
        padding-left: 10%;
        padding-right: 10%;
    }

    footer {
        padding-left: 10%;
        padding-right: 10%;
    }
}


@media screen and (max-width: 1080px){
    .sidenav img {
    height: 15px;
    padding-right: 15px;
}
    nav ul li {
    padding-left: 10px;
    padding-right: 10px;
    float: left;
}
    nav ul {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 850px;
}
}

@media screen and (max-width: 980px) {
    #leistungen .col1 {
        height: 280px;
    }

    #leistungen .col2 {
        height: 280px;
    }

    #leistungen .col3 {
        height: 280px;
    }

    #leistungen .col4 {
        height: 280px;
    }

    #leistungen .col1:before {
        height: 280px;
    }

    #leistungen .col2:before {
        height: 280px;
    }

    #leistungen .col3:before {
        height: 280px;
    }

    #leistungen .col4:before {
        height: 280px;
    }
}

@media screen and (max-width: 900px) {

    .dropbtn {
        background-color: #1c334e;
        color: white;
        padding: 16px;
        font-size: 16px;
        border: none;
        cursor: pointer;
    }

    .dropbtn:hover,
    .dropbtn:focus {
        background-color: #0b3467;
    }

    .dropdown {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999999;
        display: inline-block;
    }

    .dropdown-content {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background-color: rgba(11, 52, 103, 0.95);
        min-width: 160px;
        padding-top: 25vh;
        overflow: auto;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 9999999;
    }

    
    
    .dropdown-content a {
        color: #fff;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-transform: uppercase;
        
    }

    .dropdown a:hover {
        background-color: rgba(255, 255, 255, 0.12);
    }

    .show {
        display: block;
    }
    
    .col2 ul {
        list-style: disc;
        margin-left: 15px;
    }

    #leistungen .col1 {
        height: 200px;
        width: 100%;
        padding-left: 0%;
        padding-right: 0%;
    }

    #leistungen .col2 {
        height: 200px;
        width: 100%;
        padding-left: 0%;
        padding-right: 0%;
    }

    #leistungen .col3 {
        height: 200px;
        width: 100%;

        padding-left: 0%;
        padding-right: 0%;
    }

    #leistungen .col4 {
        height: 200px;
        padding-left: 0%;
        padding-right: 0%;
        width: 100%;
    }

    header {
        padding-top: 250px;
        padding-bottom: 250px;
    }

    h1 {
        font-size: 40px;
        line-height: 48px;
    }

    nav {
        display: none;
    }

    .sidenav {
        margin-top: 20px;
    }

    #home .col1 {
        display: none;
    }

    #home .col2 {
        padding-left: 0%;
        width: 100%;
        height: auto;
    }

    #kontakt .col1 {
        width: 100%;
        padding-right: 0%;
        height: auto;
    }

    #kontakt .col2 {
        padding-top: 20px;
        padding-left: 0%;
        width: 100%;
        height: auto;
    }

    footer .col1 {
        width: 100%;
        padding-right: 0%;
        margin-bottom: 20px;
    }

    footer .col2 {
        width: 100%;
        padding-left: 0%;
    }

    .dse {
        margin-right: 1%;
        border-radius: 5px;
        padding: 5px;
        margin-bottom: -10px;
        padding-bottom: 15px;
    }
}

@media screen and (max-width: 600px) {
    .vektor {
        margin-top: -60px;
        height: 60px;
    }

    h1 {
        font-size: 30px;
        line-height: 40px;
    }

    #immobilienverkauf {
        margin-top: -60px;
    }

    #leistungen .col1 {
        height: 260px;
    }

    @media screen and (max-width: 420px) {
        header {
            padding-top: 150px;
            padding-bottom: 150px;
        }

        .vektor {
            margin-top: -40px;
            height: 40px;
        }

        #immobilienverkauf {
            margin-top: -40px;
            padding-top: 100px;
            padding-bottom: 100px;
        }

        #leistungen .col1:before {
            display: none
        }

        #leistungen .col2:before {
            display: none
        }

        #leistungen .col3:before {
            display: none
        }

        #leistungen .col4:before {
            display: none
        }


h1 {
    font-size: 25px;
    line-height: 40px;
}

    }

    #leistungen .col2 {
        height: 260px;
    }

    #leistungen .col3 {
        height: 260px;
    }

    #leistungen .col4 {
        height: 260px;
    }
}
