@font-face {
    font-family: '__Andreas_5';
    src: url('../fonts/andreas-go1.eot');
    src: local('☺'), url('../fonts/andreas-go1.woff') format('woff'), url('../fonts/andreas-go1.svg') format('svg');
    font-weight: 300;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%; 
    overflow-x: hidden;
}

p{
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    line-height: 18px;
    margin-top: 0;
    margin-bottom: 9px;
	padding: 0;
}

a {
	color: #000000;
	padding: 5px 5px;
	text-decoration: none;
	font-size: 32px;
}

a:hover {
	color: #ff044f;
}

.full-width {
    margin: 0;
    padding: 0;
    width: 100%;
}

.red-back {
	background-color: #ff044f;
}

.blue-poly {
	fill: #17c1fe;
	stroke:none;
}

.red-poly {
	fill: #ff044f;
	stroke:none;
}

.blue-back {
	background-color: #17c1fe;
}

.all-texts {

}

.icons {
    font-family: 'icons';
}

.left{
    text-align: left;
}

.justify{
    text-align: justify;
}

.right{
    text-align: right;
}

.center{
    text-align: center;
}

.black{
    color: black;
}

.white{
    color: white;
}

.center-content {
    width: 1024px;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
}

.space{
   height: 80px;
}

.head-30 {
    line-height: 35px;
    font-size: 30px;
    position: relative;
    font-family: '__Andreas_5';
    font-weight: 300;
    background-color: transparent;
}

.head-24 {
    line-height: 29px;
    font-size: 24px;
    position: relative;
    font-family: '__Andreas_5';
    font-weight: 300;
    background-color: transparent;
}

.video-container {
    position: relative;
    padding-top: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sliding-headline {
    position: relative;
    display:grid; 
    grid-template-columns: 150px auto; 
    gap: 0px; 
    left: 40%; /* will be overridden by JS*/
    z-index: 10; 
    height: 60px;
    margin-left: -100px;
}

.column-text {
	column-count: 3;
	text-align: justify;
	column-gap: 30px;
}

/* Container for kolonnerne */
.columns-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3 kolonner af lige bredde */
    gap: 30px; /* Afstand mellem kolonnerne */
    padding: 0px;
}



/* Stiling for hver kolonne */
.column {
    display: grid;
    grid-template-rows: auto 1fr auto; /* De tre rækker: overskrift, tekst, billede */
    align-items: start; 
    padding: 0px;
    border: none;
}

.grid-spacer {
    grid-row: 2; /* Placer spacer mellem tekst og billede */
    flex-grow: 1; /* Gør spacer fleksibel for at skabe afstanden */
  }

/* Sørg for at billedet tilpasser sig bredden */
.column img {
    width: 100%;
    object-fit: cover;
}

.endtext::after{
	content: "Find me on LinkedIn, Discord or Messenger.";
	white-space: pre-wrap;
}

.titles::after{
	content: "Game Director | Technical Artist | Animation Director";
	white-space: pre-wrap;
}

.titles-agency::after{
	content: "Art Director | Motion Designer | 3D Artist";
	white-space: pre-wrap;
}

.end-content{
    padding: 40px;
}

.topgap
{
	margin-top: 0px;
}

@media (max-width: 1024px) {
	.center-content {
		width: 100%;
	}
	
	.topgap {
		margin-top: 55px;
	}
	
    .end-content::after{
        content: "Find me on LinkedIn, Discord or Messenger.";
        white-space: pre-wrap;
    }

	.endtext::after{
		content: "Contact";
	}
}

@media (max-width: 900px) {
	.column-text {
		column-count: 2;
	}	
	.titles::after{
		content: "Game Director\A Technical Artist\A Animation Director";
	}
	.titles-agency::after{
		content: "Art Director\A Motion Designer\A 3D Artist";
	}	
}

@media (max-width: 720px) {
	.column-text {
		column-count: none;
	}
	
    .column-text {
		column-count: 1;
	}

	.columns-container {
		grid-template-columns: repeat(1, 1fr);
	}
}

#screenshots-container {
	position: relative;
	max-width: 960px;
	background-color: white;
	padding: 0px;
	
}

.headline-text-light {
	color: #FFFFAA;
	padding-top: 20px;
	margin: 0px auto 17px auto;
	text-transform: uppercase;
	text-align: center;
	font-size: 50px;
}

.headline-btn {
	font-size: 50px;
	color: #FFFFAA;
}

.section {
	margin: 50px auto 0px auto;
}

.screenshot {
	width: 800px;
	height: 450px;
}

.carousel {
	display: flex;
	overflow: hidden;
	max-width:  960;
	height: 540px;
	position: relative;
}

.carousel img {
    object-fit: cover;
	width: 100%;
	height: auto;
	transition: transform 0.5s ease;
}
.carousel {
	display: flex;
	overflow: hidden;
	max-width:  960;
	height: 540px;
	position: relative;
}
.carousel-container {
	display: flex;
	width: 300%;
}

.carousel-controls {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
}

.carousel-controls button {
	background-color: rgba(2, 2, 32, 0.6);
	border: none;
	padding: 10px;
	margin: 20px;
	cursor: pointer;
}

.thumbnails {
	display: flex;
	height: auto;
	margin: 10px 0px 0px 0px;
}

.thumbnail {	
	cursor: pointer;
}

.thumbnail img {
	width: 100%;
	height: auto;
}

.thumbnail.active {	
	border-left: 0px;
	border-right: 0px;
	border-top: 0px;
	padding-bottom: 5px;
	border-bottom: 8px solid #000;
}











