@font-face {
    font-family: regular;
    src: url(../fonts/Poppins/Poppins-Regular.ttf);
}

@font-face {
    font-family: boldd;
    src: url(../fonts/Poppins/Poppins-Bold.ttf);
}

@font-face {
    font-family: mediumm;
    src: url(../fonts/Poppins/Poppins-Medium.ttf);
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root {
    --main-color: #e3d12d;
    --primary-color: #253158;
    --secondary-color: #ededed;
    --back-color: #eeeeee;
}

main {
    /* border: 2px solid red; */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.form-container {
    background: #fff;
    width: 60%;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.291);
}

h2 {
    margin-bottom: 20px;
    font-size: 22px;
    font-family: mediumm;
    font-weight: bold;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    /* font-weight: bold; */
    font-family: regular;
    color: var(--primary-color);
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}

.btn-next {
    background-color: var(--primary-color);
    padding: 5px 10px;
    color: var(--secondary-color);
    transition: .3s;
}

.btn-next:hover {
    background-color: var(--main-color);
    padding: 5px 10px;
    color: var(--primary-color);
}

.btn-prev {
    background-color: #6c757d;
    padding: 5px 10px;
    transition: .3s;
    color: var(--secondary-color);
}

.btn-prev:hover {
    background-color:hsl(206, 8%, 36%);
    color: var(--secondary-color);
}

.btn-submit {
    background-color: #28a745;
    padding: 5px 10px;
    transition: .3s;
    color: var(--secondary-color);
}

.btn-submit:hover{
    background-color: #10822b;
    padding: 5px 10px;
    color: var(--secondary-color);
}

.hidden {
    display: none;
}

@media(max-width:750px){
    .form-container {
    width: 80%;
}
}

@media(max-width:450px){
    .form-container {
    width: 90%;
}
}