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

body{
    font-family: 'Montserrat', sans-serif;
    background: white;
}

/* Hamburger button */
.menu-btn{
    position:fixed;
    top:115px;
    left:25px;
    width:50px;
    height:50px;
    border:none;
    background:#333;
    color:white;
    font-size:28px;
    cursor:pointer;
    border-radius:8px;
    transition:.3s;
    z-index:1001;
}

.menu-btn:hover{
    background:white;
    color:black;
}

/* Sidebar */
/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;              /* Left side */
    width: 250px;
    height: 100%;
    background: #333;
    padding-top: 200px;

    transform: translateX(-100%); /* Hide off the left side */
    transition: transform 0.4s ease;
    z-index: 1000;
}

/* Visible state */
.sidebar.show {
    transform: translateX(0);
}
/* Links */
.sidebar a {
    display: block;
    color:white;
    text-decoration: none;
    padding: 18px 25px;
    font-size:18px;
    transition:.3s;
}

.sidebar a:first-child {
    margin-top: 80px;
}

.sidebar a:hover{
    background:white;
    color:black;
}
body {
    background: white;
    color: white;
}

.ilcp {
    top: 10px;
}
.logo {
    position: relative;
    top: -165px;
    margin-left: 30px;
}

.my-paragraph {
    
    position: absolute;
    top: 250px;    /* Vertical position */
    margin-left: 30px;   /* Horizontal position */
    width: 500px;  /* Width of the paragraph */
    color: black;
    
}
.image-row {
    display: flex;
    margin-left: 40px; /* Centers the images */
    gap: 80px;               /* Space between images */
    margin-top: -125px      /* Space above the row */
}

.image-row img {
    width: 100px;    /* Change image size */
    height: 90;
}
.text-row {
    display: flex;
    margin-left: 30px; /* Centers the paragraphs */
    gap: 90px;               /* Space between them */
    margin-top: 20px;
}

.text-row p {
    width: 250px;            /* Width of each paragraph */
    text-align: justify;
    color: black;
    font-family: 'Montserrat', sans-serif;
}
.bold {
    margin-left: 13px;   /* Move right */
    margin-bottom: 20px;     /* Move down */
    width: 400px;
}
.image-button {
    position: relative;
    width: 300px;
    height: 200px;
    border: none;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    background: none;
    transition: box-shadow 0.3s ease;
}

.image-button img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Default caption */
.image-button .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    padding: 15px 0;
    background: #333;
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Hover effects (only if NOT selected) */
.image-button:not(.selected):hover img {
    transform: scale(1.08);
}

.image-button:not(.selected):hover .caption {
    background: white;
    color: black;
}

.image-button:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Selected state */
.image-button.selected {
    box-shadow: 0 8px 20px rgba(69, 160, 73, 0.45);
}

.image-button.selected .caption {
    background: #a04545;
    color: white;
}
.mediabtn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #007BFF;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.mediabtn img {
    width: 24px;
    height: 24px;
}

.mediabtn:hover {
    background: #0056b3;
    transform: scale(1.05);
}
