.promo-window {
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 14 / 8;
    box-shadow: 0px 0px 2px 0px rgb(0 0 0 / 0.2);
    border-radius: 4px;
    
}

.promo-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;

    background-position: bottom 10% right 50%;
    background-size: contain;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    transition: transform ease-in-out 500ms;

    touch-action: pan-y;
    user-select: none;
    -webkit-user-drag: none;
    
}
.promo-selector {
    width:100%;
    height:16px;
    position:absolute;
    left: 0;
    bottom: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    pointer-events: none;
}
.promo-selector-item {
    background-color: white;
    width: 16px;
    height: 16px;
    border-radius: 8px;
    transition: ease-in-out 100ms;
    border: 1px solid #BBBBBB;
    box-shadow: 0px 0px 2px rgb(0 0 0 / 0.1);
    pointer-events: auto;
    
}
.promo-selector-item:not(.selector-current) {
    cursor: pointer;
}
.selector-current {
    background-color: var(--company-color);
}
.promo-selector-item:hover:not(.selector-current) {
    background-color: #EEEEEE;
    
}

.promo-textbox {
    background-color: rgb(0 0 0 / 0.5);
    border-radius: 4px;
    box-shadow: 0px 0px 2px rgb(0 0 0 / 0.2);
    position: relative;
    top: 4px;
}

.promo-textbox p {
    padding: 5px;
    color: white;
    font-size: 2.0rem;
    line-height: calc(2.0rem * 1.5);
    font-weight: 600;
}


/* .section-main .wrapper {
    box-shadow: 0px 0px 4px rgb(0, 0, 0, 0.2);
} */

.brand-main-list {
    margin-top: 20px;
}

.brand-main {
    box-shadow: 0px 0px 2px rgb(0 0 0 / 0.5);
    border: 2px solid rgb(255 255 255 / 0);
    margin: 20px 0px;
    border-radius: 20px;
    /* min-height: 150px; */
    transition: ease-in-out 100ms;
    overflow: hidden;
}

.brand-main:hover {
    background-color: #FAFAFA;
    border: 2px solid grey;
}
.brand-main:hover > a > img {
    transform: scale(104%);
}

.brand-main > a {
    /* display: block; */
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 20px;
    padding: 20px;
    background-position: center;
    background-size: cover;
    justify-content: center;
    
}

.brand-main > a > img:first-child {
    width: 200px;
    transition: ease-in-out 500ms
}
.brand-main > a > img:last-child {
    width: 250px;
    /* flex-shrink: 0; */
    transition: ease-in-out 500ms;
    
}
.brand-main > a > p {
    flex-basis: 300px;
    flex-grow: 1;
    font-weight: 500;
}


.brand-other-list {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20px;
}

.brand-other {
    display:flex;
    box-shadow: 0px 0px 4px rgb(0 0 0 / 0.2);
    margin: 20px 0px;
    border-radius: 20px;
    min-height: 100px;
    transition: ease-in-out 100ms;
}

.brand-other:hover {
    background-color: #FAFAFA;
}

.brand-other > a {
    /* display: block; */
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;

}

.brand-other > a > img {
    width: 200px;
}


.application-main-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
}

.application-main {
    flex-basis: 360px;
    box-shadow: 0 0 2px rgb(0 0 0 / 0.5);
    border-radius: 20px;
    border: 2px solid rgb(255 255 255 / 0);
    transition: 100ms ease-in-out;

}
.application-main:hover {
    background-color: #FAFAFA;
    border: 2px solid grey;

}
.application-main:hover > a > img{
    transform: scale(102%);

}

.application-main > a {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 20px;
    flex-direction: column;
    justify-content: space-between;
}
.application-main > a > h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.application-main > a > img {
    object-fit: cover;
    width: 100%;
    height: 200px;
    border-radius: 4px;
    transition: 500ms ease-in-out;
    
}
.top-level-container.special a {
    font-size: 2rem;
    font-weight: 600;
    border: 2px solid var(--company-color);
    padding: 10px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    width:max-content;
    box-shadow: 0px 0px 2px var(--company-color);
    transition: 100ms ease-in-out;
    /* background-color: #FFFFFF; */
}
.top-level-container.special a:hover {
    transform: scale(102%);
    background-color: #FAFAFA;
}

@media only screen and (max-width: 950px) {
    .promo-window {
        aspect-ratio: unset;
        height: 500px;
    }
    .promo-link {
        background-position: bottom 30% right 50%;
    }
    .promo-textbox {
        max-width: 80%;
    }
    .promo-textbox p {
        font-size: 1.6rem;
        line-height: calc(1.6rem * 1.5);
    }
    .brand-main > a {
        flex-direction: column;
    }
    .brand-main > a > p {
        text-align: center;
        flex-basis: 1px;
        flex-grow: 1;
    }
    .brand-main > a > img:first-child {
        width: 150px;
    }
    .brand-main>a>img:last-child {
        width: 200px;
    }

    .application-main > a > h3 {
        font-size: 2rem;
    }
    .top-level-container.special a {
    justify-self: center;
}
}