/* Reset */

* {
    margin: 0px;
    padding: 0px; 
    outline: none;
    border: 0px;
    box-sizing: border-box;
}

/*  Set */

html, body {
    overflow-x: hidden;
}

html {
    font-family: 'Roboto', sans-serif;
}

h1 {
    font-size: 2em;
}

p {
    font-size: 1.4em;
    font-weight: 300;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: white;
}

a:hover {
    color: rgba(84,162,219,1);
}

/*  Grid Layout   begin   */

.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

[class*="col-"] {
    float: left;
    padding: 15px;
    /*border: 1px solid red;*/
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

/*  Grid Layout   end   */

/*  Mobile Setup    */

.show-mobile{
    display: none;
}

#hamburger {
    visibility: hidden;
}

.mobile-navbar {
    visibility: hidden;
}

.social-media-mobile {
    display: none;
}


/* Desktop Navigation */

.nav { 
    float: left;
    overflow: hidden;
    position: fixed;
    width: 100%;
    display: inline-block;
    text-align:center; 
    z-index: 100;
}

.links {
    display: inline-block;
    vertical-align: top;
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    margin-right: 20px;
    height: auto;        /* if you want it to take the full height of the bar */
    margin-top: 12px;    /* if you want it vertically middle of the navbar */
    margin-bottom: 12px;
    padding: 10px;
    
}


.active {
    color: rgba(84,162,219,1);
    outline: 2px solid rgba(84,162,219,1);
   
}

#navlogo {
    display: inline-block;
    vertical-align: top;
    width: 50px;
    height: 50px;
    margin-top: 10px;
    margin-right: 20px;
}

/*  Mobile Navigation   */

.mobile-navbar {
    position: fixed;
    z-index: 1000;
    height: 60px;
    width: 100%;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#mobile-navlogo{
    width: 2.5em;
    height: 2.5em;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 5px;
    
    resize: vertical;
}

/* Hamburger Menu */

/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */    
    height: 0;
    width: 100%;
    position: fixed; /* Stay in place */
    z-index: 1000000000; /* Sit on top */
    left: 0;
    top: 0;
    background-color: #283237; /* Black fallback color */
    background-color: rgba(40,50,55, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #FFFFFF;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
    color: rgba(84,162,219,1)
}

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

#hamburger {
    position: fixed;
    top: 0;
    right: 0;
    margin-top: 0;
    margin-right: 2.5%;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 1000000;
}


/*  Desktop */

/*Home*/
.home {
    height:100vh;
    width: 100vw;
    margin: 0px;
}

#home-logo{
    position: absolute;
    width: 40%;
    bottom: 50%;
    left: 30%;
}

#home-text {
    position: absolute;
    width: 65%;
    top: 55%;
    left: 17.5%;
    padding: .1em;
    background-color: rgba(79, 109, 122, .8);
    color: white;
    font-style: italic;
    font-size: 2em;
    text-align: center;
    
}

.slide-show {
    position: relative;
}

.slide-show img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

/*About Me*/
.aboutme {
    height:100vh;
    width: 100vw;
    color: white;
    background: #4F6D7A;
    margin: 0px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

.aboutme img {
    max-width: 80%;
    float: right;
    resize: vertical;
}

.aboutme p {
    margin-top: 3%;
    margin-right: 20%;
    margin-bottom: 3%;
}

#button-center {
    text-align: center;
}

#button-kontakt {
    margin-right: 20%;
    font-size: 1.3em;
    padding: 10px;
    background-color: rgba(84,162,219,1);
    color: white;
    
}

#button-kontakt:hover {
    background-color: white;
    color: rgba(84,162,219,1);
}

/*Personal Training*/
.personaltraining {
    height:100vh;
    width: 100vw;
    color: white;
    background: #283237;
    
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.personaltraining img {
    width: 80%;
    resize: vertical;
}

.personaltraining h1{
    margin-left: 20%;
}

.personaltraining p {
    margin-top: 3%;
    margin-left: 20%;
    float: right;
}

/*Ernährung*/
.ernaehrung {
    height:100vh;
    width: 100vw;
    color: white;
    background: #4F6D7A;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ernaehrung img {
    max-width: 80%;
    float: right;
    
    resize: vertical;
}

.ernaehrung h1{
    margin-right: 20%;
}

.ernaehrung p {
    margin-top: 3%;
    margin-right: 20%;
}

/*Lifestyle*/
.lifestyle {
    height:100vh;
    width: 100vw;
    color: white;
    background: #283237;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lifestyle img {
    max-width: 80%;
    
    resize: vertical;
}

.lifestyle h1 {
    margin-left: 20%;
}

.lifestyle p {
    margin-top: 3%;
    margin-left: 20%;
}

/*Leistungen*/
.leistungen {
    height:100vh;
    width: 100vw;
    color: white;
    background: #4F6D7A;
    
}

.leistungen h1 {
    margin-top: 100px;
    margin-left: 10%;
}

.leistungen p {
    margin-top: 1.5%;
    margin-left: 10%;
    margin-right: 10%;
}

#video {
    margin-top: 2%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*Gewichtheben*/
.gewichtheben {
    height:100vh;
    width: 100vw;
    color: white;
    background: #283237;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gewichtheben img {
    max-width: 80%;
    resize: vertical;
    float: right;
}

.gewichtheben p {
    margin-top: 3%;
    margin-right: 20%;
}

#gewichtheben-arrow {
    position: absolute;
    bottom: -497%;
}

/*Crossfit*/
.crossfit {
    height:100vh;
    width: 100vw;
    color: white;
    background: #4F6D7A;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.crossfit img {
    max-width: 80%;
    resize: vertical;
}

.crossfit h1 {
    margin-left: 20%;
}

.crossfit p {
    margin-top: 3%;
    margin-left: 20%;
}

/*Kettlebell*/
.kettlebell {
    height:100vh;
    width: 100vw;
    color: white;
    background: #283237;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kettlebell img {
    max-width: 80%;
    resize: vertical;
    float: right;
}

.kettlebell p {
    margin-top: 3%;
    margin-right: 20%;
}

/*Kontakt*/
.kontakt {
    height:100vh;
    width: 100vw;
    color: white;
    background: #4F6D7A;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    position: relative;
}

.kontakt img {
    max-width: 80%;
    resize: vertical;
}

#formular {
    padding-left: 10%;
}

#formular form {
    margin-top: 3%;
}

/* Kontaktformular */
input[type=text], select, textarea {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */  
    border: 1px solid #ccc; /* Gray border */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}
input[type=email] {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */  
    border: 1px solid #ccc; /* Gray border */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
}

/* Style the submit button with a specific background color etc */
input[type=button] {
    float: right;
    background-color: rgba(84,162,219,1);
    color: white;
    padding: 12px 20px;
    width: 10em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=button]:hover {
    color: rgba(84,162,219,1);
    background-color: white;
}

#nachricht {
    height: 200px;
}


/*Footer*/
.footerbar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: #283237;
    
}

.footerbar li {
    margin-top: 20px;
    margin-left: 15px;
    display: inline-block;
}

.footer-links {
    float:right;
    margin-right: 15px;
}

.social-media {
    margin-left: 43.5%;
    margin-top: -30px;
}

.centre {
    display: inline-block;
    width: 55px;
}

.social-media a:hover{
    color: rgba(84,162,219,1);
}

#copyright {
    color: #4F6D7A;
}

/* Impressum */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #283237;;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid rgba(84,162,219,1);
    width: 80%; /* Could be more or less, depending on screen size */
    color: white;
}

.modal-content p {
    font-size: 1em;
}

.close {
    font-size: 30px;
    float: right;
    cursor: pointer;
    color: #ffffff;
}

/* Color Change Navigation on section*/
.midnightHeader.light-blue {
  background: #4F6D7A;
}

.midnightHeader.dark-blue {
  background: #283237;
}

/*Autoscroll Arrow*/
.scroll-down {
  opacity: 1;
  -webkit-transition: all .5s ease-in 3s;
  transition: all .5s ease-in 3s;
}

.scroll-down {
  position: absolute;
  bottom: 25px;
  left: 50%;
  margin-left: -16px;
  display: block;
  width: 40px;
  height: 40px;
  border: 2px solid #FFF;
  background-size: 14px auto;
  border-radius: 50%;
  z-index: 2;
  -webkit-animation: bounce 2s infinite 2s;
  animation: bounce 2s infinite 2s;
  -webkit-transition: all .2s ease-in;
  transition: all .2s ease-in;
}

.scroll-down:before {
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 11px);
    transform: rotate(-45deg);
    display: block;
    width: 20px;
    height: 20px;
    content: "";
    border: 2px solid white;
    border-width: 0px 0 2px 2px;
}

@keyframes bounce {
  0%,
  100%,
  20%,
  50%,
  80% {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
  }
  60% {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}



/*  Smartphone  -   portrait*/

@media only screen and (max-width:600px) {
    
    [class*="col-"] {
        float: left;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .hide-mobile {
        display: none;
    }
    
    .show-mobile{
        display: inline-block;
    }
        
    #home-logo{
        position: absolute;
        width: 60%;
        bottom: 50%;
        left: 20%;
    }
    
    .aboutme img{
        width: 50%;
        float: left;
        padding-right: 5%;
    }
    
    .aboutme h1 {
        padding-left: 5%;
    }
    
    .aboutme p {
        padding-left: 5%;
        margin-right: 5%;
        padding-bottom: 5%;
        font-size: 1em;
        
    }
    
    #button-kontakt {
        margin: 0;
        font-size: 1.2em;
        padding: 5px;
        background-color: rgba(84,162,219,1);
        color: white;
    
    }
    
    .personaltraining h1 {
        margin: 0;
        padding-left: 5%;
        padding-bottom: 3%;
    }
    

    .personaltraining p {
        margin: 0;
        padding-left: 5%;
        margin-right: 5%;
        font-size: 1em;
    }
    
    .ernaehrung h1 {
        margin: 0;
        padding-left: 5%;
        padding-bottom: 3%;
    }
    

    .ernaehrung p {
        margin: 0;
        padding-left: 5%;
        margin-right: 5%;
        font-size: 1em;
    }
     
    
    .lifestyle h1 {
        margin: 0;
        padding-left: 5%;
        padding-bottom: 3%;
    }
    

    .lifestyle p {
        margin: 0;
        padding-left: 5%;
        margin-right: 5%;
        font-size: 1em;
    }
    
    .leistungen {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .leistungen h1 {
        margin: 0;
        padding-left: 5%;
        padding-bottom: 3%;
    }
    

    .leistungen p {
        margin: 0;
        padding-left: 5%;
        margin-right: 5%;
        font-size: 1em;
        
        resize: vertical;
    }
    
    .gewichtheben h1 {
        margin: 0;
        padding-left: 5%;
        padding-bottom: 3%;
    }
    

    .gewichtheben p {
        margin: 0;
        padding-left: 5%;
        margin-right: 5%;
        font-size: 1em;
    }
    
    .crossfit h1 {
        margin: 0;
        padding-left: 5%;
        padding-bottom: 3%;
    }
    

    .crossfit p {
        margin: 0;
        padding-left: 5%;
        margin-right: 5%;
        font-size: 1em;
    }
    
    .kettlebell h1 {
        margin: 0;
        padding-left: 5%;
        padding-bottom: 3%;
    }
    

    .kettlebell p {
        margin: 0;
        padding-left: 5%;
        margin-right: 5%;
        font-size: 1em;
    }
    
    .kontakt {
        height: 120vh;
    }
    
    #formular {
        margin: 0;
        padding: 5%;
    }
    
    #nachricht {
        height: 170px;
    }
    
    #copyright {
        display: none;
    }
    
    .social-media {
        display: block;
        margin: 0;
        margin-left: 3%;
        margin-top: 2%;
    

    }
    
    
}


/*  Tablet  -   portrait */
@media only screen and (min-width: 601px) and (max-width: 800px) {
    
    .hide-portrait {
        display: none;
    }
    
    .nav {
        visibility: hidden;
    }
    #hamburger {
        visibility: visible;
    }
    
    .mobile-navbar {
        visibility: visible;
    }
    
    #navlogo {
    width: 40px;
    height: 40px;
    }   
    
    #gewichtheben-arrow {
    position: absolute;
    bottom: -297%;
}
    
    p {
        font-size: 1em;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    .personaltraining {
        height: 33.3333vh;
    }

    .personaltraining img {
        width: 70%;
    }

    .personaltraining h1{
       margin-left: 30%;
    }

    .personaltraining p {
        margin-left: 30%;
        font-size: 1.0em;
    }

    .ernaehrung {
        height:33.3333vh;
        background: #283237;
    }

    .ernaehrung img {
        width: 70%;
    }

    .ernaehrung h1{
        margin-right: 30%;
    }

    .ernaehrung p {
        margin-right: 30%;
        font-size: 1.0em;
    }

    .lifestyle {
        height:33.3333vh;
    
    }

    .lifestyle img {
        width: 70%;
    }

    .lifestyle h1 {
        margin-left: 30%;
    }

    .lifestyle p {
        margin-left: 30%;
        font-size: 1.0em;
    }
    
    .gewichtheben {
        height: 33.3333vh;
    }

    .gewichtheben img {
        width: 70%;
    }

    .gewichtheben h1{
    }

    .gewichtheben p {
       margin-right: 30%;
        font-size: 1.0em;
    }

    .crossfit {
        height:33.3333vh;
        background: #283237;
    }

    .crossfit img {
        width: 70%;
    }

    .crossfit h1{
        margin-left: 30%;
    }
    
    .crossfit p {
        margin-left: 30%;
        font-size: 1.0em;
    }

    .kettlebell {
        height:33.3333vh;
    }

    .kettlebell img {
        width: 70%;
    }

    .kettlebell h1 {
    }

    .kettlebell p {
        margin-right: 30%;
        font-size: 1.0em;
    }
    
}

/* Tablet - Desktop */
/* Resize Logo & Change to mobile navbar */

@media screen  and (max-width: 1023px)  {
    
    .nav {
        visibility: hidden;
    }
    #hamburger {
          visibility: visible;
    }
    
    .mobile-navbar {
        visibility: visible;
    }
    
    
    .links {
    display: inline-block;
    vertical-align: top;
    color: white;
    text-decoration: none;
    font-size: 1.3em;
    margin-right: 5px;
    height: auto;        /* if you want it to take the full height of the bar */
    margin-top: 10px;    /* if you want it vertically middle of the navbar */
    margin-bottom: 10px;
    padding: 10px;
    
}
    #navlogo {
    width: 40px;
    height: 40px;
}
    
    p {
        margin: 0;
        resize: none;
        font-size: 1.3em;
    }
    
    #home-logo {
        width: 65%;
        bottom: 50%;
        left: 17.5%;
    }
    
}








