/* Basic Resets and Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Sometype Mono', monospace;
}


body {
    font-size: 16px;
    padding-bottom: 110px; /* Space for the footer */
	margin-bottom: 110px; /* Adjusted this to accommodate the footer height */
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 4rem;  /* Adjusted height */
    background-color: #fff;
	
}

.logo {
    margin-left: 2rem;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 2.5rem;
    margin-right: 2rem;
}

nav a {
    text-decoration: none;
    color: darkgrey;
    padding: 0.5rem;
    transition: color 0.3s, letter-spacing 0.3s;
}

nav a:hover {
    color: #000;
    letter-spacing: 3px;
    border-bottom: 2px solid;
}

/* Content Divs */
.content-div {
      	
    width: 300px;
    height: 450px;
    margin: 10px;
    border: 8px solid grey;  /* Adjusted the border width to 10px */
    border-radius: 15px;      /* Added rounded edges with a radius of 10px */
    transform: scale(0.9); /* Default scale */	
    transition: transform 0.3s ease;
	opacity: 0.5;
}
.image-section {
    height: 300px;  /* Adjusted image section height to 300px */
    overflow: hidden;
	margin:0px;

}

.text-section {
    height: 150px;  /* Adjusted text section height to 150px */
    padding: 0px 10px 0px 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
	font-size: 0.7rem;
	overflow: hidden; /* Prevent any content from overflowing */
    white-space: normal; /* Allows the text to wrap */
	overflow:hidden;
	color: #fff;
    text-shadow: 0 0 15px #000; /* halo/glow */
    background-color: transparent; /* remove the background color */
	mix-blend-mode: difference;
    color: white; /* Start with white for best inversion effect against dark backgrounds */
	
}


.content-div:hover {
    transform: scale(1); /* Scale on hover */
	opacity: 1;

}

.image-section, .text-section {
    width: 100%;
}


.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure horizontal scrolling with no vertical scroll */
.content-container {
    display: flex;
    flex-wrap: nowrap; /* Ensures DIVs stay in a single line */
    justify-content: start;
    padding-left: 100px;  
    padding-right: 100px; 
    overflow-x: auto; /* Enables horizontal scrolling */
    overflow-y: hidden; /* Disables vertical scrolling */
    margin-bottom: -80px; /* Adjusting margin to accommodate for the vertical space taken by the scrollbar */
	margin-top: 50px;
	flex-direction: row; /* This ensures that the divs are placed side by side */
    width: 100%; 
    white-space: nowrap; /* Ensures elements don't wrap to the next line */
}

/* Hide the scrollbar for a cleaner look */
.content-container::-webkit-scrollbar {
    display: none;
}
.content-container {
    -ms-overflow-style: none;
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    bottom: 0; 
    left: 0;
    right: 0;
    background-color: #fff;
    height: 3rem;
    border-top: 1px solid #ccc;
	font-size: 0.8rem;
}

.newsletter input[type="email"] {
    padding: 0.5rem;
    border-radius: 5px;
	font-size: 0.7rem;

}

.newsletter button {
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
}



:root {
    --color1: #FF5733;
    --color2: #33FF57;
    --color3: #5733FF;
    --color4: #33F0FF;
    --animation-duration: 5s;  /* Adjust the duration as needed */
}

@keyframes changeBackgroundColor {
    0% { background-color: var(--color1); }
    25% { background-color: var(--color2); }
    50% { background-color: var(--color3); }
    75% { background-color: var(--color4); }
    100% { background-color: var(--color1); }
}

body {
    animation: changeBackgroundColor var(--animation-duration) infinite;
}

.image-section img {
    display: none; 
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-section img:first-child {
    display: block; 
}


.bold-text {
    font-weight: bold; /* Make the text bold */
    font-size: inherit; /* Inherits the font-size of the parent */
    color: inherit; /* Inherits the color of the parent */
    background-color: inherit; /* Inherits the background color of the parent */
    text-decoration: underline; /* Add underline to the text */
}

