/* ------------------ Schriften ------------------ */

@font-face {
    font-family: 'Roboto-Condensed';
    src: url('../fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Roboto-Condensed-Bold';
    src: url('../fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf') format('truetype');
}

@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
    html {
      transform: rotate(-90deg);
      transform-origin: left top;
      width: 100vh;
      overflow-x: hidden;
      position: absolute;
      top: 100%;
      left: 0;
    }
  }


/* ------------------ Elemente ------------------ */

body {
    width: 100%;
    height: auto;
    background-color: white;
    background-color: #EBEEED;
    background-position: fixed;
    border: 15px solid white;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #293732;
    font-family: "Roboto-Condensed", sans-serif;
    font-size: 1.5vw;
    text-transform: lowercase;
    z-index: 100;
    scroll-behavior: smooth;
}

p {
    padding: 10px;
    word-break: normal;
}

h1 {
    font-family: "Roboto-Condensed-Bold", sans-serif;
    font-size: 5vw;
}

h2 {
    font-family: "Roboto-Condensed-Bold", sans-serif;
    font-size: 2vw;
}

a {
    color: #576C64;
    height: auto; 
    width: auto;
}

a:hover {
    color: #293732;
}
/* ------------------ Klassen ------------------ */

.abstract{
    width: 50%;
    text-align: center;
    margin: auto;
    color: #293732;
}

.abstract p {
    color: #576C64;
}

.backandnext {
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.break {
    display: none;
}

.nav {
    height: 5vh;
    width: 100%;
    display: grid;
    grid-template-columns: 35vw 30vw 35vw;
}

.circle {
    background-color: #3A554B;
    width: 32vw;
    height: 32vw;
    border-radius: 100%;
    display: flex;
    margin: auto;
    text-align: center;
}

.circle div{
    margin: auto;
}

.circlepic {
    background-color: none;
    position: absolute;
    top: -20%;
    right: -20%;
    height: 50%;
    width: 50%;
}

.circlepic img {
    width: 100%;
    height: 100%;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

.deko {
    height: 15%;
    width: 15%;
    position: absolute;
    top: 10%;
    left: -60%;
}

.small {
    height: 40%;
    width: 40%;
}

.aboutlink {
    top: 10vh;
    left: 75vw;
}

.portfolio{
    position: absolute;
    top: 70%;
    right: -70%;
}


.deko2 {
    height: 15vh;
    width: 15vh;
    top: 40vh;
    left: 80vw;
}
.contact {
    width: 50vw;
    height: 80%;
    margin: auto;
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
}

.contact img {
    width: 40%;
    height: auto;
}

.contact a{
    margin: auto;
    color: white;
}

.contact a:hover{
    color: #ffe2b4;
}

.contentsite {
    height: auto; 
    width: 100%;
    display: flex;
    padding: 3%;
}

.footer {
    height: 100vh;
    text-align: center;
    display: flex;
}

.floating {
	animation-name: floating;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

@keyframes floating {
	0% { transform: translate(0, 0px); }
	50% { transform: translate(0, 5px); }
	100% { transform: translate(0, -0px); }
}

.floating2 {
	animation-name: floating;
	animation-duration: 4s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

@keyframes floating2 {
	0% { transform: translate(0, 0px); }
	50% { transform: translate(0, 15px); }
	100% { transform: translate(0, -0px); }
}

.floating3 {
	animation-name: floating;
	animation-duration: 5s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}

@keyframes floating3 {
	0% { transform: translate(0, 0px); }
	50% { transform: translate(0, 15px); }
	100% { transform: translate(0, -0px); }
}

iframe{
    width: 100%;
    height: 50vh;
} 

.next {
    position: fixed;
    height: 3vw;
    width: 3vw;
    top: 3vw;
    right: 3vw;
}

.back {
    position: fixed;
    height: 3vw;
    width: 3vw;
    top: 3vw;
    left: 3vw;
}

.photo, img {
    height: 300px;   
    border-radius: 100%;
}

.project {
    top: 65vh;
    left: 15vw;
}

.projects{
    padding-bottom: 50%;
}

.projectprev {
    height: 100%;
    padding-top: 50%;
}

.text {
    height: auto;
    line-height: 1.5em;
    width: 50%;
    padding: 3%;
    display: flex;
}

.textblock img {
    width: 40%;
    height: auto;
    margin: auto;
}

.textblock {
    width: 80%;
    margin: auto;
    height: auto; 
    display: flex;
    padding: 50px;
}

.medium {
    height: 20vw;
    width: 20vw;
}

.titlesite {
    width: 100%;
    height: 100vh;
    display: flex;
}

.title {
    height: 20vw;
    width: 20vw;
    position: absolute;
    left: 10vw;
    top: -10vh;
}

.sticky {
    width: auto;
    height: auto;
    display: flex;
    position: sticky;
    top: 20vh;
}

.mobile{
    display: none;
}



/* ------------------ Responsive ------------------ */
@media (max-width: 800px) and (orientation: portrait){
   
    .circle {
        height: 60vw;
        width: 60vw;
    }

    .back{
        width: 10vw;
        height: 10vw;
        top: 2vw;
        left: 2vw;
    }

    .next{
        width: 10vw;
        height: 10vw;
        top: 2vw;
        right: 2vw;
    }

    .deko {
        height: 10vw;
        width: 10vw;
        top: -10vw;
        left: -5vw;
    }

    .circlepic {
        top: -25%;
        right: -10%;
    }
    iframe{
        width: 100%;
        height: auto;
    } 
    

    .portfolio {
        height: 15vw;
        width: 15vw;
        top: 65vw;
        left: 25vw;
    }

    .portfolio p{
        display: none;
    }

    .title {
        height: 30vw;
        width: 30vw;
        left: 2vw;
        top: -5vh;
    }

    .sticky {
        top: 15vh;
    }

    .projectprev {
        padding-right: 2vw;
    }

    .projectprev div{
        height: 60vw;
        width: 60vw;
    }

    .textblock{
        display: block;
        width: 100%;
        padding: 15%;
    }

    .textblock img {
        width: 100%;
    }

    .text{
        width: 100%;
    }

    h1 {
        font-size: 8vw;
    }

    h2 {
        font-size: 4vw;
    }

    p {
        font-size: 3vw;
    }

    a{
        font-size: 3vw;
    }

    .contact {
        grid-template-columns: 100%;
    }

    .contact a{
        padding: 1em;
    }
    .contact img {
        width: 20%;
        height: auto;
    }

    .desktop {
        display: none;
    }
    
    .mobile {
        display: block;
    }

}


@media (max-width: 600px) and (orientation: portrait){
   

    .circle {
        height: 65vw;
        width: 65vw;
    }

    .deko {
        height: 10vw;
        width: 10vw;
        top: -10vw;
        left: -5vw;
    }

    iframe{
        width: 100%;
        height: auto;
    } 
    

    .back{
        width: 12vw;
        height: 12vw;
        top: 2vw;
        left: 2vw;
    }

    .next{
        width: 12vw;
        height: 12vw;
        top: 2vw;
        right: 2vw;
    }

    .circlepic {
        top: -25%;
        right: -10%;
    }

    .portfolio {
        height: 15vw;
        width: 15vw;
        top: 70vw;
        left: 5vw;
    }

    .portfolio p{
        display: none;
    }

    .title {
        height: 35vw;
        width: 35vw;
        left: 2vw;
        top: -5vh;
    }

    .sticky {
        top: 15vh;
    }

    .projectprev {
        padding-right: 2vw;
    }

    .projectprev div{
        height: 60vw;
        width: 60vw;
    }


    .textblock{
        display: block;
        width: 100%;
        padding: 15%;
    }

    .textblock img {
        width: 100%;
    }

    .text{
        width: 100%;
    }

    h1 {
        font-size: 10vw;
    }

    h2 {
        font-size: 5vw;
    }

    p {
        font-size: 4vw;
    }

    a {
        font-size: 4vw;
    }
    .contact {
        grid-template-columns: 100%;
    }

    .contact a{
        padding: 1em;
    }
    .contact img {
        width: 20%;
        height: auto;
    }

    .desktop {
        display: none;
    }
    
    .mobile {
        display: block;

    }
}

@media (max-width: 450px) and (orientation: portrait){
  

    a{
        font-size: 4.5vw;
    }
     
    .abstract {
        width: 80%;
    }

    .circle {
        height: 80vw;
        width: 80vw;
    }

    iframe{
        width: 100%;
        height: auto;
    } 

    .back{
        width: 12vw;
        height: 12vw;
        top: 2vw;
        left: 2vw;
    }

    .next{
        width: 12vw;
        height: 12vw;
        top: 2vw;
        right: 2vw;
    }

    .deko {
        height: 10vw;
        width: 10vw;
        top: -35vw;
        left: 10vw;
    }

    .circlepic {
        top: -25%;
        right: -5%;
    }

    .portfolio {
        height: 15vw;
        width: 15vw;
        top: 90vw;
        left: 5vw;
    }

    .portfolio p{
        display: none;
    }

    .title {
        height: 35vw;
        width: 35vw;
        left: 2vw;
        top: -5vh;
    }

    .textblock{
        display: block;
        width: 100%;
        padding: 15%;
    }

    .textblock img {
        width: 100%;
    }

    .text{
        width: 100%;
    }

    .sticky {
        top: 15vh;
    }

    .projectprev {
        padding-right: 2vw;
        padding-top: 100%;
    }

    .projectprev div{
        height: 60vw;
        width: 60vw;
    }

    h1 {
        font-size: 12vw;
    }

    h2 {
        font-size: 5vw;
    }

    p {
        font-size: 4.5vw;
    }

    .contact {
        grid-template-columns: 100%;
    }

    .contact a{
        padding: 1em;
    }
    .contact img {
        width: 30%;
        height: auto;
    }

    .desktop {
        display: none;
    }
    
    .mobile {
        display: block;

    }

}

/* ------------------ Farben ------------------ */
.white {
    color: white;
}

.light {
    background-color: #78998C;
}

.middledark {
    background-color: #576C64;
}

.dark {
    background-color: #293732;
}
/* ------------------ Transformation ------------------ */

.left {
    text-align: left;
    padding-left: 5%;
}

.right {
    text-align: right;
    padding-right: 5%;
}

.center {
    text-align: center;
}

.automargin {
    margin: auto;
}

.square {
    border-radius: 0%;
}

.fullwidth {
    width: 100%;
}

.mirror {
    transform: scaleX(-1);
}

.download {
    transform: rotate(1);
}
