.info h1 {
    font-size: 25px;
    margin-bottom: 40px;
    text-align: center;
}
p {
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 16px;
    text-align: center;
}
.info .personal-email{
    font-size: 16px;
    text-align: center;
    margin: 20px;
    font-style: italic;
    transition: 0.5s;
}
.info .break{
    width: 75%;
    height: 1px;
    place-self: center;
    margin: 0 auto;
    background-color: white;
}
main {
    min-height: 700px;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(3,30%);
    grid-gap: 25px;
}
.email-form{
    grid-column: 1/3;
}
.info{
    grid-column: 3;
}
form{
    display: grid;
    padding: 5%;
}
label {
    display: block;
    padding-left: 2.5%;
}
::placeholder{
    background: transparent;
    color:white;
    opacity: 0.5;
}
form input{
    width: 90%;
    height: 50px;
    background: transparent;
    color: white;
    border: solid white 1px;
    border-radius: 5px;
    margin: 1%;
    margin-bottom: 10px;
    padding-left: 2%;
    transition: 0.5s;
}
form input:hover {
    background-color: rgba(255, 255, 255, 0.025);
}
form input:focus {
    background-color: rgba(255, 255, 255, 0.05);
}
form input:invalid:not(:focus):not(:placeholder-shown) {
    border: solid rgb(150, 0, 0) 2px;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus{
    -webkit-text-fill-color: white;
    transition: background-color 9999s ease-in-out 0s;
}
form textarea{
    width: 90%;
    height: 200px;
    background: transparent;
    color: white;
    border: solid white 1px;
    border-radius: 5px;
    margin: 1%;
    margin-bottom: 10px;
    padding-left: 2%;
    padding-top: 10px;
    transition: 0.5s;
}
form textarea:hover {
    background-color: rgba(255, 255, 255, 0.015);
}
form textarea:focus {
    background-color: rgba(255, 255, 255, 0.05);
    border: solid white 3px;
}
form textarea:invalid:not(:focus):not(:placeholder-shown) {
    border: solid rgb(150, 0, 0) 2px;
}
.form-failed{
    visibility: hidden;
    height: 20px;
    padding-left: 5%;
    color: transparent;
}
form textarea:invalid:not(:focus):not(:placeholder-shown) + .form-failed{
    transition: 0.5s;
    visibility: visible;
    color: rgb(150, 0, 0);
}
form input:invalid:not(:focus):not(:placeholder-shown) + .form-failed{
    transition: 0.5s;
    visibility: visible;
    color: rgb(150, 0, 0);
}
form button{
    width: 92%;
    height: 50px;
    background: transparent;
    color: white;
    border: solid white 1px;
    border-radius: 5px;
    margin: 1%;
    transition: 0.5s;
}
form button:focus{
    background-color: rgba(255, 255, 255, 0.05);
}
form button:hover{
    cursor: pointer;
    background-color: rgb(95, 95, 95);
}
/* tablet view*/
@media (max-width: 760px){
    .info h1 {
        font-size: 22px;
    }
    p {
        font-size: 14px;
    }
    .info .personal-email{
        font-size: 12px;
        margin: 5px;
    }
    main {
        grid-template-columns: 90%;
        grid-template-rows: 300px, 600px;
        grid-gap: 0px;
    }
    main div.email-form{
        grid-column: 1;
        grid-row: 2;
        display: grid;
        width: 100%;
        margin: auto;
    }
    main div.info{
        padding-top: 50px;
        grid-column: 1;
        grid-row: 1;
    }
    textarea {
        font-size: 12px;
    }
    input {
        font-size: 12px;
    }
    button {
        font-size: 12px;
    }
    label {
        font-size: 14px;
    }
}
/* mobile view*/
@media (max-width: 500px){
    .info h1 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    p {
        font-size: 12px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .info .personal-email{
        font-size: 11px;
        margin: 5px;
    }
    textarea {
        font-size: 10px;
    }
    input {
        font-size: 10px;
    }
    button {
        font-size: 10px;
    }
    label {
        font-size: 12px;
    }
}