* {
    box-sizing: border-box;
}

body {
    background-image: url(webgraphics/wallpapers/Unsaved8.png);
    background-repeat: repeat-y;
    background-attachment: scroll;
    background-size: cover;
    background-color: #ffffcc;
    margin: 0;
}

#layout {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-gap: 5px;
    grid-template: "header" auto "main" auto "footer" auto / auto;
}

header {
    background-color: brown;
    grid-area: header;
    padding: 10px;
    height: auto;
    font-size: 1.25em;
    color: #7ACC00;
    text-align: center;
}

main {
    grid-area: main;
    padding: 10px;
}

/*Main Title*/
main h1 {
    color: #7ACC00;
    margin: 0;
    font-size: 100px;
    text-align: center;
}

.space {
    margin-bottom: 15px;
    margin-right: 15px;
}

.front {
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

/*Main Pop-up*/
.radius {
    border: 16px solid #72bd03;
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-radius: 7px;
}

.pop-up {
    color: brown;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: large;
    position: relative;
    isolation: isolate;
}

.pop-up::after {
    content: '';
    background-image: url(webgraphics/wallpapers/paper-3-TEX.png);
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.92;
}

.text-padding {
    padding-left: 15px;
    padding-right: 15px;
}

.text-margin {
    margin-top: 0;
    margin-bottom: 3px;
}

.button-margin {
    margin-bottom: 18px;
}

/*Media Queries*/
/*For extra small devices*/
@media only screen and (max-width:600px) {
    #layout {
        max-width: 80%;
    }
}

/*For small devices*/
@media only screen and (min-width:600px) {
    #layout {
        max-width: 80%;
    }
}

/*For medium devices*/
@media only screen and (min-width:768px) {
    #layout {
        max-width: 80%;
    }
}

/*For larger devices*/
@media only screen and (min-width: 992px) {
    #layout {
        max-width: 800px;
    }
}

/*For extra large devices*/
@media only screen and (min-width: 1200px) {
    #layout {
        max-width: 800px;
    }
}