﻿/*Font Exemples*/
@font-face {
    font-family: 'ConthraxFont';
    src: url('Fonts/conthrax-sb.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GramesFont';
    src: url('Fonts/GRAMES.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* General Styles */
body {
    font-family: 'Open Sans', sans-serif; /* Custom font for general text */
    margin: 0;
    padding: 0;
    background-color: #758694;
    color: #333;
}

h1, h2, h3 {
    margin: 0;
    padding: 10px 0;
}
    
/* Hero Section */
.hero {
    background-image: url('Assets/BinaryBckg.png'); /* Path to your background image */
    background-size: cover; /* Ensure the image covers the whole section */
    background-repeat: no-repeat; /* Prevent image from repeating */
    background-position: center; /* Center the image */
    color: #f7e7dc; /* Ensure text is readable against the background */
    padding: 50px 20px;
    text-align: center;
    max-width: 100%;
    max-height: 100%;
}

.hero h1 {
    font-size: 3em;
}

.hero p {
    font-size: 1.5em;
}


/* Portfolio Section */
.portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    gap: 20px; /* Space between items */
}

.portfolio-item {
    position: relative;
    width: 300px; /* Adjust as needed */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .portfolio-item img {
        width: 100%;
        height: auto;
    }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.btn {
    background-color: rgb(245, 56, 96);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

    .btn:hover {
        background-color: rgb(207, 89, 114);
    }
