@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@500;700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700');

* {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    color: #DEDEDE;
}

body {
    background-color: #040404;
}

input[type=text],
input[type=phone],
input[type=email] {
    border: none;
    outline: none;
    border-bottom: 3px solid #4e4e4e;
    width: 25%;
    color: #fff;
    font-size: 16px;
    padding: 15px 29px;
    background: none;
}

input[type=radio] {
    width: 20px;
    height: 20px;
}

.container form label {
    font-size: 16px;
    color: #818181;
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type=submit] {
    border: none;
    background-color: #4e4e4e;
    border-radius: 25px;
    width: 300px;
    padding: 15px;
    color: #fff;
    text-transform: uppercase;
    transition: 0.3s;
}

input[type=submit]:hover {
    -webkit-box-shadow: 1px 0px 25px 10px rgba(192, 192, 192, 0.2);
    -moz-box-shadow: 1px 0px 25px 10px rgba(192, 192, 192, 0.2);
    box-shadow: 1px 0px 25px 10px rgba(192, 192, 192, 0.2);
    cursor: pointer;
}

input[type=submit]:active {
    cursor: pointer;
    scale: 0.95;
    opacity: 0.7;
}

.container {
    margin: 1% 7%;
}

.container h1 {
    font-family: 'Montserrat Alternates';
    font-weight: 700;
    font-size: 27px;
    text-transform: uppercase;
    color: #DEDEDE;
    margin-bottom: 30px;
    text-align: center;
}

.persondata {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 20px;
}

.lbl {
    font-weight: 600;
    padding: 20px 0;
    transform: translateX(30px);
    text-decoration: none;
}

.subm {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3% auto;
}

.back img {
    width: 50px;
}

.back img:hover {
    scale: 1.1;
    transition: .2s ease;
}

.back {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .lbl,
    .container form label,
    input[type=text],
    input[type=phone],
    input[type=email] {
        font-size: 16px;
    }
    input[type=text],
    input[type=phone],
    input[type=email] {
        width: 40%;
        padding: 10px 24px;
    }
    input[type=radio] {
        width: 16px;
        height: 16px;
    }
    .lbl{
        padding: 10px 0;
        transform: translateX(25px);
    }
    .subm {
        width: 100%;
    }
    input[type=submit] {
        width: 250px;
        padding: 12px;
        font-size: 12px;
    }
}
@media (max-width: 426px){
    .lbl,
    .container form label,
    input[type=text],
    input[type=phone],
    input[type=email] {
        font-size: 14px;
    }
    input[type=text],
    input[type=phone],
    input[type=email] {
        width: 90%;
        padding: 8px 20px;
    }
    input[type=radio] {
        width: 14px;
        height: 14px;
    }
    .subm {
        width: 100%;
    }
    input[type=submit] {
        width: 200px;
        padding: 10px;
        font-size: 10px;
    }
    .container h1 {
        font-size: 24px;
        margin: 0 25px;
    }
    .back img {
        width: 35px;
    }
}