*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background: url(../../images/sea.jpg);
    background-size: cover;
    background-position: center;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    color: rgb(255, 255, 255) !important;
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-block: 20px;
    margin-inline: 50px;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.1);
    min-width: 30vw;
    min-height: 70vh;
    padding: 30px 40px;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 1rem;
    box-shadow: 10px 10px 100px 5px rgb(0, 10, 10);
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

h1 {
    font-size: 38px;
    text-shadow: 0 0 7px rgb(255, 255, 255);
    letter-spacing: 3px;
}

h4 {
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 15px;
    color: rgb(215, 250, 255);
    font-family: 'Poppins', 'Helvetica Neue', Helvetica;
}

p {
    font-family: "Lato", "Helvetica Neue", Helvetica, Arial;
    font-size: 15px;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 13px;
    position: relative;
    background-color: rgb(230, 230, 230);
    font-size: 14px;

    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease-in-out;
    margin-bottom: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

input:focus {
    outline: none;
    background-color: rgb(255, 255, 255);
    border: 2px solid #2d79f3;
}

.auth-btn-container {
    min-width: 40vh;
    display: flex;
    justify-content: center;
}

.sign-in-btn, .register-btn {
    padding: 13px;
    background-color: #1267f9;
    border: none;
    color: white;
    font-family: "Poppins", "Helvetica Neue", Helvetica, Arial;
    font-weight: 500;
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    flex: 1;
}

.sign-in-btn {
    margin-left: 5px;
}

.sign-in-btn:hover {
    background-color: #155ddb;
}

.sign-in-btn:active {
    background-color: #1252c1;
}

.register-btn {
    background-color: #ffffff;
    color: black;
    flex: 1;
}

.register-btn:hover {
    opacity: 0.9;
}

.register-btn:active {
    opacity: 0.8;
}

.have-account-row {
    margin-top: 10px;
}

.login-link {
    color: rgb(0, 174, 255);
}

@media (max-width: 768px) { 
    .input-box, .auth-btn-container{
        transform: scale(0.8);
    }
}

@media (max-width: 576px) { 
    .input-box, .auth-btn-container{
        transform: scale(0.7);
    }
}

@media (max-width: 480px) { 
    .input-box, .auth-btn-container{
        transform: scale(0.6);
        height: 60px;
    }

    header, .have-account-row {
        transform: scale(0.6);
        margin-top: 0;
    }

    h1 {
        font-size: 25px;
    }
}
