/* General styles */
body {
    margin: 0;
    padding: 0;
    background: url('https://bitcoinspace.info/assets/img/landing/BackGround.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    position: relative;
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styling */
.logo {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* left panel styling */
.left-panel {
    position: absolute;
    left: 5%;
    top: 10%;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Bottom-left 18+ image */
.bottom-left img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* Information panel */
.info-panel img {
    width: 110%;
    height: auto;
}

/* Button container */
.button-container {
    display: grid;
    gap: 10px;
    width: 100%;
}

/* Large screens: 2x2 grid */
@media (min-width: 768px) {
    .button-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small screens: Adjust layout */
@media (max-width: 767px) {
    .button-container {
        grid-template-columns: 1fr;
        width: 80%; /* Adjust width for small screens */
    }
    .login-container {
        flex-direction: column; /* Change to column layout on small screens */
        align-items: center; /* Center align items */
    }
    .logo {
        position: static; /* Allow it to flow naturally */
        transform: none; /* Remove translation */
        width: 60%; /* Adjust width for small screens */
        margin-bottom: 20px; /* Add spacing below the logo */
    }
    .left-panel {
        right: auto; /* Remove the stick-to-right effect */
        position: static; 
        width: 100%;
        align-items: center; 
    }
    .bottom-left img {
        width: 100%; /* Adjust size for small screens */
        margin-bottom: 10px; /* Add spacing below the 18+ image */
    }
    .info-panel img {
        width: 100%; /* Adjust size for small screens */
        margin-bottom: 20px; /* Add spacing below the information panel */
    }
    .button-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    .button-container button {
        width: 70%;
    }
}

/* Remove native button styling */
.button-container button {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.button-container button img {
    width: 100%;
    height: auto;
    display: block;
}