
@font-face {
    font-family: 'gothambook';
    src: url('../fonts/gothambook-webfont.eot');
    src: url('../fonts/gothambook-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/gothambook-webfont.woff2') format('woff2'),
         url('../fonts/gothambook-webfont.woff') format('woff'),
         url('../fonts/gothambook-webfont.ttf') format('truetype'),
         url('../fonts/gothambook-webfont.svg#gothambook') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'gothambold';
    src: url('../fonts/gothambold-webfont.eot');
    src: url('../fonts/gothambold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/gothambold-webfont.woff2') format('woff2'),
         url('../fonts/gothambold-webfont.woff') format('woff'),
         url('../fonts/gothambold-webfont.ttf') format('truetype'),
         url('../fonts/gothambold-webfont.svg#gotham_boldregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'gothamblack';
    src: url('../fonts/gothamblack-webfont.eot');
    src: url('../fonts/gothamblack-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/gothamblack-webfont.woff2') format('woff2'),
         url('../fonts/gothamblack-webfont.woff') format('woff'),
         url('../fonts/gothamblack-webfont.ttf') format('truetype'),
         url('../fonts/gothamblack-webfont.svg#gothamblack') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #000000;
    font-size: 62.5%;
    box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'gothambook', Helvetica, Helvetica Neue, Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.6em;
    line-height: 1.2;
    background-color: #dedede;
    background-image: url("../img/bkg-kypro.jpg");
/*    background-image: url("../img/homepage-hero.jpeg");*/
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0px;
}

* {
  box-sizing: inherit;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

header {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 5;
}

header a {
    margin-left: 10px;
}

.logo {
    font-family: 'gothamblack';
    font-size: 5.0em;
    margin-bottom: 20px;
}

h1, h2, h3, h4 {
    color: #000000;
    font-family: 'gothamblack';
}

h1, h3 {
    margin-bottom: 0px;
}


h1 {
    font-size: 1.6em;
    letter-spacing: 0.03em;
    margin-top: 0px;

}

h2 {
    font-size: 1.2em;
    letter-spacing: 0.02em;
    margin-top: 10px;
}

/*h2:after {
    content: ' ';
    display: block;
    width: 30%;
    margin: 20px auto;
    height: 2px;
    background-color: #000000;
    opacity: 0.1;
}*/

h3 {

}

a {
    display: inline-block;
    color: #000000;
    /*color: #e1de42;    */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #6db5ce;
}

strong {
    font-family: 'gothambold';
}

.tel:hover {
    color: #9bcd41;
}

.construction {
    font-size: 1.2em;
}

.construction ul {
    list-style-type: decimal;
}

.construction ul li + li {
    margin-top: 20px;
}

.full {
    min-height: 100vh;
    position: relative;
    z-index: 3;
    text-align: left;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.centerbox {
    width: 100%;
    max-width: 800px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.centerbox article {
    vertical-align: top;
    width: 30%;
    margin: 10px 1%;
    display: inline-block;
    background-color: rgba(232, 233, 237, 0.15);
    padding: 10px;
    font-size: 0.9em;
}

.box {
    padding: 20px;
}


img.logos {
    width: 500px;
    height: auto;
    margin: 10px 0px;
}

.socials {
    width: 30px;
    height: 30px;

}

.socials img {
    width: 100%;
    height: auto;
    border-radius: 100%;
}

footer {
    padding: 10px;
    text-align: center;
}

/* ==========================================================================
   Module Texte dépliable
   ========================================================================== */

.textDeplis {
  padding: 20px 0;
  overflow: hidden;
}

.ligne {
/*    border-radius: 10px;*/
    border-bottom: 1px solid #000000;
    cursor: pointer;
    padding: 10px 0px;
}

.ligne + .ligne {
    margin-top: 20px;
}

.ligne:first-of-type {
  margin-top: 40px;
}

.ligne:last-of-type {
  margin-bottom: 40px;
}

.titre {
  padding: 0px 40px 0px 0px;

  -webkit-transition: all 0.25s;
  -moz-transition: all 0.25s;
  transition: all 0.25s;
}

.titre:after {
    content: "";
    border: solid #000000;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 5px;
    display: inline-block;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);

    float: right;
    margin-right: -20px;
    margin-top: 15px;

    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    transition: all 0.25s;
}

.titre h2 {
    font-size: 1.3em;
    text-transform: initial;
    display: inline-block;
    line-height: 1em;
    margin: 10px 0px;
    padding: 0px;
}

.texte {
    cursor: initial;
    padding: 0px 40px 0px 0px;
    margin: 0px;
    opacity: 0;
    height: 0px;

    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    transition: all 0.25s;
}

.texte span {
    pointer-events: none;
}

.texte p:first-of-type, .texte h2:first-of-type, .texte h3:first-of-type, .texte h4:first-of-type {
    margin-top: 0px;
}

.ligne.active .titre:after {
  margin-top: 25px;
  transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
}

.ligne.active .texte {
    margin: 30px 0px 40px 0px;
    opacity: 1;
    height: auto;
}

.ligne.active span {
  pointer-events: initial;
}

/* ==========================================================================
   Effets Apparition
   ========================================================================== */


@keyframes moveToApparition {
  0% {
    opacity:0;
    transform: translateY(-100px);
  }
  100% {
    opacity:1;
    transform: translateY(0px);
  }
}


.logo, h1 {
    animation: moveToApparition 0.5s;
    -moz-animation: moveToApparition 0.5s; /* Firefox */
    -webkit-animation: moveToApparition 0.5s; /* Safari and Chrome */
    -o-animation: moveToApparition 0.5s; /* Opera */
}

.construction, .centerbox article  {
    animation: moveToApparition 0.8s;
    -moz-animation: moveToApparition 0.8s; /* Firefox */
    -webkit-animation: moveToApparition 0.8s; /* Safari and Chrome */
    -o-animation: moveToApparition 0.8s; /* Opera */
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

@media screen and (max-width: 1280px) {

    .centerbox article {
        width: 48%;
        margin: 10px 1%;
    }

}

@media screen and (max-width: 740px) {

    .full {
        height: auto;
    }

    .centerbox article {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 20px auto;
    }

}

@media screen and (max-width: 600px) {

    img.logos {
        width: 90%;
        height: auto;
        margin: 10px 5%;
    }

}
