@charset "utf-8";
/* CSS Document */

main{
    box-sizing:border-box;
    width:100%;
    padding:10px;
    display:flex;
    flex-direction: column;
    align-items: center;
}
#form_header{
    color:white;
}
form{
    box-sizing:border-box;
    width:320px;
    padding:10px;
    background-color:white;
}
form #input{
    display:block;
}
form #page1{
    display:flex;
    flex-direction:column;
    background-color:white;
}
form #page1 .head{
    display:flex;
    box-sizing:border-box;
    width:300px;
    align-items: center;
    border-bottom:dotted green 1px;
    margin-bottom:10px;
}
form #page1 .toDiv{
    margin-bottom:10px;
}
form #page2{
    display:flex;
    flex-direction:column;
    background-color:white;
}
#page2 section{
    display:flex;
    flex-direction: column;
    margin-bottom:10px;
}
form #page2 section label{
    display:flex;
    flex-direction: column;
    box-sizing:border-box;
    width:300px;
    justify-content: center;
    border-bottom:dotted green 1px;
    margin-bottom:10px;
}
form #page2 section textarea,form #page2 section input{
    margin-bottom:30px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    outline: solid green 1px; 
    border:solid darkgreen 1px;
    padding:5px;
}
form #page2 section input{
    width:290px;
}
form #page2 section textarea{
    height:120px;
    caret-color: green;
}
form #page2 section textarea:focus,form #page2 section input:focus{
    outline: solid green 3px;
}

form .buttonWrap{
    position:relative;
    width:130px;
    height:70px;
    margin-right:30px;
}
form button{
    position:absolute;
    top:0px;
    left:0px;
    width:120px;
    height:60px;
    background-color:lightgreen;
    border:none;
    border-radius:10px;
    box-shadow:5px 5px green;
    font-family: 'sans-serif';
    font-size:15px;
    font-weight:bold;
    color:green;
}
form button:active{
    top:5px;
    left:5px;
    box-shadow:none;
}

form button:hover{
    cursor: pointer;
}
form #confirm{
    display:none;
    box-content:border-box;
    padding:10px;
    background-color:white;
}
form #confirm .confirm_label{
    display:flex;
    flex-direction: column;
    box-sizing:border-box;
    width:280px;
    justify-content: center;
    border-bottom:dotted green 1px;
    margin-bottom:0px;
}
form #confirm.confirm_content{
    margin-left:1em;
}
form #confirm .confirm_ele{
    margin-bottom:20px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}
form #confirm #confirm_button{
    display:flex;
    flex-direction: row;
}
#robot_notice{
    display:none;
    color:red;
}
#progress{
    width:320px;
    height:50px;
    display:flex;
    flex-direction: row;
    margin-bottom:5px;
}
#progress p{
    box-sizing:border-box;
    width:80px;
    height:50px;
    display:flex;
    justify-content: center;
    align-items: center;
    color:green;
    margin:0px;
    padding:0px;    
}
#progress #progress_1,#progress #progress_2{
    margin-right:20px;
}
#progress #progress_1{
    background-color: white;
}
#progress #progress_2{
    background-color: forestgreen;
}
#progress #progress_3{
    background-color: forestgreen;
}


@media screen and (min-width:600px){
    form,#progress {
        width:600px;
    }
    form #page1{
        flex-direction:row;
        border-bottom: solid green 1px;
        margin-bottom:10px;
    }
    form #page1 .head,form #page2 section label{
        width:180px;
        border-bottom:none;
        border-right:dotted green 1px;
        margin-right:10px;
    }
    form #page2{
        
    }
    form #page2 section{
        flex-direction: row;
    }
    form #page2 #secName,form #page2 #secEmailAdress,form #page2 #secBodyOfEmail{
        border-bottom: solid green 1px;
    }
    form #page2 section #bodyOfEmailLabel{
        padding-top:20px;
        justify-content: flex-start;
    }
    form #page2 section textarea,form #page2 section input{
        margin-top:17px;
        display:flex;
        flex-direction: row;        
    }
    form #page2 section textarea{
        width:380px;
        height:300px;
    }
}
@media screen and (min-width:800px){
    form,#progress{
        width:800px;
    }
    
}
/*
@media screen and (min-width:1024px){
    form #input{
        display:flex;
        flex-direction:row;
        width:100%;
    }
    #page1,#page2{
        width:100%;
    }
    #secBodyOfEmail textarea{
        height:6em;
    }
}

