/* style.css - Main styling */
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #212529;
}

.height-40 {
    height: 40px;
}

.height-60 {
    height: 60px;
}

.bg-purple {
    background-color: #7c34d8;
}

.text-blue {
    color: #7c34d8;
}

/* Replace fixed margins with responsive values */
.m-top {
    margin-top: 20vh; /* 20% of viewport height instead of fixed 250px */
}

.m-left {
    margin-left: 8vw; /* Percentage of viewport width */
}

.m-left200 {
    margin-left: 15vw; /* Larger percentage for what was 200px */
}

.page-m-right {
    margin-right: 8vw; /* Percentage of viewport width */
}

.m-top150 {
    margin-top: 12vh; /* Percentage of viewport height */
}

.m-top300 {
    margin-top: 25vh; /* Percentage of viewport height */
}

.m-top450 {
    margin-top: 35vh; /* Percentage of viewport height */
}

/* Generic animations - rename to avoid conflicts */
.page-spawnFade,
.page-spawnSlide {
    opacity: 0.1;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Page button styling - renamed to avoid conflicts */
.page-animatedButton {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-animatedButton:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(1.05);
}

.page-animatedButton:active {
    transform: scale(0.95);
}

.page-centerText {
    text-align: center;
}

.width70 {
    width: 70%;
    max-width: 1200px; /* Add a maximum width */
    margin-left: auto;
    margin-right: auto;
}

/* Add media queries for better control */
@media (max-width: 768px) {
    /* Adjustments for smaller screens */
    .m-left, .page-m-right {
        margin-left: 5vw;
        margin-right: 5vw;
    }

    .m-left200 {
        margin-left: 10vw;
    }

    .width70 {
        width: 90%;
    }
}

@media (min-width: 1600px) {
    /* Adjustments for very large screens */
    .width70 {
        width: 60%;
    }
}