@import url('reset.css');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('responsive-gs-12col.css');

:root {
    --colpri: #252525;
    --colsec: #fd1b0a;
    --colthi: #fffff8;

    --colLgray: #888;
    --colDgray: #212121;
}

.bold {
    font-weight: 600;
}

.lead {
    font-size: 125%;
}

body {
    background: var(--colpri);
    color: var(--colthi);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 17px;
    max-width: 1920px;
    position: relative;
    margin: 0px auto;
}

a {
    color: var(--colpri);
    font-weight: 600;
}

p {
    letter-spacing: -.02em;
}

h1, h2, h3 {
    font-family: 'Bebas Neue', cursive;
}

h2 {
    font-size: 4em;
    margin: .5em 0em;
}

header {
    background: var(--colsec);
    padding: 1em;
}

p.address {
    text-transform: uppercase;
    text-align: center;
    background: #cc1d10;
    padding: 1em;
    border-radius: 2em;
    display: table;
    margin: 0px auto;
    position: relative;
}

#bannersect {
    position: relative;
    background: black;
}

a.webshop {
    display: block;
    width: 128px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

div.motto {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    font-family: 'Bebas Neue', cursive;
}

.motto.last {
    display: none;
    background: black;
    position: relative;
}

.motto p {
    text-transform: uppercase;
    padding: .5em;
    font-size: 5em;
}

.motto.last p {
    padding-top: 0;
    text-align: center;
}

.motto.last p:first-child {
    padding-top: .5em;
    padding-bottom: 0;
}

.banner.port { 
    display: none;
}

.banner img {
    width: 100%;
}


#content {
    padding: 2em;
}

#content p {
    margin-bottom: 1em;
    line-height: 2em;
}

#content .icon {
    color: var(--colsec);
}

.cigrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.cigrid img {
    max-width: 128px;
    margin-bottom: 1.5em;
    align-self: center;
}

#content p.info {
    font-size: 75%;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .2em;
    color: var(--colLgray);
    line-height: 1.5em;
}


.warn {
    margin-top: 2em;
}

.warn h2 {
    margin: 0;
}

#brand {
    padding: 2em;
    background: var(--colDgray);
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
}

#brand img {
    filter: grayscale(1);
}

footer {
    background: var(--colDgray);
}

.photonique {
    padding-top: 1em;
    text-align: center;
}




/********* respo **********/

@media only Screen and (min-width:1921px) {

    body {
        padding-top: 1em;
    }

    header {
        border-top-left-radius: 1em;
        border-top-right-radius: 1em;
    }

}

@media only Screen and (max-width:1600px) {

    .motto p {
        font-size: 4em;
    }

}

@media only Screen and (max-width:1160px) {

    .motto p {
        font-size: 3em;
    }

}

@media only Screen and (max-width:1024px) {

    .cigrid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media only Screen and (max-width:890px) {

    .motto.first {
        display: none;
    }

    div.motto {
        position: relative;
        display: block;
    }

    .motto.last {
        display: block;
    }

    .motto p {
        font-size: 2em;
        padding-bottom: 0em;
        text-align: center;
    }
    .motto p:nth-child(2) {
        padding-top: 0em;
        padding-bottom: 1em;
    }

}

@media only Screen and (max-width:768px) {

    .cigrid {
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
    }

    .warn .span1 { 
        width: 6.5%;
    }

    .warn .span11 {
        width: 91.5%;
        padding-left: 2em;
    }

}

@media only Screen and (max-width:540px) {

    a.webshop {
        top: 25%;
        width: 96px;
    }

    .cigrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .warn h2 {
        font-size: 2.5em;
    }

    .warn .span1 { 
        width: 6.5%;
    }

    .warn .span11 {
        width: 91.5%;
        padding-left: 2em;
    }

}

@media only Screen and (max-width:400px) {

    a.webshop {
        top: 25%;
        width: 72px;
    }

    .cigrid img {
        max-width: 96px;
    }

    .warn .span1 { 
        width: 6.5%;
    }

    .warn .span11 {
        width: 91.5%;
        padding-left: 2em;
    }

}

@media only Screen and (orientation: portrait) {

    .banner.land {
        display: none;
    }

    .banner.port {
        display: block;
    }

    .motto.first {
        display: none;
    }

    .motto.last {
        display: block;
    }

}