/* cyrillic-ext */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Alegreya Sans Regular'), local('AlegreyaSans-Regular'), url(https://fonts.gstatic.com/s/alegreyasans/v9/5aUz9_-1phKLFgshYDvh6Vwt7VdtvXVX.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Alegreya Sans Regular'), local('AlegreyaSans-Regular'), url(https://fonts.gstatic.com/s/alegreyasans/v9/5aUz9_-1phKLFgshYDvh6Vwt7V5tvXVX.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Alegreya Sans Regular'), local('AlegreyaSans-Regular'), url(https://fonts.gstatic.com/s/alegreyasans/v9/5aUz9_-1phKLFgshYDvh6Vwt7VZtvXVX.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Alegreya Sans Regular'), local('AlegreyaSans-Regular'), url(https://fonts.gstatic.com/s/alegreyasans/v9/5aUz9_-1phKLFgshYDvh6Vwt7VltvXVX.woff2) format('woff2');
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Alegreya Sans Regular'), local('AlegreyaSans-Regular'), url(https://fonts.gstatic.com/s/alegreyasans/v9/5aUz9_-1phKLFgshYDvh6Vwt7VVtvXVX.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Alegreya Sans Regular'), local('AlegreyaSans-Regular'), url(https://fonts.gstatic.com/s/alegreyasans/v9/5aUz9_-1phKLFgshYDvh6Vwt7VRtvXVX.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Alegreya Sans Regular'), local('AlegreyaSans-Regular'), url(https://fonts.gstatic.com/s/alegreyasans/v9/5aUz9_-1phKLFgshYDvh6Vwt7VptvQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 2.3em;
    line-height: 1.6em;
    font-family: Arial black, sans-serif;
    font-weight: 100%;
    color: black;
    text-align: center;
}

h2 {
    font-size: 1.5em;
    line-height: 1.8em;
    font-family: Helvetica, sans-serif;
    font-weight: 100%;
    color: black;
    text-align: center;
}

h3 {
    font-size: 1.4em;
    line-height: 1.2em;
    font-family: Helvetica, sans-serif;
    font-weight: 100%;
    color: black;
    margin: 1.5em;
    text-align: center;
}

h4 {
    font-size: 200%;
    line-height: 155%;
    font-family: 'Alegreya', sans-serif;
    font-weight: 800;
    color: lightslategrey;
    padding-top: 3%;
    text-align: center;
}

p {
    font-size: 140%;
    line-height: 150%;
    font-family: 'Alegreya', sans-serif;
    font-weight: 100%;
    color: black;
    padding: 3%;
    text-align: left;
}

img {
    max-width: 100%;
    height: auto;
    width: auto;
    margin-bottom: -4px;
}

/*---Body---*/
body {
    font-size: 100%;
}

header {
    display: block;
    background: #86868b;
    width: 100%;
    height: auto;
}

/* Header und Navigation */
#header-inner {
    display: flex;
    justify-content: left; /* links*/
    align-items: left;     /* links */
    background-color: #9474FF;
    
}

nav ul {
    display: flex;           /* Flexbox für die Liste */
    justify-content: center; /* zentriert horizontal */
    flex-wrap: nowrap;       /* keine Zeilenumbrüche */
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 1em;        /* Abstand zwischen den Links */
    display: flex;           /* Flex-Item */
    align-items: left;     /* */
}

nav ul li a {
    color: #F5F5F5;
    text-decoration: none;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 140%;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #C3D7DF;
}

.current {
    color: #c3d7df;
}

/*--Navigation--*/
ul {
    list-style-type: none;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}


nav ul li a {
    color: #F5F5F5;
    text-decoration: none;
}

nav ul li a:hover {
    color: #C3D7DF;
}

.current {
    color: #c3d7df;
}

.inner-wrapper {
    float: left;
    width: 100%;
    background-color: #C3D7DF;
}

article {
    float: left;
    margin: 0 auto;
    width: 50%;
    height: auto;
}

#tablet {
    background-color: white;
}

aside {
    float: right;
    margin: 0 auto;
    width: 50%;
    height: auto;
}

#icon {
    font-family: Alegreya Sans;
    font-size: 140%;
    display: block;
    text-align: center;
    color: #1a8aea;
    text-decoration: none;
    padding: 1%;
}

#icon a:hover {
    color: #F5F5F5;
}

#tablet2 {
    background-color: #C3D7DF;
}

#mobile {
    background-color: #BEB9AD;
}

.inner-wrapper-2 {
    float: left;
    width: 100%;
    background-color: #BEB9AD;
}

/*-- Projects --*/
#Indroduction {
    display: block;
    background-color: darksalmon;
    text-align: center;
    padding: 1%;
}

.Projekt-Box {
    width: 100%;
    height: auto;
    text-align: center;
    background-color: #C3D7DF;
}

.buttonhalter {
    margin: 1em auto;
    padding: 5%;
    display: inline-block;
}

.buttonhalter:hover .button {
    background-color: grey;
    transform: translateY(-20px);
}

.button {
    margin: 0 auto;
    width: 18.75em;
    height: 18.75em;
    border-radius: 3em;
    background-color: #50BFE5;
    transition: all ease-in-out 0.4s;
}

.button:hover p {
    color: #DDD;
}

.button > p {
    color: white;
    font-size: 50px;
    font-family: sans-serif;
    text-align: center;
    line-height: 100px;
}

.buttonhalter2 {
    margin: 1em auto;
    padding: 5%;
    display: inline-block;
}

.buttonhalter2:hover .button2 {
    background-color: grey;
    transform: translateY(-20px);
}

.button2 {
    margin: 0 auto;
    width: 18.75em;
    height: 18.75em;
    border-radius: 3em;
    background-color: #B693DC;
    transition: all ease-in-out 0.4s;
}

.button2:hover p {
    color: #DDD;
}

.button2 > p {
    color: white;
    font-size: 50px;
    font-family: sans-serif;
    text-align: center;
    line-height: 100px;
}

.buttonhalter3 {
    margin: 1em auto;
    padding: 5%;
    display: inline-block;
}

.buttonhalter3:hover .button3 {
    background-color: grey;
    transform: translateY(-20px);
}

.button3 {
    margin: 0 auto;
    width: 18.75em;
    height: 18.75em;
    border-radius: 3em;
    background-color: #4DF79C;
    transition: all ease-in-out 0.4s;
}

.button3:hover p {
    color: #DDD;
}

.button3 > p {
    color: white;
    font-size: 50px;
    font-family: sans-serif;
    text-align: center;
    line-height: 100px;
}

summary:focus {
    outline: none;
    color: deepskyblue;
}

summary:hover {
    text-decoration: underline;
}

/*--Footer--*/
#smile {
    background-color: white;
    padding: 1% 0% 2%;
    clear: both;
}

footer {
    display: block;
    background-color: #6991AC;
    width: 100%;
}

.social {
    list-style-type: none;
    text-align: center;
}

.social li {
    display: inline-block;
}

.social i {
    font-size: 400%;
    margin: 14%;
    padding: 5% 5% 5% 4%;
    color: #C3D7DF;
}

.social i:hover {
    color: #F5F5F5;
}

#Kontakt1 {
    display: block;
    text-align: center;
    padding: 2%;
}

summary.clicked {
    background-color: #d0ebff;
    color: #0077cc;
    font-weight: bold;
    border-radius: 0.3em;
    padding: 0.5em;
}

/*---Box---*/
#Box-wrapper {
    display: block;
    background-color: #DDD;
    padding: 2%;
    margin: 3%;
}

#Box-wrapper ul li {
    color: black;
    text-decoration: none;
    font-family: 'Alegreya', sans-serif;
    font-size: 130%;
    display: block;
    margin-top: 0;
    padding-left: 3em;
    padding-bottom: 0.5em;
}

#Box-wrapper ul li a {
    color: black;
    text-decoration: none;
    font-family: 'Alegreya', sans-serif;
    font-size: 130%;
    display: block;
    margin-top: 0;
    padding-left: 3em;
    padding-bottom: 0.5em;
}

#Box-wrapper ul li a:hover {
    color: navy;
}

details {
    display: block;
}

button {
    display: block;
    background-color: white;
    float: right;
    padding: 0.3em;
}

#bt3 a {
    font-family: Alegreya Sans;
    text-decoration: none;
    color: royalblue;
    font-size: 130%;
}

#bt3 a:hover {
    color: skyblue;
}

/* Media-Query für kleine Bildschirme */
@media only screen and (max-width: 800px) {
   #header-inner {
    display: flex;
    justify-content: center; 
    font-size: 90%;
    }
    
    nav ul {
        flex-wrap: wrap;       /* bei sehr kleinen Handys Umbruch erlauben */ 
    }

    nav ul li {
        margin: 0.1em;         /* kleineren Abstand */    
    }
    
    nav ul li a{
        margin: 0.1em;         /* kleineren Abstand */    
        align-content: center;
    }

    article {
        width: 100%;
    }

    aside {
        width: 100%;
    }
}
