* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
        
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
	background: -webkit-gradient(linear, left bottom, left top, from(#eee), to(#fff));
    background: linear-gradient(0deg, #eee, #fff);
    min-height: 100vh;
    color: #333;
}

/***** DEBUG *****/
.debug-badge {
    position: fixed;
    top: 70px;
    right: 30px;
    background: #ff6b6b;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
	z-index: 1000;
}

.debug-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    background: #ff6b6b;
	color: #ffffff;
	border: none;
	padding: 8px 15px;
	border-radius: 12px;
	cursor: pointer;
	font-size: 12px;
    font-weight: 700;
	z-index: 1000;
	/*box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);*/
}

.debug-panel {
    position: fixed;
    top: 142px;
    right: 30px;
    background: rgba(0, 80, 129, 0.8);
    color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    font-size: 12px;
    z-index: 1000;
    max-width: 300px;
	z-index: 1000;
}

/* DEBUG Responsive */
@media (max-width: 768px) {
	.debug-panel {
		right: 30px;
		max-width: none;
	}
}

/***** Connection Status *****/
.connection-status {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 100;
    font-size: 12px;
    background: #ffffff;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
	border-radius:50px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.connection-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.connection-status #statusText {
	font-weight: 700;
	color: #009acc;
}

.connected {
	background-color: rgba(40, 167, 69, 1); 
	animation: conpulse 2s infinite;
}

.disconnected {
	background-color: rgba(220, 53, 69, 1); 
	animation: disconpulse 2s infinite;
}

.checking {
	background-color: rgba(255, 193, 7, 1); 
	animation: checkpulse 2s infinite;
}

/* Connection status animatie */
@keyframes conpulse {
	0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
    70% { box-shadow: 0 0 0 5px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

@keyframes disconpulse {
	0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    70% { box-shadow: 0 0 0 5px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

@keyframes checkpulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
    70% { box-shadow: 0 0 0 5px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/***** Floating QR Code *****/
.floating-qr {
    position: fixed;
    bottom: 70px;
    right: 30px;
    z-index: 1000;
}

.qr-toggle-btn {
    background: #009acc;
    color: #ffffff;
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.5s;
    z-index: 1001;
}

.qr-toggle-btn:hover {
    background: #005081;
    transform: scale(1.1);
}

.qr-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #009acc;
    border-radius: 15px;
    padding: 10px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.5s;
	color: #ffffff;
	box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.3);
}

.floating-qr.show .qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.qr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.qr-header h6 {
	margin: 0;
	font-size: 14px;
	font-weight: 500;
}

.close-qr {
    background: #005081;
	width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;	
    border: none;
    color: #ffffff;
    cursor: pointer;
    line-height: 1.2;
	transition: all 0.5s;
}

.close-qr:hover {
	background: #ffffff;
    color: #009acc;
}

.close-qr i {
    transition: transform 0.5s ease;
	font-size: 11px;
}

.close-qr:hover i {
    transform: rotate(90deg);
}

.qr-code {
    text-align: center;
    margin-bottom: 10px;
}

.qr-code img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.qr-info {
	text-align: center;
	font-size: 11px;
}

 .qrpulse {
    animation: qrpulse 2s infinite !important;
	border-radius: 50%;
}

/* Floating QR Code animatie */
@keyframes qrpulse {
	0% { box-shadow: 0 0 0 0 rgba(0, 80, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 80, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 80, 129, 0); }
}

/***** Top bar *****/
.oblive-top {
	width: 100%;
	background: rgba(225, 225, 225, 1)
}

.oblive-top .text-end{
	padding-right: 30px;
}

#home, #support {
	width: 40px;
	height: 40px;
}

.oblive-top .topbarbtn{
	color: #ffffff;
	border: 2px solid rgba(51, 51, 51, 1);
	background-color: rgba(51, 51, 51, 1) !important;
	background: linear-gradient(#009acc 0 0) no-repeat calc(200% - var(--p, 0%)) 100% / 200% var(--p, 0.2em);
	transition: 0.3s var(--t, 0s), background-position 0.3s calc(0.3s - var(--t, 0s));
	margin: 0px !important;
	padding: 0px !important;
}

.oblive-top .topbarbtn:hover {
	--p: 100%;
	--t: 0.3s;
	color: #ffffff;
	border: 2px solid #009acc;
}

/***** Header *****/
.oblive-header{
	width: 100%;
	background: #005081;
	background: linear-gradient(135deg,rgba(0, 80, 129, 1) 0%, rgba(0, 154, 204, 1) 100%);	
	border-bottom: 0.0625rem solid #c3c7c9
	/*-webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5vw), 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5vw), 0 100%);*/
}

.oblive-header .title-row {
    display: flex;
    align-items: center;
}

.oblive-header .title-with-line {
  position: relative;       
  display: inline-block;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  color: white;
  margin: 2rem 0;
}

.oblive-header .title-with-line::after {
  content: "";
  position: absolute;
  left: 100%;               
  bottom: 0;                
  width: 180px;             
  height: 4px;              
  background-color: white;    
  margin-bottom: 5px;
  margin-left: 10px;
}

.oblive-header p {
    color: #ffffff;
    font-size: 14px;
	text-transform: lowercase;
}

#current-streams {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
	padding: 8px 0px;
    color: white;
    font-size: 14px;
    vertical-align: middle;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    min-width: 35px;
    text-align: center;
	margin-right: 10px;
}

#current-streams.count-updated {
    background: linear-gradient(135deg, #00b09b, #96c93d);
    transform: scale(1.3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.count-updated {
    animation: countPulse 0.5s ease;
}

/* Header Responsive */
@media (max-width: 768px) {
	.oblive-header .title-with-line {
	  font-size: 25px;
	}
	
	.oblive-header .title-with-line::after {             
	  width: 90px;             
	}
	
	#current-streams {
        font-size: 14px;
        padding: 8px 0px;
    }
}

/* Header animatie*/
@keyframes countPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/***** No stream *****/
.no-streams {
    text-align: center;
    padding: 60px 40px;
    grid-column: 1 / -1;	
	animation: nostreamfade 0.5s ease forwards;	
}
        
.no-streams h2 {
    color: #2d3748;
    font-size: 1.8rem;
    margin-bottom: 15px;
 }
        
.no-streams p {
    color: #718096;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* No stream animatie*/       
@keyframes nostreamfade {
	from {
		opacity: 0;
		transform: translateY(-50px);
	}
	to {
		opacity: 1;
		transform: translateY(0px);
	}
}

/***** Stream container *****/
.streams-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stream-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #48bb78;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: opacity, transform;
    margin-bottom: 20px;
}

.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stream-card-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stream-header {
    display: flex;
	flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

.car-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

.car-number {
    background: #005081;
	background: linear-gradient(135deg,rgba(0, 80, 129, 1) 0%, rgba(0, 154, 204, 1) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 8px 16px;
    border-radius: 10px;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.car-name-team {
    flex: 1;
}

.team-name-display {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.stream-name-subtle {
    font-size: 0.95rem;
    color: #718096;
    font-weight: 400;
	display: none;
}

.stream-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
	display: none;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
}

.car-status-container{
	display: flex;
    align-items: center; 
	gap: 8px;
}

.stream-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 15px;
    background: #c6f6d5;
    color: #22543d;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    animation: statuspulse 2s infinite;
}
        
.status-live {
    background-color: #48bb78;
    box-shadow: 0 0 0 rgba(72, 187, 120, 0.4);
}
        
.status-offline {
    background-color: #e53e3e;
}

/* status-indicator animatie*/         
@keyframes statuspulse {
    0% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(72, 187, 120, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0);
    }
}

.recording-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 15px;
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
	text-transform: uppercase;
}

/* Recording status update animatie */
.recording-updated {
    animation: recordingPulse 0.5s ease;
}

@keyframes recordingPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Recording indicator styling */
.recording-online {
    background-color: #f56565 !important;  /* Rood */
    box-shadow: 0 0 8px rgba(245, 101, 101, 0.5);
    animation: recordingBlink 2s infinite;
}

.recording-offline {
    background-color: #a0aec0 !important;  /* Grijs */
}

@keyframes recordingBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.recording-status.recording-online {
    /* Extra styling voor de hele div als die aan het opnemen is */
    border-color: #f56565;
}

.recording-status.recording-offline {
    /* Extra styling voor de hele div als die niet opneemt */
    border-color: #a0aec0;
}

.viewer-count {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 60px;
    justify-content: center;
}

.car-content {
    display: grid;
    gap: 20px;
    margin-top: 10px;
}

.car-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #f7fafc;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.car-image:hover {
    transform: scale(1.05);
}

.car-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.stream-tech-info {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4px 0;
    border-bottom: 1px solid #edf2f7;
	font-size: 13px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #4a5568;
    font-weight: 500;
    min-width: 80px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-label i {
    width: 20px;
    text-align: center;
}

.info-value {
    color: #2d3748;
    font-weight: 500;
    text-align: right;
    flex: 1;
    word-break: break-word;
}

.drivers {
    color: #2b6cb0;
    font-weight: 600;
}

.viewer-stats .info-value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

/* statistieken btn */
.car-stats-btn{
	color: #ffffff;
	border: 2px solid rgba(51, 51, 51, 1);
	background-color: rgba(51, 51, 51, 1) !important;
	background: linear-gradient(#009acc 0 0) no-repeat calc(200% - var(--p, 0%)) 100% / 200% var(--p, 0.2em);
	transition: 0.3s var(--t, 0s), background-position 0.3s calc(0.3s - var(--t, 0s));
	margin: 0px !important;
	padding: 0px !important;
}

.car-stats-btn:hover {
	--p: 100%;
	--t: 0.3s;
	color: #ffffff;
	border: 2px solid #009acc;
}

/* Animatie voor stats button */
.car-stats-btn {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.car-stats-btn.stats-updated {
    animation: statsPulse 0.5s ease;
}

.car-stats-btn.fade-out {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

@keyframes statsPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); background-color: rgba(52, 152, 219, 0.2); }
    100% { transform: scale(1); }
}

/* Car images watch Live Button */
.watch-live-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.car-image-container:hover .watch-live-overlay {
    opacity: 1;
}

.watch-live-btn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
    animation: wlpulse 2s infinite;
}

.watch-live-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.watch-live-btn i {
    font-size: 1.2rem;
}

/* Watch Live Button animation */
@keyframes wlpulse {
    0% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(72, 187, 120, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0);
    }
}

/* Animatie voor viewer update */
.viewer-updated {
    animation: viewerpulse 0.5s ease;
}

@keyframes viewerpulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Stream-card fade out animation */
.stream-card.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.stream-card.fade-out {
    opacity: 0 !important;
    transform: translateY(-20px) !important;
    pointer-events: none !important;
}

/* Viewer count animation */
@keyframes viewerUpdate {
	0% { transform: scale(1); }
	50% { transform: scale(1.1); background: #90cdf4; }
	100% { transform: scale(1); }
}
        
.viewer-updated {
	animation: viewerUpdate 0.5s ease;
}

/* Stream-card responsive design */
@media (max-width: 768px) {
	.stream-header {
        flex-direction: column;
        align-items: stretch;
    }
	
	.car-header {        
        align-items: flex-start;
        gap: 10px;
    }
    
    .car-number {
        align-self: flex-start;
        font-size: 24px;
        padding: 6px 12px;
    }
	
	.stream-status {
        align-self: flex-start;
    }
	
    .car-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }  

	.car-details {
        gap: 8px;
    }	
	
	.info-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .info-label, .info-value {
        width: 100%;
        text-align: left;
    }
    
    .info-value {
        font-size: 0.95rem;
    }
    
    .stream-tech-info {
        display: none; /* Verberg technische info op mobiel */
    }
}

@media (max-width: 480px) {
    .stream-card {
        padding: 15px;
    }
	
	.car-number {        
        font-size: 18px;
    }
}

/***** Modal *****/
.modal-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.modal-title-section {
    flex: 1;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.3rem;
}

.modal-car-number {
    background: #005081;
	background: linear-gradient(135deg,rgba(0, 80, 129, 1) 0%, rgba(0, 154, 204, 1) 100%);
    color: white;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 1.2rem;
}

.modal-team-name {
    font-weight: 600;
    color: #2d3748;
}

.modal-subtitle {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    font-size: 0.9rem;
    color: #718096;
}

.modal-stream-name{
	display: none;
}

.modal-viewers {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #4299e1;
    font-weight: 500;
}

.modal-close-btn {
    background: #005081;
	width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;	
    border: none;
    color: #ffffff;
    cursor: pointer;
    line-height: 1.2;
	transition: all 0.5s;
}

.modal-close-btn:hover {
	background: #009acc;
    color: #ffffff;
}

.modal-close-btn i {
    transition: transform 0.5s ease;
	font-size: 11px;
}

.modal-close-btn:hover i {
    transform: rotate(90deg);
}

.modal-player-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-player-wrapper {
    width: 100%;
    background: #000000;
    border-radius: 8px;
    overflow: hidden;
}

.aspect-ratio-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.stream-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-description {
    background: -webkit-gradient(linear, left bottom, left top, from(#eee), to(#fff));
    background: linear-gradient(0deg, #eee, #fff);
    border-radius: 8px;
    padding: 20px;
}

.description-section h6 {
    color: #005081;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.description-section h6 i {
    color: #009acc;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.description-section .info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.description-section .info-label {
    font-size: 13px;
    color: #005081;
    font-weight: 500;
}

.description-section .info-value {
    font-size: 16px;
    color: #2d3748;
    font-weight: 500;
	text-align: left;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
}

.modal-footer-btn{
	color: #ffffff;
	border: 2px solid rgba(51, 51, 51, 1);
	background-color: rgba(51, 51, 51, 1) !important;
	background: linear-gradient(#009acc 0 0) no-repeat calc(200% - var(--p, 0%)) 100% / 200% var(--p, 0.2em);
	transition: 0.3s var(--t, 0s), background-position 0.3s calc(0.3s - var(--t, 0s));
	margin: 0px !important;
}

.modal-footer-btn:hover {
	--p: 100%;
	--t: 0.3s;
	color: #ffffff;
	border: 2px solid #009acc;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 10px;
    }
    
    .modal-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .modal-subtitle {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    .watch-live-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/***** Huidige tijd *****/
.refresh-info {
    color: white;
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.8;
}

/***** Back to top *****/
@media(prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

@property --progress {
	syntax: '<length-percentage>';
	inherits: false;
	initial-value: 0%;
}

@property --angle {
	syntax: '<angle>';
	inherits: true;
	initial-value: 0deg;
}

@keyframes progress {
	0% {
		--progress: 0%;
		--angle: 90deg;
	}

	40% {
		--angle: 45deg;
	}

	80% {
		--angle: 0deg;
	}

	100% {
		--progress: 100%;
	}
}

.back-to-top {
	background-image: linear-gradient(#009acc 0% var(--progress), #333333 var(--progress) 100%);
	border: 0px solid currentColor;
	border-radius: 50%;
	display: inline-block;
	padding: 0.3em;
	position: fixed;
	inset: auto 100px 70px auto;
	overflow: hidden;
	animation: progress linear;
	animation-timeline: scroll();
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

@supports not (animation-timeline: scroll()) {
	.back-to-top {
		background: #009acc;
	}
}

.back-to-top:is(:link, :visited) {
	color: white;
	text-decoration: none;
}

.back-to-top span {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.back-to-top svg {
	display: block;
	fill: #ffffff;
	stroke: #ffffff;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2px;
	transform: rotate(var(--angle));
}