/* Variables */
:root {
    --primary-color: #6369f5;
    --secondary-color: #f5f4fa;
    --text-color: #444444;
    --white-color: #fff;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body {
    min-height: 150vh;
     /*display: flex; */
    /* align-items: center;
    justify-content: center; */
    background-color: var(--secondary-color);
    place-items: center;
}

.container1{
    position: relative;
    width: 100%;
    max-width: 900px;
    align-items: center;
    justify-content: center;
    padding: 40px;
    display: flex;
    gap: 80px;
    border-radius: 10px;
    margin-top: 2rem;
    background-color: var(--white-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.left{
    width: 85%;
}

.heading{
    font-size: 35px;
    font-weight: 600;
    line-height: 1;
    color: var(--primary-color);
}

.text {
    font-size: 14px;
    color: var(--text-color);
    margin-top: 10px;
}

form {
    margin-top: 20px;
}

.inputBox {
    position: relative;
    margin-bottom: 20px;
}

.inputBox input,
.inputBox textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    color: var(--text-color);
    border: none;
    outline: none;
    background-color: var(--secondary-color);
}

.inputBox input ::placeholder,
.inputBox textarea ::placeholder {
    color: var(--text-color);
    opacity: 0.5;
    font-size: 12px;
}

.inputBox.error input,
.inputBox.error textarea {
    border-bottom: 1px solid red;
}

.inputBox:not(.error) input:focus,
.inputBox:not(.error) textarea:focus {
    border-bottom: 1px solid var(--primary-color);
}

.infoBox .err-msg {
    font-size: 10px;
    color: red;
}

.inputBox textarea{
    resize: none;
    height: 150px;
}

.btn{
    width: 100%;
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    color: var(--white-color);
    background-color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.5s;
}

.btn :hover {
    background-color: #4b52d8;
}

.right {
    width: 60%;
}

.illustration {
    display: flex;
    width: 100%;
    margin: 0 auto;
}

.illustration img {
    width: 70%;
    margin: auto;
    margin-top: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.infoBox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.infoBox .icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.infoBox .text {
    margin: 0;
}

.infoBox .text a{
    text-decoration: none;
    color: var(--text-color);
}

@media (max-width:600px) {
    .container1 {
        flex-direction: column;
        gap: 40px;
        padding: 20px;
        margin-top: 20%;
    }
    
    .left
    .right {
        width: 100%;
    }

    .contact-info {
        margin-top: 40px;
    }

}