@media (max-width: 768px) {

    /* Tabs mobile*/
    .tab-btn {
        width: 100%;
        height: 180px;
        margin: .1rem;
        padding: auto;
    }

    .tab-btn img {
        float: left;
        height: 100%;
        padding: 7.23%
    }

    .tab-col {
        margin: 0;
        padding: 0;
    }

    .wrapper {
        padding: 0;
        width: 100%;
    }

    .tab-ctn {
        margin: auto;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        padding: 1vw;
        width: 100%;
    }

    .tab-ctn::before {
        content: "";
        width: 1px;
        margin-left: -1px;
        float: left;
        height: 0;
        padding-top: 25%;
    }

    .tab-ctn::after { /* to clear float */
        content: "";
        display: table;
        clear: both;
    }

    .tab-ctn img {
        float: right;
        width: 100%;
        box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.75);
        margin-bottom:1rem;
    }

    /* Slider */
    .slider {
        padding-top: calc(56.25%);
        position: relative;
        box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.75);
    }

    .slider > iframe {
        position: absolute;
        left: 0;
        top: 0;
        transition: all 0.5s;
        z-index: 0;
    }

    .slider > .description {
        margin-top: calc(54% + 80px);
        padding: 15px;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        transition: all 0.5s;
        z-index: 0;
        height: 14rem;
        overflow: auto;
    }

    .slider input[name='slide_switch'] {
        display: none;
    }

    .slider label {
        margin: 15px 2%;
        width: 21%;
        float: left;
        cursor: pointer;
        transition: all 0.5s;
        opacity: 0.6;
        box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.75);
        margin-bottom: 15rem;
    }

    .slider label img {
        display: block;
        width: 100%;
    }

    .slider input[name='slide_switch']:checked + label {
        opacity: 1;
    }

    .slider input[name='slide_switch'] ~ iframe {
        opacity: 0;
        transform: scale(1.1);
    }

    .slider input[name='slide_switch'] ~ .description {
        opacity: 0;
    }

    .slider input[name='slide_switch']:checked + label + iframe {
        opacity: 1;
        transform: scale(1);
        z-index: 1;
    }

    .slider input[name='slide_switch']:checked + label + iframe + .description {
        opacity: 1;
        z-index: 1;
    }

    .image-dark,
    .image-light,
    .image-dark-light {
        display: none;
        width: 200px;
    }

    .image-dark-light{
        display: inline-block;
    }

    [data-bs-theme="dark"] .image-dark {
        display: inline-block;
    }

    [data-bs-theme="light"] .image-light {
        display: inline-block;
    }

    h1 {
        font-family: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Oxygen, Ubuntu, Cantarell, "Open Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-weight: 900;
    }

    .rounded-zoom {
        transition-duration: 0.25s;
        width: 650px;
        border-radius: 12px;
    }

    .hovergallery img:hover {
        transform:scale(1.02);

    }

    input:hover {
        box-shadow: 0 0 8px #ccc;
    }

    .img-container {
        display: flex;
        align-items: center;
    }

    .text {
        margin: 3rem;
    }

    .colorized {
        filter: invert(52%) sepia(32%) saturate(4611%) hue-rotate(160deg) brightness(93%) contrast(101%);
        width: 30px;
    }

    .hrsmall {
        width: 90%;
        margin: 5px;
    }

    .tab-btn img {
        display: none;
    }

    .tabs button {
        height: 3vw;
        width: auto;
        pointer-events: none;
        background-color: transparent;
    }

    .tabs p {
        text-transform: uppercase;
        color: white;
        opacity: 1;
        font-size: bold;
        font-family: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Oxygen, Ubuntu, Cantarell, "Open Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-weight: 900;
        font-size: 5vw;

    }

    .tabs h4 {
        font-size: .67em;
        font-weight: bolder;
    }

    .chevron-icon {
        width: 5vw;
    }

    #tab-widget-section {
        padding: 1200px 0;
    }

}

