@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

html {
    scroll-behavior: smooth;
    background-color: #000000; 
    overscroll-behavior: none;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    background-color: #000000; 
    color: #ffffff; 
}

body.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.sidebar-open .exit {
    display: none;
}

.exit {
    display: inline-block;
    margin-left: 10%;
    vertical-align: middle;
    background-color:rgb(191, 0, 184);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    animation: fadeIn 1.5s ease-in-out;
}

.exit:hover {
    background-color:rgb(58, 0, 58);
    transform: scale(1.1);
}

.container {
    transition: margin-right 0.5s;
    animation: fadeIn 1.5s ease-in-out;
}

.coming-soon {
    background-color: lightgrey;
    pointer-events: none;
    cursor: default;
}

.read-more, .read-less {
    background-color:rgb(0, 0, 0);
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover{
    background-color:rgb(29, 29, 29);
    transform: scale(1.5);
}

.file-container {
    display: flex;
    padding: 20px;
    margin: 10px;
    background-color: #232323;
    color: #ffffff;
    border-radius: 10px;
    position: relative;
    transition: background-color 0.3s ease;
}

.file-container:hover, .hover-effect {
    background-color: #3a3a3a; 
}

.file-image {
    width: 100%;
    height: auto;
    max-width: 22vw;
    transition: all 0.5s ease;
    object-fit: contain;
}

.file-container img {
    width: 100%;
    height: auto;
    filter: brightness(0.5); 
    transition: filter 0.3s ease;
}

.file-container:hover img{
    filter: brightness(1);
}

.file-info {
    margin-bottom: 1%;
    margin-left: 2%;
}

.file-container h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.file-container p {
    font-size: 14px;
    color: rgb(192, 192, 192);
}

.download-button {
    background-color:rgb(191, 0, 184);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    #position: absolute;
    #right: 10;
}

.download-button:hover {
    background-color:rgb(58, 0, 58);
    transform: scale(1.1);
}

label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}

select {
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

input[type="email"] {
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

textarea {
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

input[type="number"] {
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

input[type="submit"] {
    background-color:rgb(214, 175, 0);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="submit"]:hover {
    background-color:rgb(123, 101, 0);
}

input:invalid,
textarea:invalid,
select:invalid {
    border-color: red;
}

@media only screen and (max-width: 600px) {
    .file-container {
        flex-direction: column;
    }

    .file-image {
        max-width: 100%;
    }
}



.sidebar {
    z-index: 1000;
    height: 100vh;
    width: 250px;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 20px;
    transition: transform 0.5s ease-in-out;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    max-height: 98vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s;
}

.sidebar a:hover {
    background-color: #575757;
}

.open-btn {
    z-index: 1000;
    position: fixed;
    top: 20px;
    right: 20px;
    transform: translateX(0);
    transition: transform 0.5s ease-in-out, color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    font-size: 300%;
    color: #444;
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.open-btn:hover {
    color: #ea00ff;
    background-color: transparent;
}

body.sidebar-open .open-btn {
    transform: translateX(-270px);
}

body.sidebar-open .sidebar {
    transform: translateX(0);
}

body.sidebar-closed .sidebar {
    transform: translateX(270px);
}

body.sidebar-open .container {
    margin-right: 250px; 
}

body.sidebar-open #separator {
    margin-right: 250px;
}

@media (max-width: 768px) {
    body.sidebar-open {
        overflow: hidden;
    }
    body.sidebar-open .container {
        margin-right: 0;
    }
}