html, body {
    margin: 0; 
    padding: 0;
    height: 100%;
    text-align: center; background-color: #0F4C81;
    font-family: 'Rubik', sans-serif; 
    scroll-behavior: smooth; 
}

html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}


section { 
    min-height: 100%; 
}
a {
    text-decoration: none;
}
li{ 
    list-style-type: none;
}

h1, h2, h3, a {
    font-family:'Rubik', sans-serif; 
    font-weight: 400;
        color: #494949;
    text-transform: uppercase;
}

h2{color: #ED7000}
h3{color: #ED7000}

h3{
    font-size: 40px;
    padding-top: 8%;
    margin-bottom: 5px;
}

h4, p {
    font-family:'Rubik', sans-serif;
    color: white;
    text-align: left;
    
}

hr {
   width: 14.5em; 
    height: 4px; 
    background-color: #ED7000; 
    border: 0; 
    margin: 0 auto 40px auto;
    /* Gradient transparent - color - transparent */
        background-image: linear-gradient(to right, rgba(15, 76, 129), rgba(0, 0, 0, 0.0), rgba(15, 76, 129));
   
}
}

#logo, li, img, .button{
    transition: all 300ms;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -o-transition: all 300ms;
}


/* Header*************************************/

header {
    width: 100%; 
    height: 85px; 
    position: fixed; 
    background: #0f4c81; 
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); 
    z-index: 1;
}

#logo { 
    width: 65px; 
    float: left; 
    margin: 15px 15px 50px;
}


#logo img {
    width: 320%;
}

header nav { 
    float: right; 
    margin: 15px 50px 0 0;
}

header nav ul li {
    float: left; 
    margin-right: 20px;
}

header nav ul li a {
    font-size: 1.4em;
    color: #Ed7000;
}

/* HOME ****************************************/

#home {
    margin: 0 auto 0 auto;
    background: url(img/severin.jpg); 
    background-position: top; 
    background-size: cover; 
    background-attachment: fixed;
    min-height: 60%; 
    max-height: 100%;
}

#home h1 {
    margin:10em auto 0 auto;
    margin-bottom: auto;
    font-size: 85px;
    background-color: aliceblue;
    opacity: 0.6;
}

#home h2 {
    margin: 0 auto 0 auto;
    font-size: 50px;

}

#home img {
    width: 32px;
    margin-top: 150px;
    opacity: 0.7;
}

#home img:hover {
    opacity: 2;
}

/* ABOUT***************************************/

#about {
    min-height: 20%;
    background-color: #0F4C81;
}

#about h4 {
    font-size: 25px;
}

#about p {
    font-size: 35px;
    width: 750px;
    margin: 0 auto 0 auto;
}


/* vorher ***************************************/

#vorher {
    margin: auto; 
    min-height: 12%;
    background-color: #0F4C81;
}

#vorher p {
    font-size: 35px;
    width: auto;
    margin: 0 auto 0 auto;
    padding-left: 0;
    text-align: center;
}


#arbeit {
    width: 20em;
    margin: 0 auto 0 auto;
     transition: 0; 
    padding: auto;
    font-size: 35px;
}


#arbeit ul li {
    width: 90%;
    float: center;
    margin-bottom: 15px;
}

#arbeit hr {
    
   width: 14.5em; 
    height: 4px; 
    background-color: #ED7000; 
    border: 0; 
    margin: 0 auto 40px auto;
    /* Gradient transparent - color - transparent */
        background-image: linear-gradient(to right, rgba(15, 76, 129), rgba(0, 0, 0, 0.0), rgba(15, 76, 129));
     
    
}

/* Work ***************************************/

#work {
    margin: auto; 
    min-height: 30%;
    background-color: #0F4C81;
}

#work p {
    font-size: 35px;
    width: auto;
    margin: 0 auto 0 auto;
    padding-left: 0.5em;
}


#projekts {
    width: 20em;
    margin: 0 auto 0 auto;
     transition: 0; 
    padding: auto;
    font-size: 35px;
}

#projekts ul {
    padding: 0;
}

#projekts ul li {
    width: 50%;
    float: left;
    margin-bottom: 15px;
}

#projekts hr {
    
    width: 9em; 
    height: 4px; 
    background-color: #ED7000; 
    border: 0; 
    margin: 5px 45px 60px auto;
    /* Gradient transparent - color - transparent */
    background-image: linear-gradient(to right, 
        rgba(236, 111, 0), rgba(237, 112, 0), rgba(15, 76, 129));
     
    
}

/* CONTACT ****************************************/
#contact {
    min-height: 20%;
    background-color: #0F4C81;
}
#contact h2 {
         text-transform: none;
         color: white;
   
}
    
form input, textarea {
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    margin-bottom: 10px;
    border-radius: 2px;
    border: 2px solid;
    border-color: #494949;
}

form input:first-child {
    margin-top: 10px;
}

form input {
    width: 750px;
    height: 30px;
}

form textarea {
    width: 750px;
    height: 300px;
    resize: none;
}

.input_text{
    color: #494949;
    padding: 10px;
}

.button {
    
    background-color: #ED7000;
    color: black;
    width: 250px;
    height: 50px;
}

.button:hover {
    background-color: #494949;
    color: #f0f0f0;
}

/* FOOTER***********************************/

footer {
    width: 100%;
    height: 70px; 
    background-color: #ED7000;
    position: static; 
    bottom: 0; 
    left: 0;
}

footer p { text-align: center;
    font-size: 12px;
    color: #f0f0f0;
    padding: 30px;
    
}

footer #impressum{
    text-align: center;
    font-size: 12px;
    color: #f0f0f0;
    padding: 30px;
    float: right;
    
}

/* Desktop ****************************************/

 @media (min-width: 1025px){
     
     
/* HOME ****************************************/

     
             
#home {
    
    background-position: top right; 
    background-size: cover; 
    background-attachment: local;
    min-width: inherit;
    min-height: 100%; 
     margin: 0 250px 0 250px; 
    padding: 0px;
    height: 100%;
    
    
}

#home h1 {
    margin:9.5em auto 0 auto; 
    font-size: 65px; 
    background-color: aliceblue;
    opacity: 0.6;
}

#home h2 {
    margin: 0 auto 0 auto;
    font-size: 35px;
}
     
     #about p {
    font-size: 25px;
    width: 700px;
    margin: 0 auto 0 auto;
     }
  
    #work {
    margin: auto; 
    min-height: 20%;
    background-color: #0F4C81;
}

#work p {
    font-size: 35px;
    width: auto;
    margin: 0 auto 0 auto;
    padding-left: 0.5em;
}


#projekts {
    width: 20em;
    margin: 0 auto 0 auto;
     transition: 0; 
    padding: auto;
    font-size: 37px;
}

#projekts ul {
    padding: 0;
}

#projekts ul li {
    width: 50%;
    float: left;
    margin-bottom: 15px;
}

#projekts hr {
    
    width: 8.5em; 
    height: 3px; 
    background-color: #ED7000; 
    border: 0; 
    margin: 5px 30px 60px auto;
    
}
     
     #contact h3 {
         
    font-size: 40px;
    padding-top: 45%;
    margin-bottom: 5px;
   
}
      #contact h2 {
         text-transform: none;
          color: white;
   
}
  
}