.iconClass {
    position: relative;
}

.iconClass span {
    position: absolute;
    top: 0px;
    right: 52%;
    display: block;
}

.carousel-inner {
    height: 0;
    padding-bottom: 25%;
    /* this sets carousel aspect ratio (4:1 here) */
}

.carousel-item {
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.carousel-item .warning-image {
    margin-top: 10px;
    max-width: 26vw;
    min-width: 26vw;
    object-fit: fill;
    margin-bottom: 0;
}

.carousel-item img {
    max-width: 40vw;
    min-width: 40vw;
    object-fit: fill;
    margin-bottom: 0;
}

.dropdown-large {
    color: white;
    position: absolute;
    top: 30%;
    padding: 10px;
    min-width: 750px;
    background-color: #212529;
    border: solid #FFC107;
    opacity: 0.9;
}

@media (max-width: 970px) {
    .carousel-inner {
        height: 35vh;
    }

    .dropdown-large {
        color: white;
        position: absolute;
        top: 30%;
        padding: 10px;
        min-width: 250px;
        background-color: #212529;
        border: solid #FFC107;
        opacity: 0.9;
        border-radius: 10px;
    }

    .carousel-item {
        background-color: rgba(248, 247, 216, 0.7);
    }

    .carousel-item .warning-image {
        margin-left: 20vw;
        max-width: 58vw;
        object-fit: fill;
        margin-bottom: 0;
    }

    .carousel-item img {
        max-width: 100vw;
        object-fit: fill;
    }
}

.tringulo-title {
    color: #FFC107;
    text-shadow: 2px 2px black;
}

.tringulo-link {
    color: #FFC107;
    text-shadow: 2px 2px black;
}

.tringulo-link:hover {
    color: #E3DE5F;
    text-shadow: 2px 2px black;
}