
body {
    place-items: center;
    
}
.reg-container {
    margin-top: 5%;
    display: grid;
    background: #020814;
    padding: 25px 20px;
    border: 2px solid #fa8128;
    border-radius: 12px;
    width: 400px;  
}
.reg-container  form{
    display: grid;
    box-sizing: border-box;
    gap: 2px;
}

.reg-container  a  img {
    justify-self: center;
    display: block;
    margin: 0 auto 15px auto;
    width: 150px;
}

h2 {
    text-align: center;
    font-size: x-large;
    font-weight: 700;
    margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    box-sizing: border-box;
    background-color: #1b1f36;
    color: #ffffff;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder {
    color: #cccccc;
}

input[type="submit"] {
    justify-self: center;
    padding: 10px 20px;
    background-color: #1db954;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkbox-label {
    font-size: 0.9rem;
}

a {
    color: #FA8128;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.popup {
    display: none; 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #020814;
    padding: 20px;
    border: 2px solid #fa8128;
    border-radius: 12px;
    z-index: 1000;
    color: white;
}

@media screen and (max-width: 450px) {
    .reg-container form {
        width: 90%;
        padding: 20px;
    }

    .reg-container a  img {
        width: 120px;
        margin-bottom: 10px;
    }
}
