@charset "utf-8";
 
/*
* CSS-Design
* Schubi-Electricidad
*/

/* Webfonts-Einbindung */
/* comic-neue-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Comic Neue';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/comic-neue-v8-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* comic-neue-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Comic Neue';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/comic-neue-v8-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* comic-neue-700italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Comic Neue';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/comic-neue-v8-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
 
/* Reset * * * * * * * * */
*{
margin: 0;
padding: 0;
-mozbox-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
    
.wrapper{
    max-width: 100%;
    padding: 0 25px 0px 25px;
    margin: 0 auto 0 auto;
    text-align: center;
}

.wrapper1250{
    max-width: 1250px;
    padding: 25px 25px 0px 25px;
    margin: 0 auto 25px auto;
    text-align: center;
    }

.column {
    float: left;
    margin: 25px 0 25px 5%;
    padding: 25px 0;
    text-align: center;
}

.navcolumn {
    max-width: 1250px;
    float: left;
    margin: 0 0 25px 5%;
    padding: 25px 0;
    text-align: center;
    animation: fade-up 2s;
}

.column:first-child{
    margin-left: 0;
}

.navcolumn:first-child{
    margin-left: 0;
}
 
/* Clearfix */
.row:before,
.row:after {
content: " ";
display: table;
}
 
.row::after {
clear: both;
}
 
/*
.row{
background: #aaa;
margin: 20px 0;
}
*/
 

 
/* Raster */
 
.col_1{
width: 100%;
}
 
.col_1_2{
width: 47.5%;
}

.col_1_3{
width: 30%;
}

.col_1_4{
width: 21.25%;
animation: fade-up 2s;
}

.col_3_4 {
	width: 73.75%;
}



/* Drop-Down-Menu */

#navigation{
    list-style: none;
}

#navigation li a{ 
    display: block; 
}

#navigation ul {
    display: none;
    list-style: none;
    padding: 15px;
    line-height: 40px;
    box-shadow:0px 5px 5px  grey;
}

#navigation li:hover ul{
    display:block;
}



/* Responsive Navigation */

.mobile {
    display: none;
}

nav {
    /* display: none; */
    height: 0;
    transition:height .2s ease-in-out;
    overflow:hidden;
}

#nav-open:target nav {
    /* display: block; */
    height: 500px;
}

.nav-toggle {
    background: #ddd;
    padding: 10px 15px;
    border: black 2px solid;
    color:black;
}

li{
    list-style: none;
}



/* Slider */

#slider{
    margin-top: 70px;
}

.slick-prev::before,
.slick-next::before {
    display: block;
    width: 20px;
    height: 20px;
    background-color: #ddd;
    color: red;
    border-radius: 20%;
    border: red 1px solid;
    margin-block-end: 20px;
}

.slick-dots li button::before {
  font-size: 26px;
}

.slider_img {
    border-radius: 20px;
    width: 100%;
}



/* Kontaktformular */
.form a{
    text-align: center;
}

.form p{
    text-align: left;
}

form label { 
    display: block;
    font-weight: 600;
}
     
input[type='text'],input[type='checkbox'], input[type='radio'],input[type='email'],textarea, select {
    margin: 10px 0;
}
     
input[type='text'], input[type='email'], textarea, select {
    width: 100%;
    border: 1px solid #999;
    padding: 5px;
    font: 400 1.125rem/1.55 'Fira Sans', Helvetica, Arial, sans-serif;
    border-radius: 5px;
}
     
textarea {
    height: 200px;
}
     
input:hover, textarea:hover, input:focus, textarea:focus {
    border: 2px solid red;
}
     
input[type='submit']{
    text-decoration: none;
    font-size: 23px;
    margin-bottom: 20px;
    color: red;
    background-color: white;
    padding: 10px;
    border:red 2px solid;
    border-radius: 25px;
}
     
input[type='submit']:hover{
    background-color: red;
    color: white;
    border-color: white;
}
  
.formular{
    padding-top: 20px;
    text-align: left;
}



/* totop */

#totop {
    display: none;
    text-decoration: none;
    background: #ddd;
    color: red;
    padding: 5px 10px;
    border: 2px solid red;
    border-radius: 10px;
    font-size: 28px;
    line-height: 1;
    position: fixed; 
    right: 30px; 
    bottom: 30px; 
}
  
#totop:hover { 
    text-decoration: none;
    color: #ddd;
    border-color: #ddd; 
    background: red; 
}



/* Typografie */

html{
    scroll-behavior: smooth;
}

.body{
    color: black;
}

.first{
    margin-top: 50px;
}

.space{
    height: 600px;
    width: 100%;
}

.last{
    margin-bottom: 50px;
}

.underline{
    text-decoration: underline;
}

.colored{
    background: #ddd;
}

.active{
    color: red;
}

.colorlink{
    color: white;
}

.wide{
    width: 100%;
}

img{
    max-width: 100%;
    height: auto;
    border: 1px solid;
    border-color: white;
}

.humanbackground{
    padding: 25px;
    background: #888 url('../img/Elektriker.png') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

.electricbackground{
    padding: 25px;
    background: #888 url('../img/Relais.png') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: white;
}

p{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    line-height: 35px;
}

.left{
    text-align: left;
}

.button{
    color: red;
    background-color: white;
    padding: 10px;
    border: 2px solid;
    border-radius: 25px;
}

.redbutton{
    color: white;
    background-color: red;
    padding: 10px;
    border: 2px solid;
    border-radius: 50px;
}

.button:hover{
    padding: 20px;
    border: 2px solid;
    border-radius: 50px;
    }

.redbutton:hover{
    color: white;
    padding: 20px;
    border: 2px solid;
    border-radius: 50px;
}

a{
    color: black;
    text-decoration: none;}

a:hover{
    color: red;
}
    
h1{
    font-family: 'Comic Neue','Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: red;
    text-decoration: none;
    font-size: 55px;
    border-bottom: 1px solid;
    width: 100%;
    border-color: black;
    animation: fade-up 2s;
}
    
h2{
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 30px;
    line-height: 40px;
    width: 100%;
    padding: 5px;
    border: 2px solid;
}

.colored h2{
    border: none;
    padding: 0px;
    line-height: normal;
}
    
h3{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 25px;
}

iframe{
    max-width: 100%;
    height: 500px;
}

.ausblenden{
    display: none;
}



/* Media Queries */
 
@media only screen and (max-width: 950px) {

.col_1, .col_1_2, .col_1_3, .col_2_3, .col_1_4, .col_3_4, .col_1_2 {
    width: 100%;
}

.column{
    margin-left: 0;
}

.navcolumn{
    margin-left: 0;
}

h1{
    font-size: 45px;
}

h2{
    font-size: 30px;
}

h3{
    font-size: 23px;
}

p{
    font-size: 17px;
}



/* Responsive Navigation */
.mobile {
    display: block;
}

.fullsize {
    display: none;
}

.nav-toggle {
	display: block;
}
	
#nav-open:target .nav-closed {
	display: block;
}

.nav-closed,
#nav-closed:target .nav-closed,
#nav-open:target .nav-open {
	display: none;
}

#nav-open:target nav {
	height: 200px;
}
	
#mobilenavigation {
	margin-top: 15px;
}
	
#mobilenavigation li {
    padding: 5px;
	display: block;
	margin-left: 0;
	text-align: left;
}
}



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

    h1{
        font-size: 40px;
    }

    h2{
        font-size: 25px;
    }

    h3{
        font-size: 20px;
    }
    }



/* Keyframes */

@keyframes fade-up{

    0%{
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100%{
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
  }