@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #f5f5f5;
}

.df {
    display: flex;
    align-items: center;
    justify-content: center;
}

#loginAndRegister {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 110rem;
    /* background: #fff; */
    border-radius: 1rem;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.ahuiaga {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.cnctLeft {
    flex: 1 1 45rem;
    padding: 2rem 4rem;
}

.cnctRight {
    flex: 1 1 45rem;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cnctRight img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 20rem 0;
}

.heading h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111;
}

.miniHeading h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #555;
}

.mainCnct {
    margin-top: 4rem;
}

.mainCnct .email,
.mainCnct .password {
    position: relative;
    margin-bottom: 3rem;
}

.input-field {
    width: 100%;
    font-size: 1.6rem;
    padding: 1rem 0.5rem;
    border: none;
    border-bottom: 0.1rem solid #bbb;
    background-color: transparent;
    outline: none;
}

.input-field:focus {
    border-bottom: 0.2rem solid #333;
}

label {
    position: absolute;
    left: 0.5rem;
    top: 1rem;
    font-size: 1.4rem;
    color: #999;
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-field:focus + label,
.input-field:not(:placeholder-shown) + label {
    top: -1.2rem;
    font-size: 1.2rem;
    color: #333;
}

.footer {
    margin-top: 3rem;
}

.footer button {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    font-weight: 500;
    border: none;
    border-radius: 3rem;
    background: linear-gradient(90deg, #151515, #333);
    color: #fff;
    cursor: pointer;
    transition: 0.4s;
}

.footer button:hover {
    background-position: right center;
    background-color: #000;
}

.footer a {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.4rem;
    color: #666;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .cnctLeft,
    .cnctRight {
        flex: 1 1 100%;
    }

    .cnctLeft {
        padding: 4rem 2rem;
    }

    .cnctRight img {
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }

    .container {
        box-shadow: none;
    }

    .heading h2 {
        font-size: 2.4rem;
    }

    .miniHeading h3 {
        font-size: 1.8rem;
    }

    .footer button {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .cnctRight {
        display: none; /* Hide image on very small screens */
    }

    .cnctLeft {
        padding: 3rem 2rem;
    }

    .footer button {
        padding: 1.2rem;
    }

    .footer a {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .cnctRight {
        display: none; /* Hide image on very small screens */
    }

    .cnctLeft {
        padding: 3rem 2rem;
    }

    .footer button {
        padding: 1.2rem;
    }

    .footer a {
        font-size: 1.2rem;
    }
}
