@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    padding: 10;
    margin-top: 10;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f9e9e9;
}

.top-menu {
    padding: 2rem 0 2rem 0;
    display:  grid;
    grid-template-columns: auto auto auto auto;
    justify-content: space-evenly;
    background-color: #ac7816;
    z-index: 2;
}

.top-menu a {
    display: inline-block;
    color: #f9e9e9;
    font-size: 1rem;
}

.top-menu a:hover {
    color: #13eb62;
    font-size: 1.5rem;
}

.main .grid {
    display: grid;
    align-items: end;
}

.item {
    color: #000000;
    margin: 10px;
    font-size: 1.2rem;
    text-align: left;
}

.main .grid .header {
    background-color: #765914;

    background-size: 100%;
    color: #aaffaa;
    margin: 0 0 2rem 0;
    font-size: 2rem;

    border: 2px solid #ac7816;
    grid-area: header;
}

.main .grid .header img {
    width: 100%;
}

.main .grid .jsonHeader {
    grid-area: jsonHeader;
}

.main .grid .restoreHeader {
    grid-area: restoreHeader;
}

.main .grid .jsonLabel {
    grid-area: jsonLabel;
}

.main .grid .jsonText {
    grid-area: jsonText;
}

.main .grid .copyJSON {
    grid-area: copyJSON;
}

.main .grid .restoreJSONEnv {
    grid-area: restoreJSONEnv;
}

.main .grid .copyJSONText {
    grid-area: copyJSONText;
    align-self: start;
    justify-self: start;
    width: 80%;
    min-height: 120px;
    background-color: #ac7816;
    color: white;
    padding: 15px;
    margin: 10px;
}

.main .grid .restoreJSONText {
    grid-area: restoreJSONText;
    align-self: start;
    justify-self: start;
    width: 80%;
    min-height: 120px;
    background-color: #ac7816;
    color: white;
    padding: 15px;
    margin: 10px;
}

.main .grid .enterRun {
    grid-area: enterRun;
}

.main .grid .enterEdit {
    grid-area: enterEdit;
}

textarea {
    width: 100%;
    height: 30vh;
}

#copyJSON, #restoreJSONEnv, #enterRun, #enterEdit {
    min-height: 60px;
    border-style: solid;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #ff68b4;
    color: #000000;
    margin-bottom: 60px;
}

@media (min-width:1000px) {
   .main .grid { 
        grid-template: auto auto auto auto auto / 1fr 1fr 1fr 1fr 1fr 1fr 1fr; 
        grid-template-areas: 
            "header header header header header header header"  
            "jsonHeader jsonHeader jsonHeader  . restoreHeader restoreHeader restoreHeader"
            "jsonLabel jsonLabel jsonLabel . jsonText jsonText jsonText"
            "copyJSONText copyJSONText copyJSON . restoreJSONText restoreJSONText restoreJSONEnv"
            " . . enterRun . . . enterEdit "
            ;
    }

    .top-menu {
        grid-template-columns: auto auto auto auto;
    }

    .header {
        height: 50vh;
    }

    .notice h1 {
        line-height: 50vh;
    }
}

@media (max-width:999px) {
    
    .main .grid {
        grid-template: auto auto auto auto auto auto auto / 1fr 1fr 1fr 1fr; 
        grid-template-areas: 
            "header header header header"
            "jsonHeader jsonHeader jsonHeader jsonHeader"
            "jsonLabel jsonLabel jsonLabel jsonLabel"
            "copyJSONText copyJSON enterRun enterRun"
            "restoreHeader restoreHeader restoreHeader restoreHeader"
            "jsonText jsonText jsonText jsonText"
            "restoreJSONText restoreJSONEnv enterEdit enterEdit"
            ;
    }

    .top-menu {
        grid-template-columns: auto auto;
    }

    .header {
        height: 30vh;
    }

    .notice h1 {
        font-size: 1.4rem;
        line-height: 30vh;
    }

}
