h1{
    color:maroon;
}
section{
    display: flex;
    justify-content: center;
    align-items: center;
    height:fit-content;
    padding-bottom: 15px;
    background-color: #f2f2f2;
}

.contact-contents {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: flex-start;
    column-gap: 4%;
    height: 100%;
    width:900px;
}

.contact-contents h1{
    width: 100%;
    text-align: center;
}

.contact-contents a,
.contact-contents div {
    display: flex;
    background-color: maroon;
    transition: 0.5s;
    margin-top: 25px;
}

.contact-contents a{
    flex-direction: column;
    row-gap: 10px;
    justify-content: center;
    align-items: center;
    color:white;
    width:270px;
    height:150px;
}

.contact-contents div,
.contact-contents form {
    display:flex;
    flex-flow: row wrap;
    align-content:flex-start;
    column-gap: 5%;
    row-gap: 5%;
    width:423px;
    height:400px;
}

.contact-contents form {
    padding: 3%;
    width: 100%;
    height:100%;
}

.contact-contents div:first-of-type{
    padding: 1%;
}


.contact-contents a:hover,
.contact-contents div:hover{
    box-shadow: 0 0 10px black;
}

.contact-contents i{
    font-size: 40px;
}

.contact-contents h6{
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    margin: 0;
}

.contact-contents p{
    margin: 0;
}

.contact-contents input,
.contact-contents textarea{
    width: 47.5%;
    outline: none;
    border: none;
    padding: 10px;
    font-size: 16px;
    background-color: #f2f2f2;
}

.contact-contents input{
    width: 47.5%;
}

.contact-contents input:nth-of-type(3) {
    width:100%;
}

.contact-contents textarea {
    min-width: 100%;
    max-width: 100%;
    min-height: 45%;
    max-height: 45%;
}

.contact-contents input[type="submit"]{
    width: fit-content;
    padding: 10px;
    color: #f2f2f2;
    background-color: transparent;
    border:2px solid #f2f2f2;
    text-transform: capitalize;
    border-radius: 20px;
    font-size: 16px;
    transition: 0.2s;
}

.contact-contents input[type="submit"]:hover{
    background-color: rgba(0, 0, 0, 0.4);
}

.contact-contents input[type="submit"]:active{
    transform:scale(1.1);
}

.alert-blur{
    height:100%;
    width: 100%;
}

.alert-blur.active {
    filter: blur(5px);
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px); 
}

.alert {
    display:flex;
    justify-content: center;
    align-items:flex-start;
    position: fixed;
    top:0;
    left: 0;
    width: 0;
    height:0;
    overflow: hidden;
    padding-top: 3%;
}

.alert.active {
    width:100%;
    height:100%;
}


.alert div {
    position: relative;
    top:-200px;
    display:flex;
    flex-flow:column nowrap;
    align-items:flex-start;
    row-gap:4%;
    width:30%;
    min-width:270px;
    height:fit-content;
    min-height:150px;
    background-color: #f2f2f2;
    padding-bottom:10px;
    transition:all 0.5s ease;
}

.alert.active  div{
    top:40%;
}

.alert h2 {
    width:100%;
    padding:5px;
    background: linear-gradient(to bottom,rgba(108,0,0) , rgba(128,0,0) , rgba(108,0,0));
    color:#f2f2f2;
    text-align:center;
}

.alert label {
    margin-left:10px;
    align-self:flex-start;
    color:black;
    font-size:18px;

}

.alert button {
    position: absolute;
    bottom: 5px;
    align-self:flex-end;
    width: 60px;
    border:none;
    outline:none;
    padding: 2px 5px;
    color: #f2f2f2;
    background-color: maroon;
    font-size: 18px;
    transition: 0.2s;
    margin-right:10px;
}

.alert button:hover{
    background-color: rgba(120, 120, 120,0.4);
}


@media (max-width: 853px){

    .contact-contents a,
    .contact-contents div {
        width:90%;
    }

}
@media (min-width: 854px) and (max-width: 905px){

    .contact-contents {
    column-gap: 1%;
}
    .contact-contents div {
    width:410px;
}
}