*{
	margin: 0;
	text-decoration: none;
	padding: 0;
	font-family: "Rethink Sans";
	font-size: 13px;
	scroll-behavior: smooth;
}

body {
	background-image: url("../images/fantasybackground.png");
	background-repeat: no-repeat;
 	background-position: center top;
	font-family: "Rethink Sans";
	font-size: 14px;
}

#logo {
	text-align: center;
	padding: 30px;
	padding-bottom: 40px;
}

a {
	font-size: 18px;
	color: #FA0064;
}

strong {
	color: #FA0064;
	font-weight: bold;
}

h3 {
	color: #ffffff;
	font-size: 20px;
	font-weight: bold;
}

h2 {
	font-weight: bolder;
}

p {
	line-height: 1.4;
}

/*=========================================================================
    base structure
========================================================================== */


.iconarrow {
	background:url("../images/icons/iconarrowup.png")no-repeat center;
	background-color: #FAFAFA;
	padding: 18px;
	border-radius: 8px;
	box-shadow: rgba(0, 0, 0, .1) 0 3px 5px -1px,rgba(0, 0, 0, .11) 0 6px 10px 0,rgba(0, 0, 0, .11) 0 1px 1px 0;
} 

a.iconarrow:hover {
  background-color: #000000;
}

.iconmglass {
	background:url("../images/icons/iconmagnifyingglass.png") no-repeat center;
	background-color: #000000;
	padding: 18px;
	margin-left: 15px;
	border-radius: 8px;
	box-shadow: rgba(0, 0, 0, .1) 0 3px 5px -1px,rgba(0, 0, 0, .11) 0 6px 10px 0,rgba(0, 0, 0, .11) 0 1px 1px 0;
}  

a.iconmglass:hover {
	background-color: #FA0064;
}

.iconmglassmirror {
	background:url("../images/icons/iconmagnifyingglassmirror.png") no-repeat center;
	background-color: #000000;
	padding: 18px;
	margin-left: 15px;
	border-radius: 8px;
	box-shadow: rgba(0, 0, 0, .1) 0 3px 5px -1px,rgba(0, 0, 0, .11) 0 6px 10px 0,rgba(0, 0, 0, .11) 0 1px 1px 0;
} 

a.iconmglassmirror:hover {
	background-color: #FA0064;
}



/*=========================================================================
    navigation bar
========================================================================== */


.navigation a{
	background-color: #FAFAFA;
	padding: 8px 10px;
	text-align: center;
	display: inline-block;
	border-radius: 8px;
	box-shadow: rgba(0, 0, 0, .1) 0 3px 5px -1px,rgba(0, 0, 0, .11) 0 6px 10px 0,rgba(0, 0, 0, .11) 0 1px 1px 0;
}

.navigation a:hover {
	background: #000000;
	color: #FA0064;
}

nav ul li {
	display: inline; /*horizontal*/
	padding: 50px;
}

nav ul {
	text-align: center;	
	padding-bottom: 50px;
}

/*=========================================================================
    #intro structure
========================================================================== */

#intro{
    padding: 2rem 0;
	text-align: justify;
	margin: 0px auto;
	
}

#intro .container{
	display: grid;
	grid-template-columns: repeat(12, 1fr);
  	grid-gap: 38px;
	
} 

#intro .card:nth-child(1){/* eerste card */
   grid-column-start: 4;
   grid-column-end: 7;
} 

#intro .card:nth-child(2){ /* tweede card */
	grid-column-start: 7;
	grid-column-end: 10;
}

/*=========================================================================
    #milestones structure
========================================================================== */
	
#milestones {
	padding-top: 120px;
	text-align: justify;
	margin: 0px auto;
	display: grid;
	grid-template-columns: repeat(16, 1fr);
}

#milestones h2 {
	margin-left: 15px;
	font-size: 28px;
}

.titlemilestones {
	display: flex;
	padding-bottom: 10px;
}  

#milestones .container {
	grid-column-start: 12;
	grid-column-end: 15;
}


/*=========================================================================
    #artworks structure
========================================================================== */

#artworks {
	margin-top: 150px;
}

#artworks .card img {
    object-fit: cover;
	width: 400px;
	height: 350px;
	border-radius: 8px;
}

#artworks .card img:hover{
	filter: grayscale(1);
	transform: scale(1.03);
	transition: 400ms;
}

#artworks h2 {
	font-size: 28px;
	margin-right: 15px;
}

.titleartworks {
	display: flex;
	font-size: 28px;
	margin-left: 120px;
	padding-bottom: 10px;
}

#artworks .container {
	max-width: 100%;
	display: grid;
	grid-template-columns: repeat(16, 1fr);
	grid-gap: 50px;
}  

#artworks .card:nth-child(1) {
	grid-column-start: 6;
	grid-column-end: 6;
}

#artworks .card:nth-child(2) {
	grid-column-start: 11;
	grid-column-end: 12;
}
#artworks .card:nth-child(3) {
	grid-column-start: 6;
	grid-column-end: 6;
}

#artworks .card:nth-child(4) {
	grid-column-start:11;
	grid-column-end: 12;
}

/*=========================================================================
    #improvements structure
========================================================================== */

#improvements {
	text-align: justify;
	margin: 0px auto;
	margin-top: 150px;
	display: grid;
	grid-template-columns: repeat(16, 1fr);
}

#improvements h2 {
	margin-left: 15px;
	font-size: 28px;
}

.titleimprovements {
	display: flex;
	padding-bottom: 10px;
	
}  

#improvements .container {
	grid-column-start: 12;
	grid-column-end: 15;
}


/*=========================================================================
    #info structure
========================================================================== */

#info {
	padding-top: 150px;
	margin: 0px auto;
}  

.titleinfo {
	display: flex;
	margin-left: 120px;
}

#info .container {
	grid-template-columns: repeat(12, 1fr);
	display: grid;	
}

#info .card:nth-child(1) {
	grid-column-start: 2;
	grid-column-end: 10;
	padding-top: 30px;
	margin-left: 40px;
}  

#info h2 {
	font-size: 28px;
	margin-right: 15px;
}

input[type=submit] {
	border: hidden;
	margin: 20px 120px;
	color: #FA0064;
	background-color: #FAFAFA;
	padding: 8px 10px;
	border-radius: 8px;
	box-shadow: rgba(0, 0, 0, .1) 0 3px 5px -1px,rgba(0, 0, 0, .11) 0 6px 10px 0,rgba(0, 0, 0, .11) 0 1px 1px 0;
}

input[type=text] {
	border: hidden;
	background-color: #FAFAFA;
	padding: 8px 10px;
	border-radius: 8px;
	box-shadow: rgba(0, 0, 0, .1) 0 3px 5px -1px,rgba(0, 0, 0, .11) 0 6px 10px 0,rgba(0, 0, 0, .11) 0 1px 1px 0;
}

#info [type=submit]:hover {
	background: #000000;
	color: #FA0064;
}


/*=========================================================================
    #footer structure
========================================================================== */

footer {
	background-color: black;
	padding-bottom: 80px;
	margin-top: 200px;
}

footer ul {
	padding-top: 60px;
	padding-left: 50px;
}

/*=========================================================================
    Logo Animation
========================================================================== */

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-text {
    font-size: 6rem; /* Large font size */
    font-weight: bold;
    background: linear-gradient(to right, #FA0064 50%, #000 50%);
    background-size: 200% 100%;
    background-position: 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: paint 2s forwards;
}

@keyframes paint {
    from { background-position: 100%; }
    to { background-position: 0; }
}

.logo-painting-black {
    font-size: 6rem;
    font-weight: bold;
    background: linear-gradient(to right, #000 50%, #FA0064 50%);
    background-size: 200% 100%;
    background-position: 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: paint-black 2s forwards;
}

@keyframes paint-black {
    from { background-position: 100%; }
    to { background-position: 0; }
}

.logo-text-final {
    font-size: 6rem;
    font-weight: bold;
    color: #000;
}

.fade-in {
    animation: fadeIn 0.5s forwards;
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/*=========================================================================
    panel structure
========================================================================== */

.panel {
    height: 450px;
    width: 0;
    position: fixed;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    background-color: #000000;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 8px;
}

/*=========================================================================
    Image Modal
========================================================================== */

.image-modal {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Hide overflow during animation */
    background-color: rgba(0,0,0,0);
    transition: background-color 0.4s ease-in-out;
}

.image-modal.show {
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    position: fixed; /* Use fixed positioning for animation */
    transition: all 0.4s ease-in-out;
    object-fit: cover;
}

.modal-close {
    position: absolute; /* Position will be set by JS */
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 21; /* Ensure it's above the image */
}

.modal-close:hover,
.modal-close:focus {
    color: #FA0064;
    text-decoration: none;
    cursor: pointer;
}

.left-panel {
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.right-panel {
    right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.panel-content {
    padding: 40px;
}



.right-panel .panel-content {
    text-align: right;
}

.panel-content h2 {
    font-size: 28px;
    color: #FA0064;
}

.panel-content p {
    font-size: 16px;
    color: #ffffff;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 36px;
    text-decoration: none;
    color: #ffffff;
}

.right-panel .close-btn {
    right: auto;
    left: 25px;
}

.close-btn:hover {
    color: #FA0064;
}
