body, html {
  background-image: url('img/avatar.jpg');
  background-repeat: no-repeat;
  background-position: right bottom;     
  background-size: 50vw;            
  background-color: #212121;
  color: yellowgreen;
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    touch-action: manipulation;

}

#nogniet {
    display: none;
}

#fouttext {
    color: turquoise;
    padding: 20px;
    width: 50vw;
    margin-top: 30vh;
    
    font-size: 18px;
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
}



#home {
    position: fixed;
    top: 0;
    left: 0;
    margin: 10px;
    z-index: 200;
    color: red;
    text-decoration: none;
    padding: 0px 12px 12px 0px;
}


#home:hover {
    text-decoration: underline;
}


#select {
    color: red;
    padding: 6px;
    margin-left: 20px;
    margin-top: 50px;
    width: 30vw;
    max-height: 40vh;
    margin-bottom: 50px;
}




#input {
    margin: 12px;
    padding: 7px;
    border: 1px solid red;
}

.main {
    padding: 20px;
    margin: 0 auto;
    position: absolute;
    width: 50vw;
    left: 0;
    bottom: 50px;
}

.section1 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    letter-spacing: 0.5em;
    color: turquoise;
    text-shadow: 2px 2px 2px black;
    text-decoration: underline;
    text-decoration-color: deeppink;
    text-decoration-thickness: 1px;
    text-decoration-style: solid;
    text-underline-offset: 12px;
    padding: 5px;
    position: relative;
    margin-bottom: 20px;
    margin-left: 20px;
    text-align: left;
    width: auto;
    font-weight: bold;
    transform:skewX(-10deg) rotateX(10deg);
}

.section2 {
    color:beige;
    padding: 10px;
    margin: 10px;
    width: 40vw;
    height: 70vh;
    position: absolute;
    top: 50px;
    right: 20px;
    display: flex;
    justify-content: center;
}

.section2 #img {
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    align-self: center;

    border: 2px double whitesmoke;
}

.text {
    background-color: #212121;
    color: whitesmoke;
    text-align: center;
    padding: 12px;
    width: 40vw;
    height: 55vh;
    overflow-y: auto;
    position: relative;
    font-family: 'Courier New', Courier, monospace;

}

.datum {
    position: fixed;
    top: 0;
    right: 0;
    margin: 12px;
    font-size: 14px;
    color: #212121;
    z-index: 200;

}



#redirect {
    margin: 20px;
    border: 1px solid red;
    padding: 20px;
}
#footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    padding: 12px;
    margin: 0;
    text-align: right;
    font-size: 14px;
}

@media only screen and (max-width: 768px) and (orientation:portrait) {

body, html {
    background-color: deeppink;
    color: #212121;
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    background-position: top right;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#fouttext {
    color: turquoise;
    padding: 0px;
    margin-top: 50vh;
    margin-left: 15vw;
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    width: 70vw;
    text-align: center;
}



#home {
    position: fixed;
    top: 0;
    left: 0;
    margin: 0px;
    z-index: 200;
    color: turquoise;
    text-decoration: underline;
    text-decoration-color: lime;
    padding: 12px;
    background-color: transparent;
}


#select {
    z-index: 100;
    margin: 0;
    padding: 12px;
    border-radius: 0px;
    background-color: lime;
    width: 60vw;
    height: 50px;
    color: black;
    position: fixed;
    bottom: 30px;
    left: 30px;
    font-size: 16px;
    border: 1px solid red;
}



#input {
    
    z-index: 100;
    padding: 12px;
    margin: 20px;
    position: fixed;
    bottom: 0;
    right: 0;
    margin-bottom: 30px;
    margin-right: 10vw;
    background-color: #212121;
    color: lime;
    font-size: 16px;
    height: 50px;
    
}

.main {
    padding: 0px;
    margin: 0px;
    width: 100vw;
    position: fixed;
    left: 0;
    bottom: 70px;
}

.section1 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    color:antiquewhite;
    padding: 5px;
    position: relative;
    margin-top: 30px;
    text-align: center;
    width: 100%;
    text-decoration-color: lime;
    
}

.section2 {
    padding: 10 10px 10px 20px;
    width: 60vw;
    height: 35vh;
    position: absolute;
    top: 90px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section2 img {
    max-width: 100%;
    max-height: 100%;
}


.text {
    background-color: ivory;
    margin: 20px;
    border-bottom: 1px solid lime;
    border-top: 3px solid lime;
    border-radius: 7px;
    padding: 20px;
    width: calc(100vw - 40px);
    height: 35vh;
    overflow-y: auto;
    position: relative;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    color: #212121;
}

.datum {
    position: fixed;
    top: 0;
    right: 0;
    margin: 14px;
    font-size: 10px;
    color: #212121;
    z-index: 200;

}



#redirect {
    margin: 20px;
    color: deeppink;
    font-style: italic;
    font-family: 'Courier New', Courier, monospace;
    padding: 20px;
}
#footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
    padding: 10px;
    margin: 0;
    text-align: right;
    font-size: 10px;
}
}

@media only screen and (max-width: 900px) and (orientation:landscape) {

    body, html {
        background-size: 50vh;
        background-position: center right;
        background-color: darkturquoise;
        color: #212121;
        margin: 0;
        padding: 0;
        overflow: hidden;
        width: 100vw;
        height: 100vh;
    }
    
    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    
    #nogniet {
        display: block;
        margin-left: auto;
        width: 100vw;
        text-align: center;
        margin-top: 30vh;
        color: #212121;
        font-size: 16px;
    }
    #fouttext {
        display: none;
        color: deeppink;
        padding: 20px;
        margin-top: 30vh;
        margin-left: 15vw;
        width: 70vw;
        font-family: 'Courier New', Courier, monospace;
        font-size: 18px;
    }

    #img {
        display: none;
        max-width: 250px;
        max-height: 200px;
    }

    #home {
        position: fixed;
        top: 0;
        left: 0;
        margin: 0px;
        background-color: transparent;
        z-index: 200;
        color: yellow;
        text-decoration: underline;
        text-decoration-color: deeppink;
        text-underline-offset: 3px;
        padding: 2px;
        
    }
    
    
    
    
    #select {
        display: none;
        z-index: 100;
        padding: 17px;
        background-color: deeppink;
        color: black;
        position: fixed;
        top: 0;
        left: 0;
        margin-top: 10px;
        margin-left: 10vw;
        font-size: 16px;
    
    
    }
    
    #input {
        display: none;
        z-index: 100;
        color: red;
        padding: 12px;
        margin-top: 10px;
        position: fixed;
        top: 0;
        left: 0;
        margin-left: 30vw;
        background-color: deeppink;
        color: #212121;
        font-size: 16px;
        border-radius: none;
    
    }
    
    #option1 {
        display: none;
        margin: 8px;
        text-align: center;
    }

    #option2 {
        display: none;
        margin-top:8px;
        text-align: center;
}
    
    .main {
        display: none;
        padding: 0px;
        margin: 0px;
        
        position: relative;
        width: 100vw;
        height: 100vh;
        margin: 0 auto;
    }
    
    .section1 {
        display: none;
        font-family: 'Courier New', Courier, monospace;
        font-size: 16px;
        color:antiquewhite;
        padding: 10px;
        position: absolute;
        top: -70px;
        right: 0;
        margin: 0;
        margin-right: 23vw;
        text-align: center;
        width: 30vw;
        
    }
    
    .section2 {
        display: none;
        font-family:'Times New Roman', Times, serif;
        font-size: 16px;
        color:beige;
        padding: 5px;
        width: 50vw;
        height: auto;
        max-height: 80vh;
        margin-left: 0px;
        margin-top: 70px;
        transform: translateX(0%);
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    
    .text {
        background-color: lightblue;
        border-bottom: none;
        border-top: none;
        padding: 12px;
        width: 45%;
        height: 55vh;
        overflow-y: auto;
        position: absolute;
        right: 0;
        top: 0;
        margin-top: 0px;
        margin-right: 20px;
        font-size: 16px;
        font-family: 'Courier New', Courier, monospace;
    
    }
    
    .datum {
        position: fixed;
        top: 0;
        right: 0;
        margin: 12px;
        font-size: 10px;
        color: #212121;
        z-index: 200;
        width: 10%;
        text-align: right;
        
    
    }
    
    
    
    #redirect {
        margin: 20px;
        color: deeppink;
        font-style: italic;
        font-family: 'Courier New', Courier, monospace;
        padding: 20px;
    }
    #footer {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 30px;
        padding: 10px;
        margin: 0;
        text-align: right;
        font-size: 10px;
    }
    }