html,
body {
    max-width: 100%;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    padding: 0;
    margin: 0;
    font-size: 16px;
    height: 100%;
    background-color: white;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

* {
    -webkit-overflow-scrolling: touch;
}
/*
@supports (-webkit-overflow-scrolling: touch) {
    .wrapper {
        grid-gap: 20px;
    }
    .container {
        
    }
}
*/

.anmtrslt {
    transition: all 1s;
}

#debut,
#fin {
    opacity: 0.2;
    pointer-events: none;
}

abbr,
abbr[title], acronym[title] {
    border-bottom: 0px dotted;
    text-decoration: none;
    cursor: help;
    font-style: italic;
}

/* Header */

header {
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 3;
    background-color: dodgerblue;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    animation: slide 20s 0s infinite;
    opacity: 0;
    background-image:url(./Images/fond-1.jpg);
}

.header-bg:nth-of-type(2) {
    animation-delay: 5s;
    background-image:url(./Images/fond-2.jpg);
}

.header-bg:nth-of-type(3) {
    animation-delay: 10s;
    background-image:url(./Images/fond-3.jpg);
}

.header-bg:nth-of-type(4) {
    animation-delay: 15s;
    background-image:url(./Images/fond-4.jpg);
}

@keyframes slide {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    10% {
        opacity: 1;
    }
    25% {
        opacity: 1;
    }
    35% {
        opacity: 0;
        transform: scale(1.07);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

header:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-image: linear-gradient(-135deg, #003366 0%, #1e90ff 100%);*/
    background-image: linear-gradient(135deg, #17DBEB 0%, #0065DB 100%);
    opacity: 0.8;
}

/* Logo header et scroll */

#logo {
    width: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
    padding: 50px;
}

#logo:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

header a img {
    width: 50px;
    position: absolute;
    top: 88%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.8;
    transition: top 0.3s, opacity 0.3s;
    padding: 20px 40px;
    z-index: 9;
}

header a img:hover {
    top: 89%;
    opacity: 1;
}

/* Section */

section {
    background-color: #f9f9f9;
    position: relative;
    z-index: -2;
}

section > div {
    width: 80%;
    font-size: 1.6em;
    position: relative;
    margin: auto;
    padding: 100px 0;
    letter-spacing: 1px;
    line-height: 1.7;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#etudes,
#outils,
#projets {
    background-color: dodgerblue;
    color: white;
}

#etudes h1,
#outils h1,
#projets h1 {
    color: white;
    //opacity: 0.8;
    opacity: 1;
    margin-top: 0;
    letter-spacing: 2px;
}

#intro p {
    margin-bottom: 50px;
}

#intro hr {
    border: 1px dashed #666666;
    opacity: 0.25;
    margin: 1.6em 0;
}

#intro p.intro-cta {
    margin-bottom: 1em;
}

#intro p.intro-cta span {
    font-style: italic;
    font-weight: 700;
    position: relative;
}

#intro h1,
#pro h1,
#contact h1 {
    color: #666666;
    opacity: 0.6;
    margin-top: 0;
    letter-spacing: 2px;
}

/* Liens */

section p a,
section ul a {
    color: #0059b3;
    text-decoration: none;
    position: relative;
}

section p a:after,
section ul a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    border-bottom: 2px solid #0059b3;
    transition: 0.3s;
}

section p a:hover:after,
section ul a:hover:after {
    color: dodgerblue;
    width: 100%
}

#intro p a:hover {
    text-decoration: underline;
}

#intro p a:hover:after {
    display: none;
}

/* Boutons */

.bouton {
    text-decoration: none;
    text-transform: uppercase;
    /*background: linear-gradient(-135deg, #003366 0%, #1e90ff 100%);*/
    background: linear-gradient(135deg, #4DC8FF 0%, #004BA2 100%);
    color: white;
    border-bottom: none;
    padding: 20px 40px;
    font-size: 0.7em;
    font-family: 'DM Sans', sans-serif;
    display: inline-block;
    border-radius: 5px;
    background-size: 200%;
    transition: background-size ease-in-out 0.2s, transform ease 0.15s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.bouton.lknd {
    background: linear-gradient(135deg, #008AC5 0%, #005984 100%);
}

.bouton:hover {
    color: white;
    text-decoration: none;
    background-size: 100%;
    transform: scale(1.025);
}

.intro-btns {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.intro-btns .bouton {
    margin: 10px;
}

/* Menu de navigation */

nav {
    position: fixed;
    z-index: 2;
    bottom: 20px;
    right: 20px;
    margin: 0;
    padding: 0;
}

/* enlever le a pour comme avant */

#menu {
    width: 40px;
    /*background: linear-gradient(-135deg, #003366 0%, #1e90ff 100%);*/
    background: linear-gradient(135deg, #4DC8FF 0%, #004BA2 100%);
    border-radius: 50%;
    padding: 8px;
    border-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    background-size: 300%;
    transition: background-size ease-in-out 0.3s;
    margin-top: 10px;
    z-index: 0;
    cursor: pointer;
}

#menu:hover {
    background-size: 100%;
}

nav a img {
    width: 25px;
    /*background: linear-gradient(-135deg, #003366 0%, #1e90ff 100%);*/
    background: linear-gradient(135deg, #4DC8FF 0%, #004BA2 100%);
    border-radius: 8px;
    padding: 8px;
    border-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    background-size: 300%;
    transition: background-size ease-in-out 0.3s;
    display: block;
    margin-top: 10px;
    margin-left: 7.25px;
}

nav a img:hover {
    background-size: 100%;
}

.hidden {
    display: none;
}

nav:hover .hidden {
    display: block;
    opacity: 1;
    animation: fondu_haut 0.3s;
}

@keyframes fondu_haut {
    0% {
        opacity: 0;
        transform: translate(0px, 10px);
    }

    100% {
        opacity: 1;
        transform: translate(0px, 0px);
    }
}

/* Footer */

/* Bug safari */
#tr-footer {
    height: 16px;
    width: 100%;
    background: transparent;
}

footer {
    width: 80%;
    margin: auto;
    padding: 0;
}

footer p {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 0;
}

footer p legal {
    color: #999999;
}

footer p a {
    position: relative;
    text-decoration: none;
    color: #666666;
}

footer p a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    border-bottom: 2px solid;
    transition: 0.3s;
}

footer p a:hover:after {
    width: 100%;
}

/* Contact */

#contact {
    text-align: center;
}

#contact form {
    font-size: 0;
}

#contact form input,
#contact form textarea {
    border: 1px solid transparent;
    outline: none;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-bottom: 10px;
    padding: 20px;
    box-sizing: border-box;
    transition: border ease-in-out 0.3s;
}

#contact form input:focus,
#contact form textarea:focus {
    border: 1px solid #999999;
}

#contact form input:valid {
    background-origin: content-box;
    background-image: url(./Images/valide.svg);
    background-position: right top;
    background-repeat: no-repeat;
}

#contact form textarea {
    width: 80%;
    height: 150px;
    margin-bottom: 30px;
    min-width: 80%;
    max-width: 80%;
    min-height: 150px;
    max-height: 300px;
}

#contact form input:first-of-type {
    margin-right: 10px;
}

#contact form input {
    width: calc(40% - 5px);
}

#contact form button {
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

#contact ul li {
    display: inline-block;
    font-size: 0.7em;
}

#contact ul {
    margin-bottom: 50px;
    text-align: center;
    left: 0;
    padding-left: 0;
}

#contact ul li:nth-of-type(2) {
    margin: 0 20px;
}

/* Instagram */

iframe {
    pointer-events: none;
}

#instagram {
    background-color: #212121;
    color: white;
}

#instagram h1 {
    color: white;
    opacity: 0.6;
    margin-top: 0;
    letter-spacing: 2px;
}

#instagram h1 a {
    color: white;
    position: relative;
    opacity: 0.4;
    font-size: 0.5em;
    vertical-align: middle;
    text-decoration: none;
}

#instagram h1 a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    border-bottom: 2px solid;
    transition: 0.3s;
}

#instagram h1 a:hover:after {
    width: 100%;
}

#instagram #at {
    color: white;
    position: relative;
    opacity: 0.4;
    font-size: 0.5em;
    vertical-align: middle;
    text-decoration: none;
}

/* Projets */

.projet h2, .projet p {
    color: white;
    margin: 10px 0;
    text-align: center;
}

.projet h2 {
    font-size: 1em;
}

.projet p {
    font-size: 0.6em;
}

.projet {
    float: left;
    width: 28.33%;
    margin: 1%;
    padding: 1%;
    height: 180px;
    background-size: cover;
    vertical-align: middle;
    border: 2px solid white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.projet:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.container:after {
    content: "";
    display: block;
    clear: both;
}

.cielazur {
    background-image: url(./Images/ciel-azur.jpg);
}

.futuramapedia {
    background-image: url(./Images/futuramapedia.jpg);
}

.bastide {
    background-image: url(./Images/bastide-les-cigales.jpg);
}

.soundcloud {
    background-image: url(./Images/soundcloud.jpg);
}

.popcorn {
    background-image: url(./Images/popcorn.png);
}

.cflogo {
    background-image: url(./Images/cflogo.png);
}

.popcom {
    background-image: url(./Images/IUT-Games.png);
}

/* SNAPWIDGET + RESPONSIVE */

  .snap.full {
    display: block;
  }
  .snap.half {
    display: none;
  }
   .snap.small {
    display: none;
  }

@media screen and (max-width: 1000px) {
  .snap.full {
    display: none;
  }
  .snap.half {
    display: block;
  }
   .snap.small {
    display: none;
  }
}

@media screen and (max-width: 650px) {
  .snap.full {
    display: none;
  }
  .snap.half {
    display: none;
  }
   .snap.small {
    display: block;
  }
}

/* PROJETS HOVER TEXT */

.container {
  position: relative;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    transition: all 0.3s;
}

.image {
  display: block;
  width: 100%;
  height: auto;
    border-radius: 8px;
}

.hover {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: black;
        border-radius: 8px;
}

.container:hover .hover {
  opacity: 0.8;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.container:hover {
    transform: scale(1.05);
}

.hovertext {
  color: white;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
    font-size: 24px;
    width: 100%;
    transition: all 0.3s;
    visibility: hidden;
    font-weight: 700;
}

.hovertext p {
    font-weight: normal;
}

.container:hover .hovertext {
    visibility: visible;
      transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.hovertext p {
    font-size: 16px;
    font-weight: 300;
    margin: 0;
}

.hovertextsub {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
    font-size: 20px;
    font-weight: 300;
}

/* PROJETS POPUP TEXT */

.wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
    padding-top: 0;
}

#intr {
    padding-bottom: 0;
}

@media screen and (max-width: 1000px) {
    .wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 675px) {
    .wrapper {
        grid-template-columns: 1fr;
    }
}

/* RESPONSIVEEEEEEE */

#creative_commons {
    display: inline-block;
}

span {
    display: inline-block;
}

#ovr {
        display: inline;
    }

footer {
    line-height: 2;
}


@media only screen and (max-width: 1200px) {
    #contact form input:valid {
        background-image: none;
    }
}

@media only screen and (max-width: 950px) {
    #contact form input,
    #contact form textarea {
        font-size: 16px;
    }
}


@media only screen and (max-width: 720px) {
    #contact ul li {
        display: block;
    }
    
    #contact ul li:nth-of-type(1),
    #contact ul li:nth-of-type(2) {
        margin-bottom: 5px;
    }
    
        #contact form input {
        display: block;
        width: 90%;
        margin: 10px auto;
    }
    #contact form input:first-of-type {
        margin: 0 auto;
        width: 90%;
    }
    #contact form textarea {
        min-width: 90%;
        max-width: 90%;
    }
    section > div {
        padding: 70px 0;
    }
    #contact form input,
    #contact form textarea {
       font-size: 18px;
    }
    #contact form input:valid {
        background-origin: content-box;
        background-image: url(./Images/valide.svg);
        background-position: right top;
        background-repeat: no-repeat;
    }
}

@media only screen and (max-width: 645px) {
    body {
        font-size: 12px;
    }
    #separateur {
        display: none;
    }
    #ovr {
        display: inline-block;
    }
    #creative_commons {
        display: inline-block;
    }
    section > div {
        padding: 70px 0;
    }
    #contact form input,
    #contact form textarea {
        font-size: 14px;
    }
    #contact form input:valid {
        background-origin: content-box;
        background-image: url(./Images/valide.svg);
        background-position: right top;
        background-repeat: no-repeat;
    }
    #contact form button {
    font-size: 0.85rem;
    }
}

#contact form input,
    #contact form textarea {
       font-family: 'DM Sans', sans-serif;
    }

/* POPUPS */

.overlay {
    z-index: 5;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
    /*transition-delay: 0.3s;*/
  visibility: hidden;
  opacity: 0;
    display: flex;
    align-items: center;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  height: 410px;
  padding: 0 20px 0 0;
    margin: 0 auto;
  background: #fff;
  border-radius: 5px;
  width: 80%;
  position: relative;
  /*transition: all 1s ease-in-out;*/
    background-repeat: no-repeat;
    background-size: contain;
    /*background-image: url(./Projets/Final/Default.jpg);*/
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.popup h2 {
  color: black;
    margin-left: 438px;
    margin-top: 25px;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 30px;
}

.popup h3 {
  color: grey;
    margin-left: 438px;
    margin-top: 25px;
    font-weight: 400;
    margin-top: 5px;
    font-size: 18px;
    margin-bottom: 0;
    line-height: 1.5;
}

/*.popup .bouton {
    position: relative;
    margin-left: 438px;
    padding: 15px;
    font-size: 14px;
    top: -12px;
}*/

.popup .bouton {
    position: absolute;
    margin-left: 438px;
    padding: 15px;
    font-size: 14px;
    bottom: 25px;
}

.popup .close {
  position: absolute;
  top: 15px;
  right: 30px;
  /*transition: all 200ms;*/
  font-size: 40px;
  font-weight: bold;
  text-decoration: none;
  color: black;
  cursor: pointer;
}

.popup .close:hover {
  color: dodgerblue;
}
.popup .content {
  max-height: 47%;
  overflow: auto;
    color: black;
        margin-left: 438px;
    margin-top: 25px;
    margin-right: 10px;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 16px;
    top: -10px;
    position: relative;
}
/*
.fadetop {
    content:'';
    margin-top: -223px;
    margin-bottom: 200px;
    margin-left: 438px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 80%);
    position: relative;
}

.fadebottom {
    content:'';
    margin-top: -46px;
    margin-bottom: 27px;
    margin-left: 438px;
    height: 20px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 80%);
    position: relative;
}
*/
#popup_img {
    border-radius: 4px;
    width: calc(50% + 20px);
    height: 410px;
}

.popup img {
    display: none;
}

@media only screen and (max-width: 1024px) {
    .popup {
        width: 90%;
    }
}

.popup.maquette-animee-popcom {
    background-image: url(./Projets/Final/ae_Popcom_square.png);
}

.popup.maquette-popcom {
    background-image: url(./Projets/Final/wd_Popcom_square.png);
}

.popup.maquette-gpsam {
    background-image: url(./Projets/Final/wd_GPSam_square.png);
}

.popup.site-iutgames {
    background-image: url(./Projets/Final/ws_IUT-Games_square.png);
}

.popup.site-futuramapedia {
    background-image: url(./Projets/Final/ws_Futuramapedia_square.png);
}

.popup.site-bastide {
    background-image: url(./Projets/Final/ws_Bastide_square.png);
}

.popup.design-logo-cf {
    background-image: url(./Projets/Final/logo_CF_square.png);
}

.popup.site-fewz {
    background-image: url(./Projets/Final/fewz-big.png);
}

.popup.site-wikivids {
    background-image: url(./Projets/Final/brainy-big.png);
}

.popup.site-reunion {
    background-image: url(./Projets/Final/reunion-big.png);
}

.popup.site-weather {
    background-image: url(./Projets/Final/weather-big.png);
}

.popup.design-nike {
    background-image: url(./Projets/Final/speckle-big.png);
}

.popup.design-seo {
    background-image: url(./Projets/Final/seo-big.png);
}

.popup.design-charte {
    background-image: url(./Projets/Final/charte-big.png);
}

.popup.site-huff {
    background-image: url(./Projets/Final/huff-big.png);
}

.popup.site-beats {
    background-image: url(./Projets/Final/beats-big.png);
}

.popup.site-yo {
    background-image: url(./Projets/Final/yo-big.png);
}

.popup.site-countries {
    background-image: url(./Projets/Final/countries-big.png);
}

.popup.jeu-pong {
    background-image: url(./Projets/Final/pong-big.png);
}

.popup.event-frammi {
    background-image: url(./Projets/Final/frammi-big.png);
}

/*.popup .crsl {
    position: relative;
    margin-left: 577px;
    top: -57px;
    display: flex;
    width: 60px;
    justify-content: space-between;
    right: 0px;
}*/

.popup .crsl {
    position: absolute;
    left: 577px;
    bottom: 27px;
    display: flex;
    width: 60px;
    justify-content: space-between;
    right: 0px;
}

.popup .crsl span {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12.5px 0 12.5px 12.5px;
    border-color: transparent transparent transparent dodgerblue;
    transform: rotate(360deg);
    border-style: inset;
    transition: all 0.3s;
    opacity: 0.8;
    padding: 1px;
}

.popup .crsl span:hover {
    border-color: transparent transparent transparent black;
}

.popup .crsl  a:first-of-type span {
    transform: rotate(180deg);
    display: none;
}

.popup .crsl span:last-of-type {
    display: none;
}

.popup .crsl  a:first-of-type span,
.popup .crsl span:last-of-type {
    display: inline-block;
}

.popup .bouton {
    z-index: 8;
}

.popup .crsl  a {
    outline: none;
}

@media only screen and (max-width: 950px) {
    .popup {
        width: 100%;
        height: 100vh;
        background-image: none;
        display: flex;
        flex-direction: column;
        padding: 0 10%;
        border-radius: 0;
    }
    .popup .close {
        font-size: 60px;
        top: 0px;
        right: 10%;
    }
    .popup h2 {
        margin:0;
        position: relative;
        top: 28px;
    }
    .popup h3 {
        margin: 0;
        margin-top: 30px;
        margin-bottom: 40px;
    }
    .popup .content {
        margin: 0;
        margin-bottom: 40px;
        max-height: 100%;
    }
    .popup .bouton {
        position: relative;
        width: 200px;
        text-align: center;
        margin: 0 auto;
        display: block;
        margin-bottom: 28px;
        top: -12px;
    }
    .overlay {
        display: flex;
    }
    .popup.maquette-animee-popcom,
    .popup.maquette-popcom,
    .popup.maquette-gpsam,
    .popup.site-iutgames,
    .popup.site-futuramapedia,
    .popup.site-bastide,
    .popup.design-logo-cf,
	.popup.site-fewz,
	.popup.site-wikivids,
	.popup.site-weather,
	.popup.design-nike,
	.popup.design-seo,
	.popup.design-charte,
	.popup.site-huff,
	.popup.site-beats,
    .popup.site-yo,
    .popup.site-countries,
    .popup.popup.jeu-pong,
    .popup.event-frammi,
    .popup.site-reunion
	{
        background-image: none;
    }
    .popup .prwsml {
        display: block;
        width: auto;
        height: 225px;
        margin: 0 auto;
        margin-bottom: 20px;
        border-radius: 8px;
        margin-top: 20px;
    }
    .popup .dwn {
        display: block;
        margin: 0 auto;
        height: 40px;
    }
    .popup .content div {
        height: 295px;
        display: flex;
        flex-direction: column;
    }
    
    .popup .content div {
        margin-bottom: 20px;
    }

    .popup .content {
        margin-top: 0px;
        border-top: 2px solid black;
        border-bottom: 2px solid black;
        padding-bottom: 20px;
    }
    .popup .crsl {
        position: relative;
        margin: 0 auto;
        width: 100%;
        top: -87px;
        left: 0;
    }    
}

@media only screen and (max-width: 645px) {
    .popup .crsl {
        top: -78px;
    }
}

@media only screen and (max-width: 450px) {
    .popup h2 {
        font-size: 25px;
        top: 48px;
    }
    .popup h3 {
        font-size: 16px;
        margin-top: 50px;
    }
    .popup .close {
        font-size: 50px;
        top: 25px;
    }
    .popup .bouton {
        margin-bottom: 48px;
    }
    .popup .crsl {
        top: -115px;
    }
    .popup .bouton {
        width: 150px;
    }
    .popup .crsl {
        top: -100px;
    }
}

@media only screen and (max-width: 360px) {
    .popup h2 {
        font-size: 20px;
    }
    .popup h3 {
        font-size: 16px;
    }
    .popup .close {
        font-size: 40px;
        top: 10px;
    } 
}

/* LIENS POPUP */

.popup a,
.popup .content a {
    text-decoration: none;
    position: relative;
}

.popup a:after,
.popup .content a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    transition: 0.3s;
}

.popup h3 a:hover:after,
.popup .content a:hover:after {
    width: 100%
}

.popup h3 a {
    color: #404040;
}

.popup h3 a:after {
    border-bottom: 2px solid #404040;
}

.popup .content a {
    color: black;
    font-weight: 700;
}

.popup .content a:after {
    border-bottom: 2px solid black;
}

.gr {
    color: grey;
    opacity: 0.5;
}

.actnt {
    color: grey;
}

.popup .content ul li .actnt:after {
    border-bottom: 2px solid grey;
}


/* MMI APRES */

.popup .crsl {
	display: none;
}