@font-face {
    font-family: 'Crang';
    src: url('images/fonts/Crang.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PixelOperator';
    src: url('images/fonts/PixelOperator.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'editundo';
    src: url('images/fonts/editundo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    text-align: center;
    font-family: PixelOperator;
    line-height: 1.0;
    color: #e3e6ff;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0;
    background-color: #141013;
}

header {
    background-image: url('images/banners-benvictus.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 480px 48px;
    background-color: #2c2137;
    width: 100%;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

p {
    font-family: PixelOperator;
    color: #e3e6ff;
    text-shadow: -1px 1px #141013;
}


h1 {
    font-family: editundo;
    font-weight: 100;
    margin: 0;
    padding-left: 20px;
    color: #1a1c2c;
    font-size: 24px; /* Adjust as needed */
}
h2 {
    font-family: editundo;
    font-size: 24px;
    font-weight: 100;
    color: #e3e6ff;
    margin-top: 0px;
    margin-bottom: 8px;
    text-shadow: -1px 1px 0px #141013;
}
ul {
    list-style-type: none;
    padding: 0px;
}
nav {
    background-color: #793a80;
    padding: 0;
}
nav ul {
    list-style-type: none;
    padding: 4px;
    padding-bottom: 3px;
    margin: 0;
    display: flex;
    justify-content: center;
}
nav ul li {
    margin: 0 1rem;
}
nav ul li a {
    color: #e3e6ff;
    font-family: editundo;
    font-size: 24px;   
    /*-webkit-text-stroke: 1px #141013;*/
    text-shadow: -2px 2px 0px #141013;
    /*text-shadow: stroke #141013 -2px 2px;*/
        
}
nav ul li a:hover {
    color: #ffcd75;
}

a
{
    color: #44a830;
}
a :hover{
    color: #e3e6ff;
}

a
{
    color: #44a830;
    text-decoration: none;
}
a :hover{
    color: #91cc24;
    text-decoration: none;
}

/* Hero Section */
#hero {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image {
    width: 1080px; /* Set this to the actual width of your hero image */
    height: 300px; /* Set this to the actual height of your hero image */
    /*background-image: url('images/hero-image-00.png');*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

button {
    font-family: editundo;
    background-color: #2c2137;
    color: #e3e6ff;
    text-shadow: 2px 1px #141013;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    width: 100%;
    
}

button:hover {
    background-color: #793a80;
    color: #e3e6ff;
}

.contact-button {
    padding: 10px 20px;
    font-family: editundo;
    font-size: 18px;
    color: #e3e6ff;
    background-color: #2c549e;
    border: 2px solid #338cca;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px #141013;
}

.contact-button:hover {
    background-color: #338cca;
    color: #ffcd75;
    border-color: #ffcd75;
}

/*Section Headers*/
.section-header {
    background-color: #2c549e;
    width: 100%;
    height: 96px;
    display: block;
    margin: 0 auto;
    image-rendering: pixelated;
}
.section-header-image{
    width: 600px;
    height: 96px;
    image-rendering: pixelated;
}

/* Portfolio Section */
.portfolio-images {
    background-color: #1a1c2c;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 20px;
}

.portfolio-item {
    width: 400px; /* Adjust based on your image size */
    height: auto;
    border: 1px solid #1a1c2c;
    image-rendering: pixelated;
}

.portfolio-item:hover img{
    border: 1px solid #ffcd75;
}

/* Description Section */
#description {
    background-color: #1a1c2c;
    padding-top: 1px;
    padding-left: 60px;
    padding-right: 60px;
}

.description-content {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.description-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.description-column button {
    background-color: #793a80;
    color: #e3e6ff;
    text-shadow: -1px 1px #141013;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 24px;
    width: 200px;
    height: 50px;
    margin-bottom: 32px;
}

.description-column button:hover {
    background-color: #338cca;
    color: #e3e6ff;
}

.description-image {
    padding-top: 10px;
    width: 64px;
    height: 64px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.description-text {
    width: 75%;
    margin: 0 0 10px 0;
}

.description-text p {
    padding-top: 10px;
    font-size: 16px;
    font-weight: 100px;
    font-family: PixelOperator;
    color: #e3e6ff;
    text-shadow: -1px 1px #141013;
    margin: 0;
}

/* Media List */
.media-grid-container {
    background-color: #1a1c2c;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    

}
.media-list {
    background-color: #1a1c2c;
    border-radius: 8px;
    padding: 48px;
    
    margin-bottom: 0px;

}
.media-list h2 {
    color: #ef7d57;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 60;
    text-shadow: -1px 1px #1a1c2c;
}

.media-button {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    background-color: #793a80;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.media-button:hover {
    background-color: #338cca;
    color: #91cc24;
    text-shadow: #141013 -1px 1px;
}

.media-button img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.media-button span {
    font-size: 19px;
    color: #f0f0f0;
    text-shadow: #141013 -1px 1px;
}

/* Footer */
footer {
    background-color: #2c2137;
    color: #e3e6ff;
    padding: 15px 0 10px;
    margin-top: 4px;
}

.footer-content {
    display: grid;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
}

.social-media {
    margin-bottom: 0px;
}

.social-icons {
    display: flex;
    grid-template-rows: 1;
    gap: 8px;
    justify-content: center;
}

.social-icon-link {
    width: 48px;
    height: 48px;
    display: block;
    position: relative;
}

.social-icon,
.social-icon-hover {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.social-icon-hover {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.social-icon-link:hover .social-icon {
    display: none;
}

.social-icon-link:hover .social-icon-hover {
    display: block;
}

.footer-bottom {
    
    text-align: center;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e3e6ff;
}

.footer-bottom p {
    font-family: PixelOperator;
    margin: 0;
    font-size: 1;
}
.social-media .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icon-link {
    width: 48px;
    height: 48px;
    display: block;
    position: relative;
    overflow: hidden;
}

.social-icon {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    transition: opacity 0.3s ease;
}

.social-icon-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon-link:hover .social-icon {
    opacity: 0;
}

.social-icon-link:hover::after {
    opacity: 1;
}

/* Specific hover images for each social icon */
.social-icon-link.itch::after {
    background-image: url('images/social-hover-00.png');
}

.social-icon-link.discord::after {
    background-image: url('images/social-hover-01.png');
}

.social-icon-link.reddit::after {
    background-image: url('images/social-hover-02.png');
}

.social-icon-link.twitter::after {
    background-image: url('images/social-hover-03.png');
}

/* Ensure pixel-perfect rendering */
img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}