body {
    margin: 0 auto;
    font-family: 'Pixelify Sans', monospace;
    /*background-color: #111;
    color: #fff;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url("res/bg.png");
    background-repeat: repeat;
}
.hero {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    color: #fff;
    text-shadow: 0px 4px 2px rgba(0, 0, 0, 1);
    /*background: linear-gradient(180deg, #ffffff, #e2e1e1);*/
    background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ),url("res/Banner.jpg");
    background-size: cover;
    background-position-y: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}
.hero h1 {
    font-size: 3rem;
    margin: 0;
}
.hero p {
    font-size: 1.2rem;
    margin-top: 10px;
}
.social-buttons {
    display: flex;
    gap: 15px;
    padding: 5px;
    border-radius: 20% / 40%;
}
.social-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #c7c7c7;
    text-decoration: rgb(255, 255, 255);
    color: #fff;
    transition: background-color 0.3s;
    transition: all .15s ease-in-out;
}
.social-buttons a:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 10px 10px;
    transform: translate3d(0px, -5px, 0px);
}
.social-buttons img {
    width: 100%;
    height: 100%;
}

.telegram-button {
    margin-top: 50px;
    display: flex;
    border-radius: 5% / 7%;
    flex-direction: column;
    align-items: center;
    background-color: whitesmoke;
    padding: 10px;
}
.telegram-button a {
    width: 200px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
}

.telegram-button h2 {
    background: linear-gradient(to right, red, rgb(255, 217, 0), green, blue, indigo, violet);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.telegram-button img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin: none;
    border-radius: 5% / 15%;
}

.section {
    margin: 50px 0;
    padding: 20px;
    background-color: #e6dfc6;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    flex-grow: 1;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 10px;
}
.section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #57637a;
    border-radius: 8px;
    margin: 15px;
}
.section-text {
    display: flex;
    flex-direction: column;
    width: 80%;
    align-items: center;
    background-color: #cee76a;
    border-radius: 8px;
    margin: 20px;
    padding: 20px;
    box-shadow: inset rgba(134, 136, 123, 0.9) 0px 2px 2px;
}
.img-container {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    height: auto;
    margin: 0 auto;
}
.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    border-radius: 10%;
}
.signup {
    margin: 30px 0;
    padding: 20px;
    background-color: whitesmoke;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    flex-grow: 1;
}
.signup h2 {
    margin: 0 0 15px;
}
.signup form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
.signup label {
    margin-top: 10px;
    text-align: left;
}
.signup input[type="email"],
.signup input[type="telegram"] {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    font-size: 1rem;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: white;
}
.signup button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: #00b894;
    color: #fff;
    cursor: pointer;
}
.signup button:hover {
    background-color: #00906d;
}
.signup button:disabled,
.signup button[disabled]{
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

footer {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    background-color: whitesmoke;
    color: #494949;
    margin-top: 20px;
    position: sticky;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: whitesmoke;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    text-align: center;
}
.popup.visible {
    display: block;
}

#signup {
    scroll-behavior: smooth;
}