:root {
    --dark-bg: rgba(15, 15, 15, 0.95);
    --spacing: 350px;
  
    font-family: brandon-grotesque, sans-serif;
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: var(--dark-bg);
    color: white;
}

.image_sec {
    display: flex;
    flex-wrap: wrap;
}

.image_box {
    flex: 50%;
    flex-grow: 1;
    position: relative;
}

.image_text {
    position: absolute;
    z-index: 1;
    top: 1rem;
    left: 1rem;
    bottom: 1rem;
    right: 1rem;
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.image_text:hover {
    opacity: 1;
    transition: opacity 1s ease-in;
}

.image_image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

@media all and (min-aspect-ratio: 16/10) {
    .image_box {
        flex: 33.33%;
    }
}

@media all and (max-aspect-ratio: 1/1) {
    .image_box {
        flex: 100%
    }
}