/*@import url('https://fonts.cdnfonts.com/css/perspective-sans');*/
@import url('/css/Perspective_Sans/*');

:root{
    --color_main: ;
    /* --color_bg: #2e293a; */
    --color_bg: #28232b;
    --color_a: rgb(0, 157, 255);
    --cyan: #00fffb;
}

*{
    font-family: 'Perspective Sans', /*'Gill Sans', 'Gill Sans MT', 'Calibri', 'Trebuchet MS',*/ sans-serif;
    /* font-family: 'Gill Sans', 'Gill Sans MT', 'Calibri', 'Trebuchet MS', sans-serif; */
    /* font-family: 'DPDorkDiary', cursive; */
    margin: 0; padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all .2s linear;
}

html{
    overflow-x: hidden;
    background-color: var(--color_bg);
    color: white;
}

*::selection{
    background:var(--cyan);
    color:rgb(0, 0, 0);
}

section{
    background-color: var(--color_bg);
    color: white;
}

/* h1, h2, h3, b{
    font-family: 'Perspective Sans Black', 'Gill Sans', 'Gill Sans MT', 'Calibri', 'Trebuchet MS', sans-serif !important;
} */

/* .content{
    font-family:  'Perspective Sans', sans-serif !important;
} */

ul{
    margin-bottom: 0;
}

header{
    position: fixed;
    top: 0; left: 0;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 .1rem .3rem rgba(0,0,0,.3);
    width: 100vw;
}

header .heading{
    font-size: 1.5rem;
    background-color: rgb(0,0,0);
    padding: 0.5rem;
    text-align: center;
}

header .heading a{
    color: white;
}

header .heading a:hover{
    color: white;
}

header #menu{
    font-size: 1.4rem;
    color: black;
    cursor: pointer;
    margin: .33rem;
    display: none;
}

header .navbar{
    width: 100%;
}

header .navbar ul{
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    background: var(--cyan);
    padding: .33rem;
    width: 100%;
    margin-left: 0px;
}

header .navbar ul li{
    margin:0 1rem;
}

header .navbar ul li a{
    font-size: 1.4rem;
    color:#000;
}

header .navbar ul li a:hover{
    color:#55f;
}

.home{
    min-height: 100vh;
    background: var(--color_bg)
}

.home .content{
    flex:1 1 40rem;
    font-size: 1.5rem;
    margin-left: 55px;
    margin-top: 35px;
    margin-right: 60px;
}

.home .content h1{
    font-size: 3rem;
    padding-top: 5rem;
}

.home .content a{
    color: var(--color_a)
}

.home .content a:hover{
    color: white;
}

.home .content button{
    background-color: var(--cyan);
    border: 3px solid var(--cyan);
    color: black;
    padding: 15px 25px;
    margin-top: 2%;
    margin-bottom: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 20px;
    font-size: 90%;
    transition-duration: .3s;
}

.home button span{
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: .5s;
}

.home .content button span:after{
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.home .content button:hover{
    background-color: var(--color_bg);
    color: white;
    padding-right: 25px !important;
}

.notes{
    min-height: 100vh;
    background: var(--color_bg)
}

.notes .content{
    flex:1 1 40rem;
    padding-top: 9rem;
    padding-left: 9rem;
    margin-top: 2.5rem;
    display: inline-block;
}

.postit{
    margin-bottom: 8rem !important;
    width:400px;
    height:520px;
    padding:25px 15px;
    border: 1px solid #cccccc;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.3);
    border-bottom-right-radius:60px 5px;
    display: inline-block;
}

.notes .content .first, .second, .fourth, .fifth{
    margin-right: 12%;
}

.first, .fifth{
    background:#fefabc;
    background-color: #fefabc;
    background-image: linear-gradient(150deg, #efec88 0%, #fefabc 100%);
}

.second, .sixth{
    background:rgb(29, 206, 29);
    background-color: rgb(29, 206, 29);
    background-image: linear-gradient(150deg, rgb(29, 206, 29) 0%, rgb(29, 206, 29) 100%);
}

.third, .fourth{
    background:#FFE100;
    background-color: #FFE100;
    background-image: linear-gradient(150deg, #FFE100 0%, #FFE100 100%);
}

.postit h1, .postit p{
    /* font-family: 'DPDorkDiary', cursive; */
    font-size: 1.4em;
    text-align:center;
    margin: 0.5em 0 0;
    line-height:1em;
    font-weight:bold;
    color: black;
}

.postit p{
    font-size:1.1em;
    margin-top: 3% !important;
    margin: 0.5em 0;
}

.postit span{
    background: linear-gradient(to right, black, transparent);
    color: transparent;
    background-clip: text;
}

.postit .more{
    position: absolute;
    text-align: center;
    line-height:1em;
    bottom: 0;
    margin-bottom: 15px;
    color: blue;
}

.postit .more:hover{
    color: black;
}

.postit img{
    margin-left: 5%;
    position: relative;
    object-fit: cover;
    padding-top: 2%;
    width: 90%;
    height: 50%;
}

.postit .note{
    font-size: 90%;
    position: absolute;
    text-align: center;
    bottom: 0;
    right: 0;
    margin-bottom: 15px;
    margin-right: 4%;
}

.postit .note:hover{
    color: black;
}

.postit::before{
    content: "";
    background-color: rgba(0,0,0,0.025);
    position: absolute;
    width: 100%;
    left: 0px;
    top: 0;
    height: 40px;
    z-index: -1;
}

.postit::before{
    background: #ff8c00 radial-gradient(at 8px 8px, rgba(255,255,255,0), rgba(0,0,0,0.5));
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: calc(50% - 12px);
    box-shadow: 4px 4px 3px rgba(0,0,0,0.5);
}

.postit::after{
    content:"";
    position: absolute;
    bottom: 0;
    right: -4px;
    width: 100%;
    height: 140px;
    background-image: linear-gradient(173deg, rgba(0,0,0,0) 92%,
    rgba(0,0,0,0.4) 100%);
    transform: rotate(6deg);
    z-index: -1;
    filter: blur(2px);
}

.element{
    font-size: 1.5rem;
    min-height: 100vh;
    padding-top: 4.3%;
    padding-bottom: 1%;
    color: black;
    width: 100%;
}

.element .content{
    flex:1 1 40rem;
}

.element .content p{
    margin-left: 5%; margin-right: 5%;
}

.element .content h1{
    font-size: 3rem;
    padding-top: 2rem;
    margin-left: 5%;
    margin-top: .5%;
}

.element .content img{
    position: relative;
    margin-right: 100%;
    max-width: 25%;
    height: auto;
}

.about{
    flex:1 1 40rem;
    min-height: 100vh;
    font-size: 1.5rem;
    margin-left: 55px;
    margin-top: 35px;
    margin-right: 60px;
}

.about .content{
    flex:1 1 40rem;
    padding-top: 5rem;
}

.about .content h1{
    font-size: 3rem;
}

.about .content a{
    color: var(--color_a)
}

.about .content a:hover{
    color: white;
}

footer{
    padding-bottom: 0;
}

footer .credit{
    font-family: 'Perspective Sans', sans-serif !important;
    font-size: 1.2rem;
    background:#222;
    text-align: center;
    color: white;
    padding-top: 1.3rem; padding-bottom: 1rem;
    font-weight: normal;
}

footer .credit #me{
    color: var(--cyan)
}

footer .credit #text{
    margin-top: -5px;
    margin-left: 6px;
}

footer .credit h1{
    padding-right: 20em;
    text-align: center;
    padding-top: 0px;
}

footer .credit a{
    color: var(--color_a);
}

footer .credit a:hover{
    color: white;
}

.sources{
    min-height: 100vh;
    flex:1 1 40rem;
    line-height: 1.5rem;
    margin-left: 25px;
    margin-top: 30px;
    margin-right: 20px;
    font-size: 1.3rem;
}

.sources .content{
    flex:1 1 40rem;
}

.sources .content h1{
    font-size: 2.5rem;
    color:white;
    padding-top: 5rem;
}

.sources .content h3{
    font-size: 1.5rem;
    color: white;
    margin-top: 10px;
    margin-bottom: -7px;
}

.sources .content p{
    font-size: 1.1rem;
    color:white;
    padding:0.7rem 0;
}

.sources .content a{
    color: var(--color_a);
}

.sources .content a:hover{
    color: white;
}

.impressum{
    min-height: 100vh;
    background: var(--color_bg)
}

.impressum .content{
    flex:1 1 40rem;
    line-height: 1.5rem;
    margin-left: 25px;
    margin-top: 30px;
    margin-right: 20px;
}

.impressum .content h1{
    font-size: 2.5rem;
    color:white;
    padding-top: 5rem;
}

.impressum .content h2{
    font-size: 1.4rem;
    color: white;
}

.impressum .content h4{
    color: white;
    line-height: 110%;
    font-size: 75%;
}

.impressum .content p{
    font-size: 1.2rem;
    color:white;
    padding:0.7rem 0;
}

.impressum .content a{
    color: var(--color_a);
}

.impressum .content a:hover{
    color: white;
}

.impressum .content #me{
    color: var(--cyan);
}

.datenschutz{
    min-height: 100vh;
    background: var(--color_bg)
}

.datenschutz .content{
    flex:1 1 40rem;
    line-height: 1.5rem;
    margin-left: 25px;
    margin-top: 30px;
    margin-right: 20px;
}

.datenschutz .content h1{
    font-size: 2.5rem;
    color:white;
    padding-top: 5rem;
}

.datenschutz .content h2{
    font-size: 1.4rem;
    color: white;
}

.datenschutz .content h4{
    color: white;
    line-height: 110%;
    font-size: 75%;
}

.datenschutz .content p{
    font-size: 1.2rem;
    color:white;
    padding:0.7rem 0;
}

.datenschutz .content li, ul{
    font-size: 1.2rem;
    color:white;
    padding:0.7rem 0;
    margin-left: 25px;
}

.datenschutz .content a{
    color: var(--color_a);
}

.datenschutz .content a:hover{
    color: white;
}

.datenschutz .content #me{
    color: var(--cyan);
}

/* media queries */

@media screen and (min-width:320px){
    html{
        overflow-y: scroll;
    }

    img{
        margin-top: 20px;
        padding-bottom: 20px;
        float: left;
        max-width: 100%;
        height: auto;
    }

    footer .credit img{
        height: 100%;
        margin-top: -5px;
    }
}

@media screen and (max-width:615px){
    html{
        font-size: 62.5%;
        text-align: center;
        font-family: 'Perspective Sans', sans-serif !important; 
    }

    header{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding:1rem 1rem;
        background: black;
    }

    header h1{
        font-size: 200% !important;
    }

    header #menu{
        display: block;
        color: white;
        font-size: 200% !important;
    }

    header .navbar{
        position: fixed;
        top: 5.8rem; right:-120%;
        height:100%;
        width:100%;
        margin-top: -2.6px;
    }

    header .navbar ul{
        height:100%;
        width:100%;
        flex-flow: column;
        background:var(--color_bg);
        padding-bottom: 15rem;
    }

    header .navbar ul li{
        text-align: center;
        width:100%;
        margin:1rem 0;
    }

    header .navbar ul li a{
        font-size: 4rem;
        color:white;
        display: block;
    }

    .fa-times{
        transform: rotate(180deg);
    }

    header .navbar.nav-toggle{
        right:0 !important;
        top: 7.4% !important;
    }

    .home{
        margin-top: 2%;
        margin-bottom: 1.5rem;
    }

    .home .content{
        font-size: 2rem;
        margin-left: 7%;
        margin-right: 7%;
    }

    .home .content p{
        text-align: center;
    }

    .notes{
        text-align: center;
        right: 0%;
        display: inline-block;
        min-height: 100vh;
    }

    .postit{
        font-size: 1.5em;
        width: 350px;
        height: 460px;
        margin-left: -7% !important;
        display: inline-block;
    }

    .postit a{
        position: absolute;
        left: 10px;
        bottom: -5px;
    }

    .postit .note{
        margin-right: 8%;
    }

    .element{
        font-size: 2rem;
        margin-top: 3rem;
        padding-bottom: 1.5rem;
    }

    .element .content h1{
        text-align: center;
        margin-right: 5%;
        margin-top: -2%;
    }

    .element .content p{
        text-align: center;
    }

    .element .content img{
        min-width: 70%;
    }

    .about{
        font-size: 2rem;
        margin-top: 3rem;
        margin-bottom: 1.5rem;
        margin-left: 25px;
        margin-right: 20px;
    }

    footer{
        position: relative;
        bottom: 0;
    }

    footer .credit{
        padding-bottom: 2rem;
        font-size: 1.7rem;
    }

    footer .credit h1{
        display: table-row;
    }

    footer .credit img{
        height: 100%;
        margin-top: -5px;
    }

    .impressum, .datenschutz, .sources{
        text-align: left;
    }

    .impressum .content, .datenschutz .content, .sources .content{
        margin-left: 3% !important; 
    }

    .sources .content{
        margin-left: -4% !important; 
    }

    .impressum .content p, .datenschutz .content p, .sources .content p{
        font-size: 1.6rem;
        line-height: 120%;
    }

    .impressum .content h1, .datenschutz .content h1, .sources .content h1{
        font-size: 3rem;
    }

    .impressum .content h2, .datenschutz .content h2, .sources .content h3{
        font-size: 1.9rem;
    }

    .impressum .content h4, .datenschutz .content h4{
        font-size: 1rem;
    }
}

@media screen and (max-width:374px){
    .content h1{
        margin-top: 3.5rem;
    }
}

@media screen and (min-width:615px) and (max-width:1000px){
    footer .credit h1{
        display: table-row;
    }
}

@media screen and (max-width:400px){
    header .navbar.nav-toggle{
        margin-top: -4px;
    }
    
    .notes{
        text-align: center;
        right: 0%;
    }

    .postit{
        font-size: 1.3em;
        width: 300px;
        height: 400px;
        margin-left: -12% !important;
        display: inline-block;
    }

    .postit a{
        position: absolute;
        left: 10px;
        bottom: -8px;
    }

    .impressum .content h1, .datenschutz .content h1, .sources .content h1{
        margin-top: 45px;
    }
}

@media screen and (max-width:350px){
    .notes{
        text-align: center;
        right: 0%;
    }

    .postit{
        font-size: 1.3em;
        width: 300px;
        height: 400px;
        margin-left: -8% !important;
        display: inline-block;
    }

    .postit a{
        position: absolute;
        left: 10px;
        bottom: -8px;
    }
}

@media screen and (max-width:470px){
    .notes{
        margin-left: -5% !important;
    }
}

@media screen and (max-width:350px){
    .notes{
        margin-left: -13% !important;
    }
}

@media screen and (max-width:374px){
    header .navbar.nav-toggle{
        padding-top: 25px;
    }

    footer .credit{
        padding-bottom: 50px;
    }
}