html {
    scroll-behavior: smooth;
    background-color: #1F262A;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #AAA9AD;
}

h1 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 50px;
}

hr {
    background-color:#2A3439;
    border:none;
    width:50vw;
    height:3px;
}

#menu {
    width: 60%;
    margin: auto;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.menuItem {
    position: relative;

    width: 100%;
    height: 250px;

    border-radius: 25px;

    overflow: hidden;

    background-size: cover;
    background-position: center;

    text-decoration: none;

    opacity: 0;
    transform: scale(0.95);

    animation: fadeIn 1.2s forwards;
    transition: transform 0.3s ease;
}

.overlay:hover {
    transform: scale(1.2);
}
.menuItem:hover {
    transform: scale(1.02);
}

.menuItem::before {
    content: "";
    /*position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);*/
}

.overlay {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay p {
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.work {
    background-image: url("images/werk.JPEG");
}

.studies {
    background-image: url("images/studie.JPEG");
}

.about {
    background-image: url("images/aboutme.jpg");
}

#credits{
    text-align:center;
}   

section {
    width: 60%;
    margin: 120px auto;
    min-height: 50vh;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }   
    to {
        opacity: 1;
        transform: scale(1);
    }
}
