/* font-family: 'Bebas Neue', cursive; */
/* font-family: 'Poppins', sans-serif; */
/* 
    background: #5200ff;
    color: white;
    background: #ededed;
    border: 1px solid #c7c7c7;
 */

/* box-sizing: border-box for fit it to border ( for include padding and border in element width and height calculation ) -avs  */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.left-col {
    background: #5200ff;
    color: white;
    text-align: center;
    /* position relative for its child -avs */
    position: relative;
}

.left-col::before {
    content: "";

    /* position absolute to its parent -avs */
    position: absolute;

    /* top 0 left 0 for fit it to left corner, width 100% height 100% for fit it to full screen based on parent -avs  */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* background-size: cover for cover the whole background, background-position: 100% for centering it based on parent -avs */
    background: url("../images/Available-Today-1.webp") no-repeat;
    background-size: cover;
    background-position: 100%;
    opacity: 0.22;
}

.content-avs {
    position: relative;
    z-index: 1;
}

.left-col,
.right-col {
    padding: 6.75rem 8vw;
}

h1 {
    margin: 0;
    font-family: 'Bebas Neue', cursive;
    font-weight: normal;
    font-size: 4rem;
    line-height: 1.2em;
}

p {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.2em;
}

label {
    display: block;
    font-size: 1.125rem;
    margin-bottom: .77rem;
}

input {
    width: 100%;
    background: #ededed;
    border: 1px solid #c7c7c7;
    font-size: 1rem;
    padding: .75rem;
    /* outline none for remove the outline when select input field -avs  */
    outline: none;
    margin-bottom: 2.5em;
}

button {
    width: 100%;
    background: #5200ff;
    font-size: 1.125rem;
    padding: 1em;
    color: white;
    border: none;
    cursor: pointer;
}

.developerRight {
    display: none;
}

x-card,
x-layout {
    display: block;
}

@media only screen and (min-width: 768px) {

    .form {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 2em;
    }

    button {
        width: auto;
        padding: 1em 2.5em;
    }
}

@media only screen and (min-width: 1024px) {

    main {
        display: flex;
    }

    .left-col,
    .right-col {
        /* flex-basis: 0; size of flex item to 0 and grow to 1 so flex item will take all available space equally -avs  */
        flex-basis: 0;
        flex-grow: 1;
        height: 100vh;

        display: grid;
        place-items: center;
    }

    .left-col {
        text-align: right;
    }
}




/* #developerRight ! Hi there. This project is completely open for you. You can study it or use in your project. But I will appreciate if you at least give me the credit. Thanks, take care and stay safe. https://github.com/Autorun-AVS  */