@import url('https://fonts.googleapis.com/css2?family=SN+Pro&family=Story+Script&display=swap');

.story-script-regular {
    font-family: "Story Script", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.sn-pro {
    font-family: "SN Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

html {
    font-family: "SN Pro";
    min-height: 100%;
    position: relative;
    background: #5BCEFA;
    background: linear-gradient(135deg, rgba(91, 206, 250, 1) 0%, rgba(91, 206, 250, 1) 10%, rgba(245, 169, 184, 1) 50%, rgba(255, 255, 255, 1) 90%, rgba(255, 255, 255, 1) 100%);
    cursor: crosshair;
}

h1 {
    font-family: "Story Script";
    text-decoration: underline;
    animation: textgradient 5s linear infinite;
    font-size: 42px;
}

h2 {
    font-size: 30px;
    font-family: "Story Script";
    text-decoration: underline;
    animation: textgradient 5s linear infinite;
}

p {
    font-family: "SN Pro";
}

img {
    border-radius: 20px;
    height: 200px;
}

a {
    color: blueviolet;
    font-weight: bold;
}

a:hover {
    color: red;
}

.lienbio {
    padding-left: 20px;
    padding-right: 20px;
}

.travail-item {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

#footer {
    width: fit-content;
    position: relative;
    bottom: -20px;
    left: 0;
    right: 0;
    margin: auto;
    padding-bottom: 20px;
}

#images {
    height: fit-content;
    width: fit-content;
    margin: auto;
}

#box {
    max-width: 1000px;
    text-align: center;
    margin: auto;
    background-color: white;
    border: solid black 2px;
    border-radius: 20px;
    padding: 20px;
}

#divbio {
    margin: auto;
    text-align: justify;
    padding: 20px;
    max-width: 800px;
}

#wallpaper {
    height: 200px;
    width: 300px;
    background-image: url(/Bio/img/Wallpaper2.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    margin: auto;
}

#grid-travaux {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 10px;
    margin: auto;
}

@keyframes textgradient {
    0% {
        text-decoration-color: #FF3B30;
    }

    20% {
        text-decoration-color: #FF6A00;
    }

    30% {
        text-decoration-color: #FF8C42;
    }

    40% {
        text-decoration-color: #00C853;
    }

    50% {
        text-decoration-color: #00E5A8;
    }

    60% {
        text-decoration-color: #00B8D9;
    }

    70% {
        text-decoration-color: #4D96FF;
    }

    80% {
        text-decoration-color: #7B61FF;
    }

    90% {
        text-decoration-color: #C77DFF;
    }

    100% {
        text-decoration-color: #FF3B30;
    }
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {

    #box{
        width: fit-content;
    }

    #grid-travaux {
        display: flex;
        flex-direction: column;
    }
}