.nations{
    display: flex;
    flex-flow: wrap;
    font-size: 55px;
    text-align: left;
    color:#CC0066;
}
.nations > * {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    border-radius: 30px;
}
h1{
    font-size: 70px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    color:#CC0066;
}
a{
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 25pt;
    margin-top: auto;
    margin-bottom: auto;
    transition: color 0.5s,
    font-size 0.5s;
}
a:link {
    text-decoration: none;
    color: rgb(255, 255, 255);
}
a:visited {
    text-decoration: none;
    color: rgb(255, 255, 255);
}
a:hover {
    text-decoration: none;
    color: rgb(117, 255, 234);
    font-size: 30pt;
}
a:active {
    text-decoration: none;
    color: rgb(255, 255, 255);
}
nav{
    display:flex;
    width: 85%;
    flex-flow: row nowrap;
    justify-content: space-around;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    background-color: #CC0066;
    margin-right: auto;
    margin-left: auto;
    border-radius: 10px;
}
.navicon{
    border-radius: 10px;
    width: 80px;
    transition: width 1s;
}
.navicon:hover {
    width: 90px;
}
body{
    background-color: rgb(255, 238, 250);
}
.characters{
    display: grid;
    grid-template-areas: 
    'gaming shenhe sucrose'
    'rosaria fischl hutao'
    'collei noelle sigewinne';
    margin-left: auto;
    margin-right: auto;
    color:#CC0066;
}
.characters > * {
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
}
#gaming{
    grid-area: gaming;
}
#shenhe{
    grid-area: shenhe;
}
#sucrose{
    grid-area: sucrose;
}
#rosaria{
    grid-area: rosaria;
}
#fischl{
    grid-area: fischl;
}
#hutao{
    grid-area: hutao;
}
#collei{
    grid-area: collei;
}
#noelle{
    grid-area: noelle;
}
#sigewinne{
    grid-area: sigewinne;
}
h3{
    font-size: 40px;
    text-align: center;
}
.elements{
    display: grid;
    grid-template-areas: 
    'pyro cryo anemo'
    'electro hydro dendro'
    'geo geo geo';
    margin-left: auto;
    margin-right: auto;
}
#pyro{
    grid-area: pyro;
    color:#9d3838;
}
#cryo{
    grid-area: cryo;
    color:#1b5a6e;
}
#anemo{
    grid-area: anemo;
    color:#277562;
}
#electro{
    grid-area: electro;
    color:#713090;
}
#hydro{
    grid-area: hydro;
    color:#3c4e97;
}
#dendro{
    grid-area: dendro;
    color:#346729;
}
#geo{
    grid-area: geo;
    color:#65411a;
}
.elements > * {
    margin-left: auto;
    margin-right: auto;
    margin-top: 35px;
    margin-bottom: 25px;
}
.elements > * > * {
    margin-bottom: 15px;
}
#cryoarchon{
    width: 256px;
    height: 256px;
}
.archonimg{
    border-radius: 15px;
    width: 256px;
    transition: width 1s;
}
.archonimg:hover{
    width: 300px;
}
iframe{
    width: 85%;
    height: 600px;
    border-radius: 15px;
}
.maintxt{
    text-align: center;
    font-size: 24px;
    margin-left: 10%;
    margin-right: 10%;
    width: 60%;
    color: #CC0066;
}
.mainimg{
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 35px;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
    flex-flow: wrap;
}
.mainimg > * {
    margin: 10px;
    flex-basis: 80%;
}
.dm-serif-text-regular {
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: normal;
}
.dm-serif-text-regular-italic {
    font-family: "DM Serif Text", serif;
    font-weight: 400;
    font-style: italic;
}  
.quintessential-regular {
    font-family: "Quintessential", serif;
    font-weight: 400;
    font-style: normal;
}
.form-flex{
    text-align: center;
    background-color: #ffe2f6;
    padding: 12px;
    width: 80%;
    font-size: 25pt;
    border: 3px solid #ff87c3;
    border-radius: 20px;
    color: #CC0066;
    margin: 20px;
    }
form{
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
        margin-top: 20px;
        color: #CC0066;
    }
input, textarea{
        background-color: white;
        font-size: 15pt;
        border: none;
        width: 40%;
        padding: 20px;
        padding-left: 40px;
        padding-right: 40px;
        resize: none;
        margin: 1px;
        border-radius: 10px;
        color: #CC0066;
    }
#submit{
        background-color: #ffffff;
        font-size: larger;
        border: 3px solid #CC0066;
        border-radius: 20px;
        cursor: pointer;
        color: #CC0066;
        width: 80%;
    }
#contacttop{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}
#contacttop > *{
    margin: 20px;
}
footer{
    margin-top: 40px;
    text-align: center;
    color:#CC0066;
    font-size: 15px;
}
.characterimg{
    width: 256px;
    transition: width 1s;
}
.characterimg:hover{
    width: 300px;
}
.navimg{
    display: none;
}
.social{
    width: 50px;
    border-radius: 10px;
}
@media screen and (max-width: 640px){
    #contacttop{
        flex-direction: column;
        justify-content: center;
    }
    #contacttop > *{
        width: 95%;
    
    }
    .characters{
        display: grid;
        grid-template-areas: 
        'gaming' 
        'shenhe' 
        'sucrose'
        'rosaria' 
        'fischl' 
        'hutao'
        'collei' 
        'noelle' 
        'sigewinne';
    }
    .elements{
        display: grid;
        grid-template-areas: 
        'pyro' 
        'cryo' 
        'anemo'
        'electro' 
        'hydro' 
        'dendro'
        'geo' 
        'geo' 
        'geo';
    }
    iframe{
        height: 400px;
    }
    .navimg{
        display:inline;
        width: 70px;
        transition: width 1s;
    }
    .navimg:hover{
        width: 80px;
    }
    .navtext{
        display: none;
    }
    nav{
        width: 93%;
    }
}