/* General Styles */
body {
    background-image: url(/assets/images/image.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    color: black;
    font-family: "Oswald", sans-serif;
}

.white {
    color: white !important;
}

.header {
    text-align: center;
    color: white;
    padding: 5px;
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.congrats {
    text-align: center;
    color: white;
    background-color: #0A3161;
    padding: 20px;
}

.investment {
    padding: 40px;
    color: white;
    text-align: center;
}

/* Flexbox Layouts */
.flexbox,
.flexbox2,
.flexbox3 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin: 20px;
    border-radius: 20px;
}

.flexbox {
    border: 1px solid #FFD700;
    background-color: #0A3161;
    opacity: 0.95;
}

.flexbox2 {
    text-align: center;
    background-color: #13004a;
    border: 1px solid #FFD700;
    opacity: 0.95;
    padding: 20px;
}

.flexbox3 {
    text-align: center;
}

/* Box Styles */
.box,
.box2,
.box3 {
    text-align: center;
    color: white;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
}

.box {
    width: 30%;
    height: 220px;
    border-bottom: 1px solid #FFD700;
}

.box2,
.box3 {
    width: 45%;
    height: 250px;
}

.boxed {
 border: 3px solid #FFD700;
    border-radius: 20px;
    margin: auto;
    width: 50%;
    min-width: 220px;
    max-width: 400px;
    min-height: 70px;
    padding: 20px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    background: none;
    color: white;
    text-align: center;
}

/* Form Styles */
.formflex {
    width: 30%;
    background-color: #0A3161;
    border: 1px solid #FFD700;
    border-radius: 20px;
    margin: auto;
    font-weight: bold;
    margin-top: 10%;
    text-align: center;
    padding: 20px;
}

/* Image Section & Containers */
.image-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px;
    background-color: #13004a;
    border: 1px solid #FFD700;
    border-radius: 20px;
}

.image-container {
    flex: 1;
    max-width: 48%;
    min-width: 400px;
    box-sizing: border-box;
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Progress Bar & Info */
.progress-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: none;
    width: 100%;
}

.progress {
    width: 220px;
    margin-bottom: 18px;
}

#activeProgressBar {
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
}

#cashoutTimer {
    margin-top: 8px;
    display: block;
    color: #FFD700;
    font-weight: bold;
    font-size: 1.2em;
}

/* Responsive Images */
.responsive-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Card Styles */
#kurasel {
    background-color: white;
    height: 500px;
    border-radius: 15px;
    border: 2.5px solid gold;
    width: 94%;
    margin: auto;
}

.amfCard {
    width: 40%;
    height: 70%;
}

/* Mobile & Tablet Responsive Styles */
@media (max-width: 1024px) {
    .image-section {
        flex-direction: column;
        align-items: center;
    }
    .image-container {
        max-width: 100%;
        min-width: 0;
        margin: 10px auto;
    }
    .responsive-image {
        width: 100%;
        height: auto;
    }
    .box,
    .box2,
    .box3 {
        width: 100%;
        height: auto;
        margin: 20px 0;
    }
    .boxed {
        width: 70%;
        height: 100px;
    }
    .formflex {
        width: 80%;
    }
    .amfCard {
        width: 80%;
        height: 60%;
    }
    .flexbox,
    .flexbox2,
    .flexbox3 {
        flex-direction: column;
        margin: 20px 0;
    }
}

/* Small Mobile Devices */
@media (max-width: 540px) {
    .image-section {
        gap: 10px;
        margin: 10px;
    }
    .image-container {
        margin: 10px 0;
    }
    .progress {
        width: 100%;
    }
    .boxed {
        width: 90%;
        height: 80px;
    }
    .formflex {
        width: 95%;
    }
    .amfCard {
        width: 95%;
        height: 90%;
    }
}

/* Utility Classes */
.white {
    color: white !important;
}