/* Tags styling */
.tags a {
    display: inline-block;
    width: auto;
    padding: 8px;
    border: 2px solid white;
    border-radius: 8px;
    color: white;
    background: #000000;
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    margin-right:10px;
    margin-bottom:0px;
    text-decoration:none!important;
    font-size:12px;
}

.tags a:hover, .tags a.active{
    background: #ce0065;
    color: white;
}

.tags {
    align-self: start;
    text-align: start;
}

/* Ensure album list is set up for Flickity */
.vimeo-container .album-list {
    display: block; /* Important for Flickity */
    width: 100%;
    overflow: visible;
}

/* Make sure each video item has a defined size */
.vimeo-container .album-list .single-video-item {
    width: 22%; /* 4 videos per row */
    max-width: 22%;
    flex: 0 0 auto;
    height: auto;
    min-height: 180px;
    margin-right: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for transform and shadow */
    opacity: 1; /* Make sure it's visible */
    visibility: visible;
}

@media only screen and (min-width: 1500px) {
  .vimeo-container .album-list .single-video-item {
    width: 18%; /* 5 videos per row */
    max-width: 18%;
  }
}

.flickity-viewport {
    overflow: visible!important;
}

.vimeo-container .album-list .single-video-item .thumbnail {
    -webkit-transition: -webkit-transform .2s cubic-bezier(.2,2,.6,2);
    transition: -webkit-transform .2s cubic-bezier(.2,2,.6,2);
    transition: transform .2s cubic-bezier(.2,2,.6,2);
    transition: transform .2s cubic-bezier(.2,2,.6,2), -webkit-transform .2scubic-bezier(.2,2,.6,2);
	border-radius: 10px;
}
.vimeo-container .album-list .single-video-item .thumbnail {
    -webkit-box-shadow: 0 3px 20px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 20px rgba(0, 0, 0, .5);
    display: block;
}

.vimeo-container .album-list .single-video-item:hover .thumbnail {
    -webkit-transform: rotate(-1deg) scale(1.025);
    transform: rotate(-1deg) scale(1.025);
}

.vimeo-container .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox (Fullscreen Video Player) */
.vimeo-container .vimeo-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    place-items: center;
    padding-top: 150px;
    z-index: 1000;
}

.vimeo-container .vimeo-lightbox .content {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    text-align: center;
    position: relative;
}

.vimeo-container .video-container iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}

.vimeo-container .video-details h2 {
    color: #fff;
    font-size: 24px;
    margin-top: 10px;
}

.vimeo-container .video-details .desc {
    color: #ccc;
    font-size: 16px;
    margin-top: 5px;
}

/* Close Button */
.vimeo-container .close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 50%;
}

.vimeo-container .close-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Default: 4 items per row (Desktop) */
.vimeo-container .album-list .single-video-item {
    width: 25%;
    max-width: 25%;
    flex: 0 0 auto;
    min-height: 180px;
    margin-right: 10px; /* Default margin */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Make sure each video item has a defined size */
.vimeo-container .album-list .single-video-item {
    width: 22%; /* 4 videos per row */
    max-width: 22%;
}

@media only screen and (min-width: 1500px) {
  .vimeo-container .album-list .single-video-item {
    width: 18%; /* 5 videos per row */
    max-width: 18%;
  }
}

/* Tablet: Show 2 items per row */
@media (max-width: 1024px) {
    .vimeo-container .album-list .single-video-item {
        width: 48%; /* Reduce width to leave space for margin */
        max-width: 48%;
        margin-right: 4%; /* Ensure space between items */
    }
}

/* Mobile: Show 1 item per row with margin */
@media (max-width: 768px) {
    .vimeo-container .album-list .single-video-item {
        width: 75%; /* Reduce width to create space */
        max-width: 75%;
        margin: 0 auto 10px auto; /* Center and add bottom margin */
        min-height:130px!important;
    }
	
	.vimeo-container .album-list .single-video-item .thumbnail {
		width: 97%; /* Reduce width to create space */
        max-width: 97%;
	}
	
	.video-container iframe {
		height: fit-content!important;
	}

    .flickity-button {
        display: none;
    }

    .tags a {
        margin-bottom: 5px;
        margin-right: 5px;
    }

    .tags {
        margin-top: -35px;
    }
}

/* BELOW THIS IS THE HOME CSS! */

.album-list-home {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
    justify-content: center;
    gap: 15px;
}

.album-list-home .single-video-item {
    width: 20%; /* Adjust width as needed */
    border-radius: 15px; /* Rounded corners */
    overflow: hidden;
    transform-origin: center;
    transition: transform 0.3s ease;
}

/* Rotations */
.album-list-home .single-video-item:nth-child(1) {
    transform: rotate(-5deg);
    margin-top:20px!important;
}

.album-list-home .single-video-item:nth-child(2) {
    transform: rotate(-2deg);
}

.album-list-home .single-video-item:nth-child(3) {
    transform: rotate(2deg);
}

.album-list-home .single-video-item:nth-child(4) {
    transform: rotate(5deg);
    margin-top:20px!important;
}

/* Ensure images also have rounded corners */
.album-list-home .single-video-item .thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.album-list-home .single-video-item {
    -webkit-transition: -webkit-transform .2s cubic-bezier(.2,2,.6,2);
    transition: -webkit-transform .2s cubic-bezier(.2,2,.6,2);
    transition: transform .2s cubic-bezier(.2,2,.6,2);
    transition: transform .2s cubic-bezier(.2,2,.6,2), -webkit-transform .2scubic-bezier(.2,2,.6,2);
	border-radius: 10px;
	cursor: pointer;
}

.album-list-home .single-video-item  img{
    -webkit-box-shadow: 0 3px 20px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 20px rgba(0, 0, 0, .5);
    display: block;
}

.album-list-home .single-video-item:hover {
    -webkit-transform: rotate(-1deg) scale(1.025);
    transform: rotate(-1deg) scale(1.025);
}

.album-home h2{
	text-align:center;
}

.album-list-home {
    position: relative;
}

.album-home:nth-child(even)  .album-list-home::before {
    content: "";
    position: absolute;
    top: -50px;
    right: 20%;
    width: 100px;
    height: 100px;
    background-image: url(https://noise.mysites.io/wp-content/uploads/2025/02/Make-Some-Noise-Kids-Emoji-lachend.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 10;
}

.album-home:nth-child(even) .album-list-home::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 20%;
    width: 100px;
    height: 100px;
    background-image: url(https://noise.mysites.io/wp-content/uploads/2025/02/Make-Some-Noise-Kids-Emoji-hartogen.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(15deg);
    pointer-events: none;
    z-index: 10;
}

.video-tags {
    border-bottom: 2px solid white;
    margin-bottom: 20px!important;
}

/* Mobile: Show 1 item per row with margin */
@media (max-width: 800px) {
    .album-list-home {
        display: block;
    }
    .album-list-home .single-video-item {
        width: 100%; /* Adjust width as needed */
        display:block;
        margin-bottom:50px;
    }

    .album-list-home .single-video-item {
        transform: rotate(0deg)!important;
    }
}

/* RADIO CSS */
		.radio-block .now-playing {
			background: #272626;
			padding: 20px;
			width: fit-content;
		}

		.radio-block .now-playing {
			display: flex;
			text-align: left;
			background-color: #1f1f1f;
			align-items: center;
			padding: 30px 30px !important;
			border-radius: 15px;
			padding: 15px 30px;
			max-width: 550px;
			margin: 30px auto;
			width: 67%;
		}

		.radio-block .now-playing .text-content {
			margin-left: 28px;
		}

		.radio-block .now-playing p{
			margin:0px!important;
		}

		.radio-block .album-now-playing{
			color: #cc0066;
			font-weight: bold;
			font-size: 1.5em;
			line-height: 1;
			margin-bottom: 10px;
		}

		.cc_streaminfo{
			color: #ffffff;
			font-size: 20px;
		}
		
		.radio-block .request-song {
			border-radius: 15px;
			padding: 15px 30px;
			max-width: 550px;
			margin: 30px auto;
			width: 67%;
			background-color: #003399;
			margin: 0 auto !important;
			justify-items: anchor-center;
		}

		.radio-block .request-song .title {
			font-size: 1.5rem;
			font-weight: bold;
			text-transform: uppercase;
			color:#ffffff;
			text-align:center;
		}

		.radio-block .request-song p{
			color: #ffffff;
		}

		.radio-block .request-song input {
			display: inline-block;
			width: auto;
			padding: 8px;
			border: 2px solid white;
			border-radius: 8px;
			color: white;
			background: #ce0065;
			text-decoration: none;
			font-weight: 400;
			text-transform: uppercase;
			cursor: pointer;
			border-radius: 14px !important;
			font-size: 1em;
			padding: 12px 25px !important;
			font-weight: bold !important;
			transition: 300ms;
		}

		.radio-block .request-song input:hover {
			transform: scale(1.05);
		}

		.radio-block .button {
			cursor: pointer;
			background-color: #003399;
			padding: 10px 25px;
			border-radius: 40px;
			margin: 0 auto;
			width: fit-content;
			transition: transform 300msease;
		}

		.radio-block .button #radio-play-button {
			background: url(https://makesomenoisekids.app/templates/msnk/res/svg/icon_play.svg) no-repeat center / contain;
			display: inline-block;
			height: 40px;
			width: 40px;
			vertical-align: middle;
			margin-right: 10px;
		}

		.radio-block audio {
			display: none;
		}

		.radio-block .button span {
			font-size: 1.5em;
			font-weight: 300;
			vertical-align: middle;
			color: #fff;
		}

@media (max-width: 800px) {
	.radio-block .request-song, .radio-block .now-playing {
		width: 100%;
	}
	
	.radio-block .request-song select {
		margin-bottom: 20px !important;
	}
}

/* Stijl voor het play-icoon in het midden van de thumbnail */
.thumbnail {
    position: relative;
    /* Zorg dat het icoon absoluut gepositioneerd kan worden */
}

.thumbnail .fa-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    color: #000101;
    opacity: 0;
    pointer-events: none;
    /* Zorg dat klik op icoon de hele .single-video-item triggert */
    transition: opacity 0.7s ease, transform 0.3s ease;
}

/* Hover-effect: icoon iets groter */
.single-video-item:hover .fa-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.vimeo-search-container {
    max-width: 1000px;
    margin: 0 0;
    place-items: start;
    place-self: start;
}

@media only screen and (max-width: 500px) {
    .vimeo-search-container {
        width:100%!important;
        }
}

.vimeo-search-container #vimeo-search-input {
    width: 450px;
    padding: 12px;
    font-size: 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

@media only screen and (max-width: 500px) {
    .vimeo-search-container #vimeo-search-input {
        width: 100%;
        margin-bottom: 50px;
    }
}

.vimeo-search-container .vimeo-search-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.vimeo-search-container .single-video-item {
    width: calc(25% - 20px);
}

.vimeo-search-container .thumbnail {
    position: relative;
    overflow: hidden;
}

.vimeo-search-container .thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.vimeo-search-container .search-placeholder {
    font-size: 16px;
    color: #666;
    padding: 10px;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .vimeo-search-container .single-video-item {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 480px) {
    .vimeo-search-container .single-video-item {
        width: 100%;
    }
}

/* Add this to your stylesheet */
.vimeo-container .album-list {
    display: block;
    /* Important for Flickity */
    width: 100%;
    overflow: visible;
    opacity: 0;
    /* Hide initially */
    transition: opacity 0.3s ease;
    /* Smooth fade-in */
}

/* Class to show the carousel after initialization */
.vimeo-container .album-list.is-ready {
    opacity: 1;
}

div#vimeo-search-results {
    margin-bottom: 0px;
    width: 100%;
}

div#vimeo-featured-and-albums h2 {
    margin-top:16px!important
}

p.no-videos-msg {
    color: #ffffff;
    font-size: 50px;
    margin-top: 50px;
}

div#vimeo-search-results {
    margin-bottom: 50px;
}

@media only screen and (min-width: 1920px) {
    div#vimeo-featured-and-albums h2 {
        margin-top: 35px !important;
    }
}