@import "tailwindcss";

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

body {
    background: linear-gradient(135deg, #2d3e50, #243b42, #5e4545);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 16px;
    display: flex;
    flex-direction: column;
}

h1 {
    font-size: 65px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-center span {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 12px;
    margin: 0 6px;
    font-size: 3.5rem;
    font-weight: 900;
}

.h { background: #ff6f61; color: white; }
.r { background: #ffbb00; color: white; }
.m { background: #1e88e5; color: white; }
.s { background: #c9cc29; color: white; }

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.row {
    display: flex;
    width: 100%;
    flex-direction: row;
}

.img-container {
    background-image: url('../../public/images/bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 15px 0 0 15px;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.form-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 30px;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
}

.form-box h2 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 25px;
}

.input-item label {
    font-size: 16px;
    color: #555;
    font-weight: 600;
}

.input-item input {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #f5f5f5;
    transition: background 0.3s;
    color: #333;
}

.input-item input:focus {
    background: #e0e0e0;
    outline: none;
}

.btn {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    background: linear-gradient(90deg, #ff6f61, #ffbb00);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease, background 0.3s ease;
}

.errors {
    font-size: 14px;
    color: red;
    display: none;
}

.btn:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #ffbb00, #ff6f61);
}

a {
    display: inline-block;
    color: #ff6f61;
    font-size: 14px;
    margin-top: 15px;
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    color: #ffbb00;
    text-decoration: underline;
}

/*@media (max-width: 768px) {*/
/*    h1 {*/
/*        font-size: 50px;*/
/*        letter-spacing: 2px;*/
/*    }*/

/*    .container {*/
/*        padding: 30px;*/
/*        flex-direction: column;*/
/*        max-width: 100%;*/
/*    }*/

/*    .row {*/
/*        flex-direction: column;*/
/*    }*/

/*    .form-box {*/
/*        padding: 5px 10px;*/
/*    }*/

/*    .btn {*/
/*        font-size: 16px;*/
/*        padding: 14px;*/
/*    }*/

/*    .img-container {*/
/*        width: 100%;*/
/*        height: 200px;*/
/*    }*/
/*}*/

/*@media (max-width: 480px) {*/
/*    h1 {*/
/*        font-size: 40px;*/
/*    }*/

/*    .form-box {*/
/*        padding: 15px;*/
/*    }*/

/*    .input-item input {*/
/*        padding: 12px;*/
/*        font-size: 14px;*/
/*    }*/

/*    .btn {*/
/*        padding: 12px;*/
/*        font-size: 14px;*/
/*    }*/
    
    
/*}*/

@media only screen and (min-width: 320px) and (max-width: 575px){
    h1 {
    font-size: 25px;
    letter-spacing: 0px;
    margin-bottom: 10px;
}
.text-center span {
    padding: 10px 15px;
    margin: 0 2px;
    font-size: 25px;
}
 .img-container {
      width: 100%;
       height: 200px;
   }
   .form-box {
    padding: 25px 30px;
        border-radius: 0 0 15px 15px;
}
.img-container {
    border-radius: 15px 15px 0 0;
}

}

@media only screen and (min-width: 576px) and (max-width: 767px){
     .img-container {
      width: 100%;
       height: 200px;
   }
    .form-box {
        padding: 25px 30px;
           border-radius: 0 0 15px 15px;
        max-width: 100%;
        width: 100%;
    }
    .img-container {
    border-radius: 15px 15px 0 0;
}
}
