#author, #game{
    scroll-margin-top: 50px; 
}

body {
    background-color: #000000 !important;
    padding-top: 15px;
}

.box {
    background-color: #000000;
    padding: 15px;
    border-radius: 5px;
}

.box ul {
    margin: 0;
    padding-left: 15px;
}

.box li {
    font-size: 16px !important;
}

.box a {
    color: #CC1718;

}

.box a:hover {
    color: #CC1718;
}

.container {
    background-color: #191C24;
    color: #cecece;
}

h1,
h4 {
    color: #CC1718 !important;
}



.progress {
    background-color: #cc17182b !important;
}

.progress-bar {
    background-color: #CC1718 !important;
}

hr {
    border-color: #5e5e5ea8 !important;
}

.nav-side-bar{
    /* position:fixed; */
    /* top: 0; */
    width: 100%;
    text-align: center;
    background-color: #000000;
    z-index: 99;

}

.nav-side-bar a{
    background-color: #000000;
    font-size: 18px;
    display: inline-block;
    /* width: 150px; */
    padding: 12px;
    color: #ffffff;
    text-align: center;
    margin: 0 5px;
}

.nav-side-bar a:hover{
    color: rgb(212, 238, 65);
    text-decoration: none;
}

.logo{
    text-align: center;
}

.logo img{
    width: 250px;
    margin: 15px;
}


/* #author,
#game,
#contact {
    border: 1px dotted rgba(0, 0, 0, 0.521);
    padding: 15px;
    margin-bottom: 15px;
} */


.author_picture {
    display: block;
    width: 150px;
    border-radius: 100%;
    margin: 15px auto;
    /* border: 4px solid #CC1718; */
    filter: drop-shadow(0 0 0.3rem #ff0000);
}

.author-introduction {
    text-align: justify;
    font-size: 24px;
}

.social {
    display: block;
    text-align: center;
    list-style: none;
    margin: 0 auto !important;
    padding: 0;
}

.social li {
    display: block;
    text-align: center;
    list-style: none;
    margin: 0 auto;
}

.social-link img {
    width: 29px;
    height: 29px;
    border-radius: 5px;
}

.custom-container {
    max-width: 780px;
    /* margin: 50px 0; */

}

.custom-container-border {
    border: 1px solid #2b2b2b1a;
    border-radius: 3px;
    padding: 15px;
}

.nav {
    text-align: end;
    margin: 30px 0 0 0;

}

.nav-link {
    /* background-color: white; */
    background-color: #191C24;
    padding: 5px;
    border: 1px solid #191C24;
    color: #CC1718;
}



.nav-link:hover {
    background-color: #CC1718;
    color: white;
    padding: 5px;
    border: 1px solid #CC1718;
    text-decoration: none;

}

.progress-title {
    margin: 10px auto;
    text-align: center;

}

.progress-label {
    float: left;
    margin-right: 1em;
    width: 65px;
}

.progress {
    margin-bottom: 10px !important;
}

#game {
    padding: 0 15px;
}


#game h1 {
    text-align: center;
    margin: 5px 0 -5px 0;
}



#game .game-category {
    border-bottom: 25px solid #000000;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    height: 0;
    text-align: center;
    max-width: 300px;
    margin: 15px auto 0 auto;
    color: #CC1718;
}



.game-grid {
    border: 1px solid #080a0c;
}


.game-grid .col-md-4 {
    padding: 0 !important;
}


.game-box {
    position: relative;
    min-width: 250px;
    min-height: 250px;
    border: 2px solid black;
}

.game-box:hover .game-links {
    transition: 0.3s;
    opacity: 1;
}

.game-box:hover .game-background {
    -webkit-filter: brightness(20%);
}

.game-box a {
    color: white;
    text-decoration: none;
}


.game-box .link-logo {
    display: inline-block;
    width: 30px !important;
    height: 30px !important;
}

.game-box h3 {
    font-size: 18px;
    transition: 0.2s ease;
    margin: 0;
    height: 75px;
}

.game-box:hover a {
    color: white;
    text-decoration: none;
}

.game-box:hover h3 {
    display: table-cell;
    vertical-align: bottom;
    color: white;
    text-decoration: none;
    font-size: 30px;
}




.game-box:hover .game-links {
    transition: 0.3s;
    opacity: 1;

}

.game-box .game-background {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-filter: brightness(100%);
    transition: 0.3s;
    border-radius: 2px;

}

.game-links {
    position: absolute;
    bottom: 80px;
    width: 100%;
    text-align: center;
    opacity: 0;
}



.link {
    display: block;
    margin: 0 auto;
    max-width: 115px !important;
    padding: 5px;
    border: 1px solid white;
    background-color: white;
    border-radius: 20px;
    color: #2b2b2b !important;
    transition: 0.3s ease;
}

.link:hover {
    max-width: 125px !important;
    /* background-color: rgb(235, 235, 235); */
    background-color: white;
}

#contact h3 {
    margin: 5px 0px;
    text-align: center;
}

small {
    display: block;
    text-align: center;
    margin: 15px 0 0 0;
}

#contact p {
    margin: 0;
}

.downloads {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.download-link {
    margin: 0 auto;
    text-align: center;
    max-width: 130px;
    padding: 8px;
    margin-left: 15px;
    border: 1px solid white;
    background-color: white;
    color: black !important;
    border-radius: 20px;
}

.download-link img {
    height: 35px;
}


/* ------- NEW ADDITIONS ------ */
.game-project {
    background-color: #000000;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 5px;
    margin: 15px;
}

.game-project-image img {
    height: 175px;
    transition: 0.3s;
    display: block;
    margin: 0 auto;
}

.game-project-image img:hover {
    opacity: 50%;
}

.game-project-title {
    margin: 0;
    margin-bottom: 15px;
    margin-left: 15px;
    color: white;
}

.game-project-title a {
    color: white;
}

.game-project-title a:hover {
    color: white;
}

.game-project-description {
    margin: 0;
    margin-bottom: 15px;
    margin-left: 15px;
    font-size: 18px;
    text-align: justify;

}

.game-project-link {
    margin: 0;
    margin-bottom: 15px;
    margin-left: 15px;
    font-size: 20px;
    padding: 5px;
    border-radius: 15px;
    text-decoration: none;
    color: white;


}

.game-project-link:hover {
    color: white;
}

.game-project-link-logo {
    height: 35px;
    margin-right: 5px;
}

.current-project-image {
    display: block;
    margin: 0 auto;
    width: 70%;
}

.current-project-title {
    text-align: center;
}

.current-project-title a {
    text-align: center;
    color: white !important;
}

.current-project-description {
    text-align: center;
    font-size: 17px;
    text-align: justify;

}

.current-project-link {
    display: block;
    margin: 0 auto;
    text-align: center;
    color: white !important;
    font-size: 20px;
    border: 1px solid black;
    padding: 10px;
    width: 200px;
    border-radius: 15px;
}

.current-project-link-logo {
    text-align: center;
    height: 30px;
    margin-right: 5px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    grid-template-rows: repeat(3, 10vw);
    grid-gap: 15px;
}

.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Style the Image Used to Trigger the Modal */
.myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.1s;
}

.myImg:hover {
    border: 3px solid red;
    opacity: 0.7;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
    width: auto;
    height: auto;
    max-height: 720px;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.modal-close-parent {
    display: block;
    margin: 0 auto;
    width: 920px;
    text-align: end;
}

/* The Close Button */
.modal-close {
    color: #f1f1f1;
    font-size: 80px;
    font-weight: bold;
    transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }

    .current-project-image{
        width: 100% !important;
    }

    .current-project-arts{
        display: block !important;
    }
}

.test{
    margin-top: -15px;
    background-color: #0c0d11;
    padding-bottom: 15px;
}

.test img{

    width: 105%;
    margin-left: -15px;

    border-right: 2px solid rgb(63, 19, 19);
    border-bottom: 2px solid rgb(63, 19, 19);
}

.test h1, h3{
    width: 100%;
}

.link-container {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Espaço entre os links */
}

.link-box {
    display: flex;
    align-items: center;
    background-color: #292c36;
    color: #CC1718;
    text-decoration: none;
    padding: 10px;
    width: 100%;
    border-radius: 2px;
    transition: background 0.3s;
    font-weight: bold;
    
}

.link-box:hover {
    background-color: #30343d;
    text-decoration: none;
    color: white;
}

.link-box img {
    width: 40px;
    height: 40px;
    margin-left: 5px;
    margin-right: -15px; /* Espaço entre o ícone e o texto */
}

.link-box .title {
    flex: 1;
    text-align: center;
    font-size: 16px;
}

#footer-section {
    margin-top: 25px;
    margin-bottom: 25px;
}

.footer-links {
    text-align: center;
    padding: 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: rgb(238, 255, 0);
}

.footer-links li {
    text-decoration: none;
    display: inline;
    margin-left: 5px;
    margin-right: 5px;
}

.box-margin{
    margin-top: 30px;
}

.link-inactive{
    color: #4b4b4b !important;
}