*{ margin: 0; padding: 0; box-sizing: border-box; }

/* Custom Fonts */

@font-face {
    font-family: MuseoModerno;
    src:url("../src/fonts/MuseoModerno-Bold.ttf");
    font-weight: bold;
}

@font-face {
    font-family: Oswald;
    src:url("../src/fonts/Oswald-Regular.ttf");
    font-weight: regular;
}

@font-face {
    font-family: Oswald;
    src:url("../src/fonts/Oswald-Bold.ttf");
    font-weight: bold;
}

@font-face {
    font-family: Oswald;
    src:url("../src/fonts/Oswald-Medium.ttf");
    font-weight: medium;
}

@font-face {
    font-family: WorkSans;
    src:url("../src/fonts/WorkSans-Bold.ttf");
    font-weight: bold;
}


/* Falling Images */

.falling-container {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1; /* Ensure it's above other elements */
}

.falling-image {
    position: absolute;
    width: 64px; /* Adjust size of the falling images */
    transition: top 2s ease-in-out; /* Smooth falling effect */
}


/* Animations */

@keyframes imageResize {
  0% {
    width: 0%;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}


/* Additional Settings */

a {
	-webkit-user-drag: none;
  	user-select: none;
}

img {
	-webkit-user-drag: none;
  	user-select: none;
}

div {
    -webkit-tap-highlight-color: transparent; /* For older WebKit-based browsers */
  	tap-highlight-color: transparent; /* For newer browsers */
}


body {
	background-color: #0e0e0e; 
  	/*background-color: #0a0a0a;*/
  	overflow-x: hidden;
}

.center {
  display: flex;
  justify-content: center; /* Center horisontally */
  align-items: center;	 /* Center vertically */
}

/* Dropdown Menu */

.dropdown-btn {
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  width: 100%;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 1;
  opacity: 0;
  animation: appear 0.5s forwards;
}

.dropdown-content a {
  color: black;
  margin: 0px;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 26px;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}


@media (min-width: 1225px) {

/* //////////// Laptop/desktop //////////// CSS */

    header, footer {
        text-align: center;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
  
  	main {
    	margin-top: 70px;
  	}
    
    header {
        color: #fff;
        width: 100%;
        z-index: 1;
      	margin-top: 50px;
    }
    
    header img, footer img {
        width: 55px;
        height: auto;
        margin-left: 50px;
        user-select: none;
    }
    
    nav {
      	margin-right: 25%;
        font-size: 52px;
        font-family: Oswald;
        user-select: none;
      	z-index: 1;
    }
  
    nav a {
        color: #fff;
        text-decoration: none;
      	margin: 0px 35px 0px 35px;    
      	opacity: 0;
      	animation: appear 0.5s forwards;
    }
    
    nav a:hover {
      	filter: brightness(75%);
    }
  
  	.logo {
      	margin: 0px 60px;
      	display: inline;
  	}
  
  	.logo img {
      	margin-left: 10px;
      	height: 75px;
      	max-width: 40px;
  	}
  
  	.animating-image {
        width: 0%;
        position: absolute;
        animation: imageResize ease-in-out infinite;
        animation-duration: 5s;
    }
  
    .spacer {
        height: 100px;
    }
    
    footer {
        background-color: #fff;
        color: #0e0e0e;
        bottom: 0;
        text-align: center;
        font-size: 24px;
        font-family: WorkSans;
        font-weight: bold;
    }
    
    .social-links {
        display: flex;
        justify-content: center; /* Center horisontally */
      	align-items: center;	 /* Center vertically */
        padding-right: 50px;
        user-select: none;
      	margin: 15px 0px 15px 0px;
    }
    
    .social-links img {
        display: flex;
        justify-content: center; /* Center horisontally */
      	align-items: center;	 /* Center vertically */
        width: 40px;
        user-select: none;
        transition: transform 0.45s ease-in-out;
    }
    
    .social-links img:hover {
        transform: rotate(360deg);
    }
  
    .container {
      /* Ensures elements stay in a horizontal line and don't wrap */
      white-space: nowrap;
    }

    .block {
      color: white;
      font-size: 60px;
      font-family: MuseoModerno;
      text-align: center;
      overflow: hidden;
      user-select: none;
      width: -webkit-fill-available;
    }

    .block::before {
      content: '';
      position: absolute;
      top: 100;
      left: 0;
      width: 100%;
      height: 52%;
      background-image: var(--before-background-image, url(""));
      background-size: cover;
      background-position: bottom;
      filter: brightness(60%) contrast(100%);
    }

    .block > * {
      position: relative; /* Ensure text is above the pseudo-element */
      z-index: 0; /* Place text above the pseudo-element */
    }

    .block h1 {
      font-size: 240px;
      animation: zoom 1.5s ease-in-out infinite alternate;
    }
  
    .block h5 {
      font-size: 60px;
    }

    @keyframes zoom {
      0% {
        transform: scale(1); 
      }
      100% {
        transform: scale(1.01); 
      }
    }
  
  	.block img {
      max-width: 1200px;
      user-select: none;
    }

    .background-image {
      background: url("../src/clouds.jpg");
      background-position: 0;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: image_moving 10s infinite ease-in-out alternate ;
      animation-fill-mode: forwards;
      -webkit-text-size-adjust: none;
      font-size: 112px;
      line-height: 144px;
      white-space: nowrap;
    }

    @keyframes image_moving{
      0% {background-position: 100px 0px; }
      100% {background-position: 100px -500px; }
    }
  
  	:root { /* Variables */
      --roller-font-size: 90px;
    }

    .string {
      display: flex;
      flex-direction: column;
      text-align: center;
      animation: move 12s 3s infinite;
      transform: translatey(calc(-2.155*var(--roller-font-size)));
    }

    @keyframes move {
      25% {
        transform: translatey(calc(-0.675*var(--roller-font-size)));
      }
      50% {
        transform: translatey(calc(0.825*var(--roller-font-size)));
      }
      75% {
        transform: translatey(calc(2.335*var(--roller-font-size)));
      }
    }

    .roller{
      height: calc(var(--roller-font-size) + var(--roller-font-size)/3);
      line-height: calc(var(--roller-font-size) + var(--roller-font-size)/2);
      position: relative;
      overflow: hidden; 
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: var(--roller-font-size);
    }
  
}



@media (max-width: 1225px) {

/* //////////// Mobile CSS //////////// */

    header, main, footer {
        text-align: center;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
  
    main {
    	margin-top: 20px;
  	}
    
    header {
        color: #fff;
        width: 100%;
        z-index: 1;
      	margin-top: 20px;
    }
    
    header img, footer img {
        width: 50px;
        height: auto;
        margin-left: 20px;
        user-select: none;
    }
    
    nav {
      	margin: auto;
        font-size: 40px;
        font-family: Oswald;
        user-select: none;
    }
  
    nav a {
        color: #fff;
        text-decoration: none;
      	margin: 0px 11px 0px 11px;    
      	opacity: 0;
      	animation: appear 1s forwards;
    }
    
    nav a:hover {
      	filter: brightness(75%);
    }
  
  	.logo {
      	margin: 0px 15px;
      	display: inline;
  	}
  
  	.logo img {
      	margin-left: 4px;
        height: 37.5px;
        max-width: 21px;
  	}
  
  	.animating-image {
        width: 0%;
        position: absolute;
        animation: imageResize ease-in-out infinite;
        animation-duration: 5s;
    }
  
    .spacer {
        height: 80px;
    }
    
    footer {
        background-color: #fff;
        color: #0e0e0e;
        bottom: 0;
        text-align: center;
        font-size: 20px;
        font-family: WorkSans;
        font-weight: bold;
    }
    
    .social-links {
        display: flex;
        justify-content: center; /* Center horisontally */
      	align-items: center;	 /* Center vertically */
        padding-right: 25px;
        user-select: none;
      	margin: 10px 0px 10px 0px;
    }
    
    .social-links img {
        display: flex;
        justify-content: center; /* Center horisontally */
      	align-items: center;	 /* Center vertically */
        width: 35px;
        user-select: none;
        transition: transform 0.45s ease-in-out;
    }
    
    .social-links img:hover {
        transform: rotate(360deg);
    }
  
    .container {
      /* Ensures elements stay in a horizontal line and don't wrap */
      white-space: nowrap;
    }

    .block {
      color: white;
      font-size: 60px;
      font-family: MuseoModerno;
      text-align: center;
      overflow: hidden;
      user-select: none;
      width: -webkit-fill-available;
    }

    .block::before {
      content: '';
      position: absolute;
      top: 100;
      left: 0;
      width: 100%;
      height: 15%;
      background-image: var(--before-background-image, url(""));
      background-size: cover;
      background-position: bottom;
      filter: brightness(60%) contrast(100%);
    }

    .block > * {
      position: relative; /* Ensure text is above the pseudo-element */
      z-index: 0; /* Place text above the pseudo-element */
    }

    .block h1 {
      font-size: 90px;
      animation: zoom 1.5s ease-in-out infinite alternate;
    }
  
  	.block h2 {
      font-size: 60px;
  	}
  
   	.block h5 {
      font-size: 45px;
  	}

    @keyframes zoom {
      0% {
        transform: scale(1); 
      }
      100% {
        transform: scale(1.01); 
      }
    }
  
  	.block img {
      max-width: 100%;
      user-select: none;
    }

    .background-image {
      background: url("../src/clouds.jpg");
      background-position: 0;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: image_moving 10s infinite ease-in-out alternate ;
      animation-fill-mode: forwards;
      -webkit-text-size-adjust: none;
      font-size: 50px;
      white-space: nowrap;
    }

    @keyframes image_moving{
      0% {background-position: 0px 0px; }
      100% {background-position: 0px -500px; }
    }
  
  	:root { /* Variables */
      --roller-font-size: 50px;
    }

    .string {
      display: flex;
      flex-direction: column;
      text-align: center;
      animation: move 12s 3s infinite;
      transform: translatey(calc(-2.155*var(--roller-font-size)));
    }

    @keyframes move {
      25% {
        transform: translatey(calc(-0.675*var(--roller-font-size)));
      }
      50% {
        transform: translatey(calc(0.825*var(--roller-font-size)));
      }
      75% {
        transform: translatey(calc(2.335*var(--roller-font-size)));
      }
    }

    .roller{
      height: calc(var(--roller-font-size) + var(--roller-font-size)/3);
      line-height: calc(var(--roller-font-size) + var(--roller-font-size)/2);
      position: relative;
      overflow: hidden; 
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: var(--roller-font-size);
    }

    .dropdown-content a {
      padding: 8px 8px;
      font-size: 20px;
    }
  
}



@media (max-width: 520px) {

/* //////////// Tablet CSS //////////// */

    header, main, footer {
        text-align: center;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
  
    main {
    	margin-top: 20px;
  	}
    
    header {
        color: #fff;
        width: 100%;
        z-index: 1;
      	margin-top: 20px;
    }
    
    header img, footer img {
        width: 25px;
        height: auto;
        margin-left: 20px;
        user-select: none;
    }
    
    nav {
      	margin: auto;
        font-size: 20px;
        font-family: Oswald;
        user-select: none;
    }
  
    nav a {
        color: #fff;
        text-decoration: none;
      	margin: 0px 11px 0px 11px;    
      	opacity: 0;
      	animation: appear 1s forwards;
    }
    
    nav a:hover {
      	filter: brightness(75%);
    }
  
  	.logo {
      	margin: 0px 15px;
      	display: inline;
  	}
  
  	.logo img {
      	margin-left: 4px;
      	height: 25px;
      	max-width: 14px;
  	}
  
  	.animating-image {
        width: 0%;
        position: absolute;
        animation: imageResize ease-in-out infinite;
        animation-duration: 5s;
    }
  
    .spacer {
        height: 80px;
    }
    
    footer {
        background-color: #fff;
        color: #0e0e0e;
        bottom: 0;
        text-align: center;
        font-size: 12px;
        font-family: WorkSans;
        font-weight: bold;
    }
    
    .social-links {
        display: flex;
        justify-content: center; /* Center horisontally */
      	align-items: center;	 /* Center vertically */
        padding-right: 25px;
        user-select: none;
      	margin: 10px 0px 10px 0px;
    }
    
    .social-links img {
        display: flex;
        justify-content: center; /* Center horisontally */
      	align-items: center;	 /* Center vertically */
        width: 20px;
        user-select: none;
        transition: transform 0.45s ease-in-out;
    }
    
    .social-links img:hover {
        transform: rotate(360deg);
    }
  
    .container {
      /* Ensures elements stay in a horizontal line and don't wrap */
      white-space: nowrap;
    }

    .block {
      color: white;
      font-size: 60px;
      font-family: MuseoModerno;
      text-align: center;
      overflow: hidden;
      user-select: none;
      width: -webkit-fill-available;
    }

    .block::before {
      content: '';
      position: absolute;
      top: 100;
      left: 0;
      width: 100%;
      height: 15%;
      background-image: var(--before-background-image, url(""));
      background-size: cover;
      background-position: bottom;
      filter: brightness(60%) contrast(100%);
    }

    .block > * {
      position: relative; /* Ensure text is above the pseudo-element */
      z-index: 0; /* Place text above the pseudo-element */
    }

    .block h1 {
      font-size: 90px;
      animation: zoom 1.5s ease-in-out infinite alternate;
    }
  
  	.block h2 {
      font-size: 30px;
  	}
  
   	.block h5 {
      font-size: 25px;
  	}

    @keyframes zoom {
      0% {
        transform: scale(1); 
      }
      100% {
        transform: scale(1.01); 
      }
    }
  
  	.block img {
      max-width: 100%;
      user-select: none;
    }

    .background-image {
      background: url("../src/clouds.jpg");
      background-position: 0;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: image_moving 10s infinite ease-in-out alternate ;
      animation-fill-mode: forwards;
      -webkit-text-size-adjust: none;
      font-size: 38px;
      white-space: nowrap;
    }

    @keyframes image_moving{
      0% {background-position: 0px 0px; }
      100% {background-position: 0px -500px; }
    }
  
  	:root { /* Variables */
      --roller-font-size: 30px;
    }

    .string {
      display: flex;
      flex-direction: column;
      text-align: center;
      animation: move 12s 3s infinite;
      transform: translatey(calc(-2.155*var(--roller-font-size)));
    }

    @keyframes move {
      25% {
        transform: translatey(calc(-0.675*var(--roller-font-size)));
      }
      50% {
        transform: translatey(calc(0.825*var(--roller-font-size)));
      }
      75% {
        transform: translatey(calc(2.335*var(--roller-font-size)));
      }
    }

    .roller{
      height: calc(var(--roller-font-size) + var(--roller-font-size)/3);
      line-height: calc(var(--roller-font-size) + var(--roller-font-size)/2);
      position: relative;
      overflow: hidden; 
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: var(--roller-font-size);
    }

    .dropdown-content a {
      padding: 8px 8px;
      font-size: 16px;
    }
  
}


