@import url(../index.css);

ul{
    list-style: none;
    padding-left: 0;
}

.help-header{
    padding: 100px 0;
    background: url(../Contact-background.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 70vh;
}

.help-header>div{
    min-height: 70vh;
    display: flex;
}

.help-header h1{
    color: rgb(45, 44, 44);
    font-size: 5rem;
    width: 50%;
    text-align: left;
    height: max-content;
    margin-top: 60px;
}

.contacts-hours{
    display: flex;
    justify-content: space-between;
}


.maps{
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#help .grid-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 0.8fr 0.3fr;
    gap: 20px;
    padding: 70px 0;
    height: 80vh;
}

.help-form-wrapper {
    display: none;
}

.map{
    grid-row: span 2;
}

iframe{
    height: 100%;
    width: 100%;
}

.location li{
    padding: 10px 0;
}

.contact{
    min-height: 89vh;
    padding: 2em;
    background-color: #F2B9C5;
    display: flex;
    align-items: center;
}

.contact-wrapper {
    display: flex;
    justify-content: space-around;
}

.form{
    background: #fff;
    width: 50%;
    min-height: 70vh;
    padding: 20px 40px;
    border-radius: 20px;
}

.contact h1{
    font-size: 3rem;
}
.contact form{
    display: flex;
    flex-direction: column;
}

.contact input{
    margin-bottom: 15px;
    height: 35px;
    border-radius: 10px;
    border: 1px solid #848484;
    padding-left: 10px;
}

input[type=text]:focus {
    outline: 1px solid #AA5F99;
  }

  textarea:focus{
    outline: 1px solid #AA5F99;
  }

.contact textarea{
    margin-bottom: 20px;
    height: 15vh;
    border-radius: 10px;
    border: 1px solid #848484;
    padding: 10px 10px;
}

.submit-btn{
    width: 40%;
    height: 40px;
    align-self: center;
    border-radius: 10px;
    background-color: #AA5F99;
    color: white;
    outline: none;
    border: none;
    transition: all 0.3s ease-in;
}

.submit-btn:hover{
    background-color: #fff;
    color: #AA5F99;
    border: #AA5F99 solid 1px;
}

.help-image-wrapper{
    align-self: center;
}

.help-image-wrapper img{
    border-radius: 20px;
}

.help-header h1 span{
    border-bottom: 15px solid rgb(45, 44, 44);
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 10px;
}


@media (max-width:600px){
    #help .grid-container{
        display: flex;
        flex-direction: column;
        padding:  0 20px;
        margin-bottom: 60px;  
    }

    .help-image-wrapper{
        display: none;
    }

    .help-form{
        flex-basis: 100%;
    }

    .map{
        height: 600px;
    }

    .contacts-hours{
        flex-direction: column;
    }

    .contact-wrapper{
        flex-basis: 100%;
    }

    .form{
        width: 100%;
    }

    .submit-btn{
        width: 70%;
    }

    .help-header h1{
        font-size: 4rem;
    }

    
}

@media (min-width:600px) and (max-width:800px){
    #help .grid-container{
        display: flex;
        flex-direction: column;
        padding: 70px 0;
    }

    .help-image-wrapper{
        display: none;
    }

    .map{
        height: 500px;
    }

    .form{
        width: 100%;
    }

    .submit-btn{
        width: 70%;
    }
}

