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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #0909e6, #ee08c0);
    padding: 5% 5%;
}

.container {
    max-width: 700px;
    width: 100%;
    background-color: #fff;
    padding: 30px 30px;
    border-radius: 10px;
}

.container .title {
    font-size: 25px;
    font-weight: 500;
    position: relative;
}

.container .title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 270px;
    height: 3px;
    background: linear-gradient(to right, #0909e6, #ee08c0);
}

.basic-input {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.basic-input .input-box {
    margin: 5px 0;
    width: calc(100% / 2 - 20px);
}

.input-box .details {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.optional {
    color: #ccc;
    font-size: 12px;
}

.input-box input {
    width: 100%;
    height: 45px;
    outline: none;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding-left: 15px;
    font-size: 16px;
    transition: all .50s ease;
}

.input-box input:focus,
.input-box input:valid {
    background-color: #ccc;
}

.drop-down-list {
    margin: 20px 0;
}

.drop-down-list .drop-down-heading {
    font-weight: 500;
}

.drop-down-list select {
    margin: 8px 0;
    width: 100%;
    height: 45px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding-left: 15px;
    font-size: 16px;
    transition: all .50s ease;
}

.radio-details {
    margin: 20px 0;
}

.radio-details .radio-title {
    font-weight: 500;
}

.radio-details .category {
    display: flex;
    width: 80%;
    margin: 5px 0;
    justify-content: space-between;
}

.category label {
    display: flex;
    align-items: center;
}

.category label .dot {
    width: 18px;
    height: 18px;
    background: #ccc;
    border-radius: 50%;
    margin-right: 10px;
    border: 5px solid transparent;
}

#dot-1:checked ~ .category label .one,
#dot-2:checked ~ .category label .two,
#dot-3:checked ~ .category label .three {
    border-color: #ccc;
    background: #0073ff;
}

form input[type="radio"] {
    display: none;
}

.checkbox {
    margin: 20px 0;
}

.checkbox .checkbox-heading {
    font-weight: 500;
}

.description {
    margin: 20px 0;
}

.description textarea {
    width: 100%;
    height: 90px;
    padding: 10px 15px;
    font-size: 15px;
    border-radius: 5px;
    transition: all .50s ease;
}

.description textarea:focus {
    background-color: #ccc;
    outline: none;
}

.button input {
    width: 100%;
    height: 45px;
    background: linear-gradient(to right, #0909e6, #ee08c0);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all .50s ease;
}



/* RESPONSIVE WEB DESIGN - MEDIA QUERIES */
@media screen and (max-width: 600px) {
    body {
        padding: 15% 10%;
    }

    .container .title::before {
        width: 50px;
    }

    .basic-input {
        flex-direction: column;
    }

    .basic-input .input-box {
        width: 100%;
    }

    .radio-details .category {
        flex-direction: column;
    }
}