/* Alles Generelle ist hier*/
html, body{
  margin: 0;
  padding: 0;
  height: 100%;
  text-align: center;

}
html{
  min-width: 375px;
}

section{
  min-height: 100%;
  min-width: 100%;
}



#MainContent {
    flex-grow: 1;
    overflow-y: auto;
    text-align: center;
    min-width: 100%;
    padding-top:7%;
}

a{
  text-decoration: none;
}

li{
  list-style-type: none;
}

h1, h2, h3, a, p{
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #495472;
}



h2{
  color: #5d7177;
}
h3{
  font-size: 60px;
  padding-top: 5%;
  margin-bottom: 5px;
}

h4, p{
  font-family: 'Roboto Slab', serif;
  color: #494949;
}

hr{
  width: 30px;
  height: 3px;
  background: #494949;
  border: 0;
  margin: 0 auto 40px auto;
}

.fa-bars{
  display: none;
}

/* Header*/
header{
  width: 100%;
  height: 65px;
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.2);
  z-index: 1;
    flex-shrink: 0;
}

/* Animierte Übergänge */
#logo, li, img, .button, .fa-bars, .image-blurred-edge{
  transition: :all 300ms;
  -webkit-transition: all 30ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
}

/* TGM Logo inerhalb des Headers*/
/*#logo{
  width: 140px;
  float: left;
  margin: 3px 0px 0px 50px;
}

#logo img{
  height: 10%;
  width: 65%;
  float: left;
}

#logo:hover{
  opacity: 0.7;
}*/

/* Hide the navigation links by default for small screens */
#mainNav .nav-links {
  display: none;
  flex-direction: column;
  background-color: white;
  position: absolute;
  top: 65px; /* Adjust based on header height */
  right: 0;
  width: 100%;
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Show the navigation links when active (for small screens) */
#mainNav .nav-links.active {
  display: flex;
}

/* Style the toggle button */
#navToggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;#mainNav .nav-links {
  display: flex;
  flex-direction: row;
  position: static;
  box-shadow: none;
  width: auto;
}
  cursor: pointer;
}


/* Navigationsklaster im Header */
header nav {
  float: right;
  margin: 15px 15px 0 0;
}

header nav ul li{
  float: left;
  margin-left: 25px;
}

header nav ul li a{
  font-size: 16px;
}

header nav ul li:hover{
  padding-top: 5px;
}

/* HOME Section*/
#Home{
  background: url(../img/Home.jpg);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}
#Home h1 {
  margin: 240px auto 0 auto;
  font-size: 110px;
  color: #f0f0f0;
}

#Home h2{
  margin: 0 auto 0 auto;
  font-size: 25px;
  /*Ich habe mich hier für eine andere Farbe entschieden, da weiß nicht gut mit dem Hintergrund zusammenpasst.*/
  color: lightgreen;
  text-shadow: 1px 1px 2px black, 0 0 1em black, 0 0 0.2em;
}

#Home img{
  width: 32px;
  margin-top: 150px;
  opacity: 0.7;
}

#Home img:hover{
  opacity: 1;
}

/* ABOUT Section*/
#About h4{
  font-size: 25px;
}

#About p{
  width: 700px;
  margin: 0 auto 0 auto;
}

#About img{
  width: 240px;
  padding: 25px 0 50px 0;
}

/*Quelle: https://stackoverflow.com/questions/24709915/blur-the-edges-of-an-image-or-background-image-with-css*/
.image-blurred-edge {
    /*background: url(../img/port.jpg);*/
    /*width: 381px;*/
    /*height:333px;*/
    box-shadow: 0 0 16px 16px white inset;
    z-index: 1;
    align-items: center;
    margin: 0 auto 0 auto;
    margin-bottom: 25px;
}

.image-blurred-edge:hover{
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
}

/* Animationen der Bilder */
#About img:hover{
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
}

/*WORK Section*/
#Work{
  background-color: #f0f0f0;
}


/*Navigation*/

#wrap img{
  border-radius: 5px;
  margin-bottom: 50px;
  height: 90%;
}

/* Animationen der Bilder */
#wrap img:hover{
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
}

/* Contact Section */
form input, textarea{
  font-family: 'Roboto Slab', serif;
  font-size: 15px;
  margin-bottom: 10px;
  border-radius: 2px;
  border: 2px solid #494949;
  outline: none;
}

/* first-child bedeutet das erste Objekt von Contact */
form input:first-child{
  margin-top: 10px;
}

form input {
  width: 552px;
  height: 30px;

}

form textarea{
  width: 550px;
  height: 200px;
  resize: none;
}

#Contact img{
  width: 32px;
  margin-top: 150px;
  margin-bottom: 10px;
  opacity: 0.7;
}

#Contact table{
  margin: auto auto auto auto;
  height: 100%;
  width: 50%;
  margin-top: 10px;
  font-family: 'Roboto', sans-serif;
  line-height: 25px;

}
#Contact table tr:nth-child(even){
  background-color: #f2f2f2;
}

#Contact td {
  padding-top:20px;
  padding-bottom:20px;
  padding-right:20px;
  width:120%;
}

#Contact td:first-child {
  /*padding-left:20px;*/
  padding-right:0;
}

#Contact th{
  font-size: 20px;
  width: 25%;
}



.inpText{
  color: #494949;
  padding-left: 10px;
}

/*Farbe des Placeholder Textes */
::-webkit-input-placeholder {color: #999999;}
::-moz-placeholder {color: #999999;}
:-ms-input-placeholder {color: #999999;}
:-moz-placeholder {color: #999999;}

.button{
  background-color: #f0f0f0;
  color: #494949;
  width: 566px;
  height: 50px;
}

.button:hover{
  background-color: #494949;
  color: #f0f0f0;
}

/* FOOTER Section */
footer{
  width: 100%;
  height: 70px;
  background-color: #68696b;
}

footer p {
  font-size: 12px;
  color: #f0f0f0;
  padding-top: 30px;
}

footer nav {
  margin: 10px 50px 0 0;
  display: flex;
  justify-content: center;
  text-decoration: none;
}

footer nav ul li{
  float: left;
  margin-left: 25px;
}

footer nav ul li a{
  font-size: 16px;
}


.divider
{
	position: relative;
	margin-top: 1.5%;
  margin-bottom: 25px;
	height: 1px;
}

.div-transparent:before
{
	content: "";
	position: absolute;
	top: 0;
	left: 20%;
	right: 20%;
	width: 60%;
	height: 1px;
	background-image: linear-gradient(to right, transparent, rgb(48,49,51), transparent);
}


/*Media queries*/

/*tablets*/
@media screen and (max-width: 1024px){


  /*Header*/
  header{
    height: auto;
  }

  #logo{
    width: 100px;

  }

  #MainContent{
    padding-top: 13%;
  }


  header nav ul li{

  }

/*Home*/
  #Home h1{
    font-size: 70px;
    margin-top: 200px;
  }

  #Home h2{
    font-size: 22px;
  }

  h3{
    padding-top: 12%;
  }
 /*About*/
  #About p{
    width: 80%;
  }

/*Products*/


/*Contact*/
  form input, form textarea{
    width: 60%;
  }

  .button{
    width: 62%;
  }
}


@media screen and (max-width: 864px) {
  #navToggle {
    display: block;
  }

  #mainNav ul {
    display: none; /* Hide the default list */
  }
  .large-nav{
    display: none;
  }

  #MainContent{
    padding-top: 19%;
  }
}

/*Moblie*/
/* Da hier noch nicht mit Javascipt gearbeitet werden soll, habe ich die aufklappbare Navigationsleiste ausgelassen. */
@media screen and (max-width: 560px){
  #Home h1{
    font-size: 40px;
  }



  /*!*Header*!
  #logo{
    width: 200px;
    margin-left: 15px;
    margin-right: 15px;
  }

  #MainContent{
    padding-top: 14%;
  }

  header nav{
    margin: 0px;
    float: none;
  }
!*
  .fa-bars{
    font-size: 17px;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    text-align: right;
    float: right;
    margin: -12px 30px 0 0;
  }

  .fa-bars:hover{
    opacity: 0.7;
  }
*!
  header nav ul{
    hight: 0;
    overflow: hidden;
    margin: 0;
    padding:0;
  }
!*
  header nav ul.open{
    height: auto;
  }
*!
  header nav ul li{
    width: 100%;
    padding: 5px 0;
    margin: 0;
    font-size: 11px;
    border-top: 1px solid grey;
    border-left: 1px solid grey;
  }

  header nav ul li:hover{
    background-color: #eeeeee;
  }


  #Home h1{
    font-size: 40px;
    margin-top: 200px;
  }

  #Home h2{
    width: 70%;
    height: auto;
  }

  form input, form textarea{
    width: 70%;
  }

  .button{
    width: 73%;
  }*/


}
