@font-face {
    font-family: "Alegreya";
    src: url("fonte/Alegreya/Alegreya-Regular.otf") format("opentype");
}

html {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    margin: 10px 10px 0px 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.5%;
    background-color: whitesmoke;
    font-size: 1em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: black;
    margin: 0;
}

a:hover {
    text-decoration: underline;
}

#img {
    width: 100%;
    height: auto;
    border-radius: 5%;
}

#img:hover {
    border-radius: 10%;
}

.vign-tehroc {
    grid-column: 1/2;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.vign-archi {
    grid-column: 2/3;
}

.vign-brod {
    grid-column: 3/4;
}

.vign-salomon {
    grid-column: 4/5;
}

.vign-infini {
    grid-column: 1/2;
}

.vign-diabolik {
    grid-column: 2/3;
}

.vign-body {
    grid-column: 3/4;
}

.vign-occu {
    grid-column: 4/5;
}

.nav-txt {
    grid-column: 1/2;
    margin: 3vh 0vh 0vh 4vh;
    font-family: "Alegreya", serif;
    color: black;
    font-size: 1em;
    line-height: 1.4;
}

.droit {
    grid-column: 3/5;
    font-size: 0.7em;
    padding: 0;
    margin-top: -3vh;
    font-family: "Alegreya", serif;
    color: black;
    line-height: 1.2;
    width: 80vh;
}

.actu {
    grid-column: 2/3;
    margin-top: 3vh;
    font-family: "Alegreya", serif;
    color: black;
    font-size: 1em;
    line-height: 1.2;
}

.dispo {
    grid-column: 3/4;
    margin-top: 3vh;
    font-family: "Alegreya", serif;
    color: black;
    font-size: 1em;
    line-height: 1.2;
}

.proj-txt {
    grid-column: 1/2;
    margin: 35vh 2vh 0vh 2vh;
    font-family: "Alegreya", serif;
    color: black;
    font-size: 1em;
    line-height: 1.2;
    height: fit-content;
    position: fixed;
    width: 43vh;
}

.droit-projet {
    grid-column: 2/3;
    font-size: 0.7em;
    margin-top: 0;
    margin-bottom: 5vh;
    font-family: "Alegreya", serif;
    color: black;
    line-height: 1.2;
}

.less {
    font-size: 40px;
}

.img-projet {
    grid-column: 2/5;
    display: block;
    box-sizing: content-box;
}

img {
    width: 100%;
    height: 100%;
}

#img-proj {
    width: 100%;
    height: auto;
}

.scroll-container {
    grid-column: 1/5;
    overflow: auto;
    overflow-y: hidden;
    white-space: nowrap;
    background: transparent;
    height: 100%;
}

.gridscroll {
    display: inline-block;
    width: 24.7%;
}

.gridscroll img {
    margin-right: 1%;
}

@media screen and (max-width: 600px){
    body {
        margin: 7px 7px 0px 7px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1%;
        background-color: whitesmoke;
        font-size: 0.7em;
        line-height: 1;
    }
    
    a {
        text-decoration: underline;
        color: black;
        margin: 0;
    }
    
    a:hover {
        text-decoration: underline;
    }
    
    #img {
        width: 100%;
        height: 100%;
        border-radius: 5%;
    }
    
    #img:hover {
        border-radius: 10%;
    }
    
    .vign-tehroc {
        grid-column: 1/2;
    }
    
    .vign-archi {
        grid-column: 2/3;
    }
    
    .vign-brod {
        grid-column: 1/2;
    }
    
    .vign-salomon {
        grid-column: 2/3;
    }
    
    .vign-infini {
        grid-column: 1/2;
    }
    
    .vign-diabolik {
        grid-column: 2/3;
    }
    
    .vign-body {
        grid-column: 1/2;
    }
    
    .vign-occu {
        grid-column: 2/3;
    }
    
    .nav-txt {
        grid-column: 1/3;
        margin: -35vh 0vh 0vh 4vh;
        font-family: "Alegreya", serif;
        color: transparent;
        font-size: 0em;
        line-height: 1.4;
    }
    
    .droit {
        grid-column: 1/3;
        font-size: 0.7em;
        padding: 0;
        margin-top: 5.4vh;
        font-family: "Alegreya", serif;
        color: black;
        line-height: 1.2;
        width: 32vh;
    }
    
    .actu {
        grid-column: 1/3;
        margin-top: 0vh;
        margin-left: 1vh;
        font-family: "Alegreya", serif;
        color: black;
        font-size: 1em;
        line-height: 1.2;
    }
    
    .dispo {
        grid-column: 1/3;
        margin-top: 0vh;
        margin-left: 1vh;
        font-family: "Alegreya", serif;
        color: black;
        font-size: 1em;
        line-height: 1.2;
    }
    
    .proj-txt {
        grid-column: 1/3;
        margin: -2vh 2vh 0vh 2vh;
        font-family: "Alegreya", serif;
        color: black;
        font-size: 1em;
        line-height: 1.2;
        height: fit-content;
        position:relative;
        width: 40vh;
    }
    
    .droit-projet {
        grid-column: 1/3;
        font-size: 0.7em;
        margin-top: 0;
        margin-bottom: 5vh;
        font-family: "Alegreya", serif;
        color: black;
        line-height: 1.2;
    }
    
    .less {
        font-size: 40px;
    }
    
    .img-projet {
        grid-column: 1/3;
        display: block;
        box-sizing: content-box;
    }
    
    img {
        width: 100%;
        height: 100%;
    }
    
    #img-proj {
        width: 100%;
        height: auto;
    }
    
    .scroll-container {
        grid-column: 1/3;
        overflow: auto;
        overflow-y: hidden;
        white-space: nowrap;
        background: transparent;
        height: 100%;
    }
    
    .gridscroll {
        display: inline-block;
        width: 50%;
    }
    
    .gridscroll img {
        margin-right: 1%;
    }
}