/* Copyright © 2025 Sem Boven. All rights reserved. */
html, body {
	height: 100%;
    margin: 0;
    background-color: #123;
    color: white;
	overflow: hidden;
  	position: relative;
}

img {
	backface-visibility: hidden;
	will-change: transform;
}

a img {
  display: block;
  border: none;
  outline: none;
  box-shadow: none;
}

a {
  display: inline-block;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  line-height: 0;
  text-decoration: none;
}

body {
	display:flex;
	flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
	transition: background-image 0.5s ease, color 0.5s ease;
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/background-image.jpg');
  	background-size: cover;           /* Makes the image cover the whole body */
  	background-repeat: no-repeat;     /* Prevents tiling */
  	background-position: center;      /* Centers the image */
  	min-height: 100vh;                /* Ensures body has height */
  	margin: 0;        

}

.overlay-line {
	position: absolute;
	top: 75%;
	left: 0;
	width: 100%;
	height: 100px;
	background-color: rgba(0, 0, 0, 0.5);
	transform: translateY(-50%);

}

.overlay-line[data-mode="dark"] {
	background-color: rgba(0, 0, 0, 0.5);
	transition: background-color 0.5s ease, color 0.5s ease;
}

.overlay-line[data-mode="light"] {
	background-color: rgba(255, 255, 255, 0.5);
	transition: background-color 0.5s ease, color 0.5s ease;
}

.dark-mode {
    background-color: black;
    color: white;
	
}

.light-mode {
    background-color: white;
    color: black;
	background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('images/background-image.jpg');
}

header {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
	background-color: rgba(0, 0, 0, 0.9);
    color: white;
    min-height: 1vh;
    padding: 0px;
}

.main {
  max-width: 100%;
  text-align: center;
  margin: auto;
}

.main h1 {
  font-size: 50px;
  margin: 0;
}

.main p {
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 12em;  /* veel kleiner dan 50% */
}

.header {
    overflow: hidden;
	background-color: rgba(0, 0, 0, 0.9);
    padding: 10px 20px;
	transition: background-color 0.5s ease, color 0.5s ease;
}

#logo-image {
    width: 50px;
}

.header a {
    float: left;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 4px;
}

.light-dark-button {
    padding: 10px 30px;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    background-color: white;
    cursor: pointer;
    transition: 0.5s;
    background-image: url('images/night-mode.png');
    background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.header a.logo {
    font-size: 25px;
    font-weight: bold;
    padding: 0 !important;
}

.header-right {
    float: right;
    display: flex;
    align-items: center;
}

.header-right-links a {
	text-decoration: none;
}

.header-right-links a:hover {
	text-decoration: underline;
}
	

@media screen and (max-width: 500px) {
    .header a {
        float: none;
        display: block;
        text-align: left;
    }

    .header-right {
        float: none;
    }
}

.widget {
  display: flex;
  height: 300px;
  align-items: center;  /* Van baseline naar center */
}

.clock {
  position: relative;
  width: 300px;
  height: 300px;
  background: #222;
  border-radius: 50%;
  border: 8px solid #444;
  box-shadow: 0 0 20px #000;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12em;
  margin-right: 7em;
}

.hand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: left center; /* ⬅️ belangrijk: draai vanuit beginpunt */
  transform: rotate(90deg);
  transition: all 0.05s ease-in-out;
}

.hour {
  width: 30%;
  height: 6px;
  background: #fff;
}

.minute {
  width: 40%;
  height: 4px;
  background: #fff;
}

.second {
  width: 45%;
  height: 2px;
  background: red;
  transition: none;
}

.center-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.number {
  position: absolute;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 1.2em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(calc(var(--i) * 30deg))
             translateY(-125px)
             rotate(calc(var(--i) * -30deg));
}

.text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  margin: 0;
  line-height: 1.2;
}

#weer-widget {
	margin-left: 7em;
	margin-bottom: 12em;
}

#YouTube {
	width: 80px;
	height: 80px;
	margin-top: 10px;
	float: none;
	transition: transform 0.3s ease;
}

#YouTube:hover {
	transform: scale(1.5);
}

#youtubemusic {
	width: 80px;
	height: 80px;
	margin-top: 10px;
	margin-left: 50px;
	float: none;
	transition: transform 0.3s ease;
}

#youtubemusic:hover {
	transform: scale(1.5);
}

#maps {
	width: 80px;
	height: 80px;
	margin-top: 10px;
	margin-left: 50px;
	float: none;
	transition: transform 0.3s ease;
}

#maps:hover {
	transform: scale(1.5);
}

#translate {
	width: 80px;
	height: 80px;
	margin-top: 10px;
	margin-left: 50px;
	float: none;
	transition: transform 0.3s ease;
}

#translate:hover {
	transform: scale(1.5);
}

#Webmail {
	width: 80px;
	height: 80px;
	margin-top: 10px;
	margin-left: 50px;
	float: none;
	transition: transform 0.3s ease;
}

#Webmail:hover {
	transform: scale(1.5);
}

#kpntv {
	width: 80px;
	height: 80px;
	margin-top: 10px;
	margin-left: 50px;
	float: none;
	transition: transform 0.3s ease;
}

#kpntv:hover {
	transform: scale(1.5);
}

#f1tv {
	width: 80px;
	height: 80px;
	margin-top: 10px;
	margin-left: 50px;
	float: none;
	transition: transform 0.3s ease;
}

#f1tv:hover {
	transform: scale(1.5);
}

#magister {
	width: 80px;
	height: 80px;
	margin-top: 10px;
	margin-left: 50px;
	float: none;
	transition: transform 0.3s ease;
}

#magister:hover {
	transform: scale(1.5);
}

#studygo {
	width: 80px;
	height: 80px;
	margin-top: 10px;
	margin-left: 50px;
	float: none;
	transition: transform 0.3s ease;
}

#studygo:hover {
	transform: scale(1.5);
}

#aternos {
	width: 80px;
	height: 80px;
	margin-top: 10px;
	margin-left: 50px;
	float: none;
	transition: transform 0.3s ease;
}

#aternos:hover {
	transform: scale(1.5);
}

#bijbel {
	width: 80px;
	height: 80px;
	margin-top: 10px;
	margin-left: 50px;
	float: none;
	transition: transform 0.3s ease;
}

#bijbel:hover {
	transform: scale(1.5);
}

#bottom {
  width: 100%;
  height: 50px;
  float: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#copyright {
	justify-content: left;
	padding-left: 10px;
}

#github-logo {
	justify-self: right;
	padding-right: 10px;
	padding-bottom: 10px;
}

#github-logo[data-mode="dark"] {
    content: url('images/github-white.png');
	transition: background-color 0.5s ease, color 0.5s ease;
}

#github-logo[data-mode="light"] {
    content: url('images/github-black.png');
	transition: background-color 0.5s ease, color 0.5s ease;
}

body.light-mode .header {
    background-color: white;
	color: black;
}

body.light-mode .header a {
	color: black;
}