@font-face {
    font-family: 'Borel' ;
    src: url('fonts/Borel-Regular.ttf')
    
}

@font-face {
    font-family: 'Roboto' ;
    src: url('fonts/Roboto-Regular.ttf')
    
}

header {
    background-color: rgba(0, 0, 0, 0);
    color: #F5F5F5;
    padding: 20px;
    text-align: center;
    height: 10vh; 
    flex-shrink: 0; 
    font-size: 1.5rem;

}

h1 {
    font-family: 'Borel';
    text-align: center;
    color: #F5F5F5;
}

h1 a:hover {
    cursor: url('3D/curseur.png'), auto;
}

body {
    font-family: 'Roboto', sans-serif; 
    font-size: 1.5rem;
    color: #425EA2;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #6495ED;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden; 
    cursor: url('3D/curseur.png'), auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.gallery {
    flex: 1; 
}

.masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
    padding: 20px;
}

.masonry-item {
    background-color: transparent; 
    border-radius: 10px;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: transform 0.3s ease;
    cursor: pointer;
    overflow: hidden; 
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.masonry-item img:hover{
    cursor: url('3D/curseur.png'), auto;
}


footer {
    background-color: rgba(0, 0, 0, 0);
    font-family: Borel, sans-serif;
    color: #F5F5F5;
    text-align: center;
    padding-top: 10px;
    height: 10vh;
    flex-shrink: 0;
    font-size: 1rem;
    margin-top: auto; 
}

@media (max-width: 768px) {
   
    header {
    flex-shrink: 0;
    width: 100%;
    text-align: center; 
    padding: 10px 0;
    font-size: 1.5rem;
   
    }
    
    .masonry {
        grid-template-columns: 1fr; 
    }
    
    footer {
        font-size: 0.85rem; 
        text-align: center; 
        white-space: normal; 
        line-height: 1.4;
        margin-top: auto ;
        width: 100%;
        flex-shrink: 0;
        padding: 0;
    }

}