/* General */
body {
    background-size: cover;
    background-repeat: no-repeat;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Portrait */
img {
    max-width: 285px;
    border-radius: 5px;
    box-shadow: 0 0 15px black;
}

/* Social networks et CV */
#reseaux {
    margin: 15px;
    padding: 0; /* Ne pas supprimer où un carré vide va apparaitre et dé-centrer les icones*/
    max-width: 400px;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.reseau_icon {
    animation: fadeIn 1s;
    margin: 0 5px;
    padding: 10px;
    width: 30px;
    height: 30px;
    font-size: 26px;
    line-height: 30px;
    display: block;
    text-align: center;
    font-family: 'LeagueGothic';
    text-decoration: none;
    color: white;
    background: rgba(0,0,0,0.5);
    border-radius: 50px;
    transition: 0.5s;
}

.reseau_icon:hover {
    box-shadow: 0 5px 5px black;
    background: rgba(70, 70, 70, 0.5);
    transform: translateY(-5px);
    transition: 0.5s;
}

/* Portfolio access buttons*/
#access_portfolio_bar {
    padding: 10px 90px 65px;
    width : 800px;
    margin: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: center;
}

.access_portfolio {
    animation: fadeIn 2s;
    padding: 7.5px;
    margin: 2.5px;
    width: 310px;
    text-align: center;
    border-style: solid;
    border-color: white;
    border-radius: 5px;
    background-color: black;
    box-shadow: 0 0 15px black;
    border-width: 2px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bolder;
    color: white;
    opacity: 75%;
    transition: 0.25s;
}

.access_portfolio:hover {
    transform: scale(1.2);
    opacity: 100%;
    color: black;
    border-color: black;
    background-color: white;
    box-shadow: 0 5px 25px black;
    transition: 0.5s;
}

.access_gallery {
    background-color: rgb(75, 75, 75);
}

/* Responsive design */
@media screen and (max-width: 800px) {
    h1 {
        margin-top: 0;

    }

    img {
        max-width: 200px;
    }

    #access_portfolio_bar {
        width: fit-content;
        flex-direction: column;
    }

    .access_portfolio {
        margin : 0;
        width: 200px;
        font-size: 0.75rem;
    }

    #footer {
        padding: 10px 0;
    }
}