
body, html {
    height: 100%;
    font-family: 'Helvetica', Arial, sans-serif;
}

.portfolio-home {
    display: flex;
    flex-direction: column;
    height: 100vh; 
}

.home-section {
    flex: 1; 
    text-decoration: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    transition: all 0.75s ease;
}

.portfolio-home a {
  margin-bottom: 1rem;
}

.overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
    display: flex;
    align-items: center; 
    justify-content: center; 
    transition: background-color 0.4s ease;
}

.home-section h2 {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}


.home-section:hover .overlay {
    background-color: rgba(0, 0, 0, 0.4); 
}

.home-section h2:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    .home-section h2 {
        font-size: 2rem;
    }
}