*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
/* Main Styles */
main {
    font-family: var(--main-font);
    font-weight: 400;
    font-style: normal;
    height: 100vh;
    background: url(../images/contact.jpg) no-repeat center center;
    background-size: cover;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

main .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto auto;
    align-items: center;
    text-align: center;
}
main .left-container {
    color: var(--primary-color) ;
    text-align: left;
}
main .left-container  h1 {
    font-family: var(--en-font);
    font-weight: 700;
    font-style: normal;
    font-size: 3.5rem;
    color: var(--primary-color) ;
    padding-bottom: 20px;
    display: inline-block;
}
.page-content{
    padding-top: 300px;
}

.wrapper{
    align-items: center;
    margin: 0 auto;
}
form{
    margin-top: 50px auto 0;
    display: flex;
    flex-direction: column; 
    align-items: center; 
}
form div {
    margin-bottom: 14px;
    justify-content: center;
    display: grid;
}
label {
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
    justify-content: center;
    text-align: left;
    color: var(--primary-color);
    width: 350px;
    text-align: left;
    
}
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    max-width: 500px;
    color: white;
    background: rgba(255, 255, 255, .5);
    border: 3px pink solid;
    border-radius: 3px;
    padding: 5px;
    font-size: 1rem;
    justify-content: center;
    
}
input[type="text"],
input[type="email"] {
    width: 100%;
    max-width: 500px;
    justify-content: center;
    text-align: left;
}
textarea {
    width: 100%;
    max-width: 550px;
    height: 8rem;
    justify-content: center;
}
input[type="submit"]{
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 100px;
    line-height: 50px;
    border-radius: 50px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    margin: 30px auto 0;
    align-self: center; 
}
    
/*pad版*/
@media(max-width: 960px){
    .container{
        max-width: 960px;
        
    }
    main .container{
        max-width: 860px;
                
    }
    main .left-container  h1{
        margin-top: -50px;
    }
    form {
        margin-top: 50px;
        display: flex;
        
    }
    input[type="submit"] {
        align-self: center; 
    }

    

}
/*mobile版*/
@media(max-width: 768px){
    .container{
        max-width: 700px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    main .container{
        width: 100%;
        max-width: 700px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;    
    }
    main .left-container{
        display: flex;
        text-align: center;
        justify-items: center;
        margin: 20px auto 0 ;
    }
    main .left-container h1{
        font-size: 42px;
        text-align: center;
        margin: 0 auto;
        
    }
    .wrapper{
        display: flex;
        justify-content: center;
        width: 100%;
    }
    input[type="text"],
    input[type="email"],
    textarea{
        width: 100%;
    max-width: 340px;
    }
    input[type="text"],
    input[type="email"] {
        width: 100%;
        max-width: 340px;
        justify-content: center;
        text-align: left;
    }
    textarea {
        width: 100%;
        max-width: 340px;
        height: 8rem;
        justify-content: center;
    }
}




