@font-face {
    font-family: 'MyFont';
    src: url('../font/DuctusMonoCalligraphic.ttf') format('truetype');
}

body {
    margin: 0;
    padding: 0;
    background-color: #FF66C4;
    font-family: 'MyFont';
    line-height: 1.2;
}

.columns {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr; 
    height: 100vh;
}
.column1 img,
.column3 img {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    max-height: 100%;
}
.column2 {
    overflow-y: auto;
    box-sizing: border-box;
    height: 100%;
    text-align: center;
}

h1 {
    font-size: 4em;
    margin: 0.2em 0 1em;
}
.au-dessus
.fleche {
    display: none;
}

.pub-list {
    list-style: none;
}
.pub-list li {
    margin: 3em;
}
.pub-list a {
    font-size: 1.75em;
    color: black;
    text-decoration: underline;
}

.retour {
    display: block;
    width: 8%;
    height: auto;
    margin: 0 auto 3em 3em;
}


@media (max-width: 768px) {
    .columns {
        grid-template-columns: 1fr; 
        height: auto;
    }

    .column1 img {
        position: relative;
        display: block;
        width: 90%;
        margin: 0 auto; 
    }

    .column3 {
        display: none; 
    }

    .column2 {
        grid-column: 1 / -1;
        padding: 0 1em;
    }
    .column1 {
        position: relative;
    }

    .au-dessus {
        display: block;
        position: absolute; 
        top: 20%;
        left: 50%;
        transform: translateX(-50%); 
        text-align: center;
        font-size: 2em;
        font-weight: bold;
        z-index: 10;
    }
    .fleche {
        display: block;
        position: absolute;
        top: 55%;              
        left: 50%;
        transform: translateX(-50%);
        width: 10px;            
        height: 90px;           
        background-color: black;
        z-index: 10;
    }
    .fleche::after {
        content: "";
        position: absolute;
        bottom: -15%;     
        left: 50%;
        transform: translateX(-50%);
        border-left: 22px solid transparent;
        border-right: 22px solid transparent;
        border-top: 27px solid black;
    }

    h1 {
        display: none;
    }

    .pub-list{
        padding: 0;
    }
    .pub-list li{
        margin: 3.5em;
    }
    .pub-list a {
        font-size: 1.5em;
    }

    .retour {
        width: 15%;
        margin: 1em auto 5em 1em;
    }
}

footer {
    background-color: #FF66C4;
    color: black;
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}