@font-face {
    font-family: delux;
    src: url(/fonts/Deluxe.ttf);
}
body{
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
}
.welcome{
    padding: 20px;
    font-size: 20px;
    text-align: center;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
.welcome-image{
    width: 100%;
}
.midle{
    background-color: rgb(8, 8, 8);
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    max-height: 250px;
    overflow: hidden;
    position: relative;
    text-align: center;
    gap: 40px;
    border-radius: 10px;
    color: #CFD7E3;
}
.midle-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px;
    color: #CFD7E3;
}
.midle-item img{
    width: 100px;
    height: auto;
    margin-bottom: 8px;
    padding: 5px;

}
.midle-item label{
    font-size: 18px;
    color: #CFD7E3;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
.join{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110px;
    max-height: 250px;
    overflow: hidden;
    position: relative;
    text-align: center;
    gap: 40px;
    border-radius: 10px;
}
input[type=email]{
    width: 300px;
    height: 40px;
    border: none;
    border-radius: 5px;
    background-color: white;
    color: #000000;
    font-size: 17px;
    outline: none;
    padding-left:5px;
}
input[type=email]:focus{
border: 2px solid rgb(196, 196, 196);

}

input[type=submit]{
    width: 300px;
    height: 40px;
    border: none;
    border-radius: 5px;
    background-color: #ffffff;
    color: #000000;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    margin: 10px;
}

input[type=submit]:hover{
    background-color: #1e293b;
    color: white;
    transition: color 0.3s ease;
    transition: background-color 0.3s ease;
}
@media (max-width: 768px) {
    .midle {
        flex-direction: column;
        height: auto;
        max-height: none;
        gap: 0;
        width: 90%;
        margin: 0 auto;
    }

    .midle-item {
        margin: 15px;
    }

    .midle-item img {
        width: 70px;
    }

    .midle-item label {
        font-size: 14px;
    }

    .welcome {
        font-size: 16px;
        padding: 15px;
    }

    .join {
        flex-direction: column;
        height: auto;
        gap: 15px;
        width: 90%;
        margin: 0 auto;
    }

    input[type=email],
    input[type=submit] {
        width: 90%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .midle-item img {
        width: 50px;
    }

    .midle-item label {
        font-size: 12px;
    }

    .welcome {
        font-size: 14px;
    }

    input[type=email],
    input[type=submit] {
        font-size: 14px;
    }
}
