@font-face {
  font-family: 'ProjectDFont';
  src: url('../fonts/projectd-bold.otf') format('opentype');
  font-weight: bolder;
  font-style: normal;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: black;
    color: white;
}

.title {
    font-family: 'ProjectDFont', sans-serif;
    font-style: italic;
    
    background: linear-gradient(to top, #464748, white);
    -webkit-background-clip: text; /* gradient on text only */
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    /* gradient */
    filter: drop-shadow(1px 1px 0 white);
}

.sidebar .title{
    font-size: 36px;
    letter-spacing: 0.65rem;
}

h1 {
    margin: 0;
    font-size: 6rem;
    text-align: center;
    letter-spacing: 1.5rem;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    background-color: #333;
    padding: 20px;
    width: 180px;
    flex-shrink: 0;
}

.logo {
    width: 100%;
    display: block;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar a {
    color: white;
    text-decoration: none;
}

.sidebar a:hover {
    text-decoration: underline;
}

/* Conteúdo principal */
.content {
    flex: 1;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.image-container {
    position: relative;
    overflow: hidden;
    max-width: 800px;
    max-height: 533px;
}

.image-slide {
    width: 100%;
    height: auto;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .overlay {
    opacity: 1;
}
.image-container.active .overlay { /* for mobile */
    opacity: 1;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 8px;
    cursor: pointer;
    z-index: 2;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.6);
}

.nav-left {
    left: 5px;
}

.nav-right {
    right: 5px;
}

/* Responsividade */
@media (max-width: 1024px) {
    .content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .content {
        grid-template-columns: 1fr;
    }
}
