
h2 {
    font-size: 40px;
}

#write {
    width: 400px;
    height: 500px;
    margin: auto;
    background-color: white;
    
}

header{
    margin-bottom: 20px;
}

#write-form {
    resize: none;
    overflow-x: auto;
    overflow-y: hidden;
}

#write-form textarea {
    width: 400px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    line-height: 30px;
    border-radius: 20px;
    border: none;
    padding: 10px;
}

#message {
    width: 400px;
    height: 25px;
}

#whichType{
    margin: auto;
    width: 500px;
    height: 600px;
    padding: 0;
    border-radius: 30px;
    background-color: rgb(255, 255, 255, 0.6);
}

#write-type-form{
    margin: auto;
    padding: 0px 30px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}


#whichType h2{
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    letter-spacing: 3px;
    background-color: #5A709B;
    padding: 30px;
    margin: auto;
    border-radius: 20px 20px 0 0;
    text-align: center;
    color: white;
}

.hidden{
    display: none;
}

.showing{
    display: block;
}

#writeQuestion {
    margin-top: 50px;
    text-align: center;
    font-size: 24px;
    margin-bottom: 0px;
}

/* buttons */

fieldset {
    display: flex;
    flex-direction: column;
    border: none;
    margin-top: 20px;
}

fieldset legend {
    padding: 20px 20px;
    margin-top: 50px;
    text-align: center;
    font-size: 24px;
}

fieldset label {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding: 25px 40px;
    background-color: white;
    font-size: 28px;
    border-radius: 100px;
    color: #1C2F63;
    margin: 30px 50px 10px 50px;
}


fieldset label:hover {
    background-color: #C2D5F2;
    cursor: pointer;
}


fieldset input,
fieldset label {
    display: inline;
}

input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
}

fieldset input[type="radio"]:checked+label {
    background-color: #34436f;
    color: white;
}

.submit{
    font-size: 24px;
    margin-top: 30px;
    background-color: #1C2F63;
    border: none;
    padding: 20px 45px;
    color: white;
    border-radius: 100px;
}

.submit:hover{
    cursor: pointer;
    background-color: #1f1f1f;
}

.back{
    width: 60px;
    position: absolute;
    left: 25%;
    top: 18%;
    filter: drop-shadow(0px 0px 4px #e1e1e1);
}

.back:hover{
    filter: drop-shadow(0px 0px 4px #1C2F63);

}

.miniback{
    width: 60px;
    position: absolute;
    left: 25%;
    top: 18%;
    filter: drop-shadow(0px 0px 4px #e1e1e1);
}

.miniback:hover{
    filter: drop-shadow(0px 0px 4px #1C2F63);

}

#write .showing{
    position: absolute;
    margin: auto;
    z-index: 1;
}
#message{
    width: 300px;
    color: #1f1f1f;
}

#write{
    width: 500px;
    height: 600px;
    padding: 0;
    border-radius: 30px;
    background-color: rgb(255, 255, 255, 0.6);
}

#instructions {
    margin: auto;
    width: 400px;
    margin-top: 40px;
    font-size: 24px;
    margin-bottom: 0px;
}

#write-form{
    margin: auto;
    margin-top: 0;
    padding: 30px 30px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

#write h2{
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    letter-spacing: 3px;
    background-color: #5A709B;
    padding: 30px;
    margin: auto;
    border-radius: 20px 20px 0 0;
    text-align: center;
    color: white;
}


#finalWrite{
    position: relative;
    margin: auto;
    width: 500px;
    height: 600px;
    padding: 0;
    border-radius: 30px;
    background-color: rgb(255, 255, 255, 0.6);
}

#submittedText{
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    width: 280px;
    padding: 0px 20px;
    margin: 20px;
    float: right ;
    line-height: 30px;
    font-size: 20px;
}

#thanks{
    font-size: 20px;
    background-color: white;
    border-radius: 10px;
    width: 220px;
    padding: 10px;
    margin: 0px 10px 10px 20px;
    float: left;
}

#finalWrite h2{
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    letter-spacing: 3px;
    background-color: #5A709B;
    padding: 30px;
    margin: auto;
    border-radius: 20px 20px 0 0;
    text-align: center;
    color: white;
}
#bot{
    position: absolute;
    display: flex;
    margin: auto;
    bottom: 20px;
    width: 500px;
    justify-content: space-around;
}

#finalWrite a {
    text-decoration: none;
}

#finalWrite a p{
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 600;
    margin: auto;
    margin-bottom: 20px;
    padding: 20px 40px;
    background-color: #6E82A9;
    border-radius: 100px;
    text-align: center;
    color: white;
}

#finalWrite a p:hover {
    background-color: #2f4166;
    color: white;
}

