head, body{
    margin:0;
    width:100dvw;
    height:100dvh;
}

body{
    background-color : #63cf7f;
}

@font-face {
    font-family: 'Media';
    src: url('../fonts/Media-Regular.woff2') format('woff2'),
        url('../fonts/Media-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Media';
    src: url('../fonts/Media-Bold.woff2') format('woff2'),
        url('../fonts/Media-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Media';
    src: url('../fonts/Media-Light.woff2') format('woff2'),
        url('../fonts/Media-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

a{
    text-decoration:none;
    color :#474151;
}

a:visited{
    color:#474151;
}

#lespotos{
    cursor:pointer;
}

#lespotos:hover{
    color:#ff6145;
}

#rgpd-link{
    cursor:pointer;
}

#rgpd-link:hover{
    color:white;
}

.wpcf7-form{
    display:block;
    position:relative;
    width:70%;
    border:#474151 solid 14px;
    border-style:dashed;
    color : #474151;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 10px;
  }
  
.wpcf7-form textarea {
    display: block;
    width: 100%;
    height: 100px;
    margin-bottom: 20px;
  }

  .wpcf7-form p{
    display:flex;
    justify-content:center;
  }

  .wpcf7-form p:nth-child(5), .wpcf7-form p:nth-child(6){
    display:none;
  }

  .wpcf7-submit{
    font-family: Media;
    font-size:2vw;
    border-radius : 50px;
    background-color: #ff6145;
    padding:15px;
    border-style: none;
    cursor:pointer;
    color: #474151;
  }

  .wpcf7-submit:hover{
    background-color: white;
  }
.form_container{
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    display:none;
    justify-content:center;
    align-items:center;
    font-family: Media;
    font-size : 2vw;
}

#rgpd-container{
    font-family: sans-serif;
    width:70%;
    font-size:1.2vw;
    border:#474151 solid 14px;
    border-style:dashed;
    padding: 50px;
    display:none;
    color : #474151;
}

#rgpd button{
    font-family: Media;
    font-size:2vw;
    background-color: #474151;
    color:white;
    border:none;
    cursor:pointer;
    padding:10px;
}

#icon-bar p > a{
    text-decoration: none;
    color: inherit;
}

#rgpd button:hover{
    background-color: #ff6145;
}

input[type="text"], input[type="email"], textarea{
    width:100%;
    font-size: 1.5vw;
    max-height:250px;
    resize: none;
    background-color: transparent;
    border: #474151 solid 1px;
    border-style: dashed;
    color: #474151;
}

.wpcf7-form p{
    text-align:center;
}


tw-sidebar{
    display:none;
}

tw-passage{
    font-size:2.5vw;
    text-align: center;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap:20px;
    flex-wrap: wrap;
    width:80%;
    margin-left:auto;
    margin-right:auto;
    color : #474151;
    border : 14px dashed;
    padding : 15px;
}

#oeil{
    width: 30%;
}

input[type="checkbox"] {
    width: 20px;
  height: 20px;
}

br{
    display:none;
}

tw-passage > p:first-child{
    color:white;
    flex-grow:4;
    width:100%;
}

tw-passage p{
	margin : 0;
}

tw-passage > p:not(:first-child){
	display:flex;
	gap:20px;
	width:100%;
	font-size:1.7vw;
	justify-content:center;
	align-items:center;
}

tw-passage a{
	text-decoration: none;
	color: inherit;
	width:200px;
}

tw-passage a:hover{
    color: #ff6145;
}

tw-expression{
    font-size: 1vw;
    cursor: pointer;
    flex-grow: 1;
    max-width: 200px;
}

#story-container{
    width:100dvw;
    height:100dvh;
    display:flex;
    flex-direction: column;
}

#asset-container{
    width:100%;
    flex: 1;
    display:flex;
    align-items: center;
    justify-content: center;
    margin-top:25px;
}

#footer{
    flex : 1;
    margin-left:auto;
    margin-right:auto;
    margin-top: 25px;
}


tw-story{
    width:100%;
    display:flex;
    align-items: center;
    justify-content: center;
    opacity:1;
    font-family: Media;
    flex:3;
}

#icon-bar{
    display:flex;
    gap: 50px;
    font-family : Media;
    font-size : 1.2vw;
    display:none;
    color : #474151;
}

#send-button{
    display:none;
}

#user-select{
    cursor : pointer;
}

#user-select:hover{
    color: #ff6145;
}

.button{
    cursor : pointer;
    width:100px;
}

.button:hover p{
    color:#ff6145
}

.button img{
    width:100%;
}

.button p{
    text-align: center;
}

tw-expression:hover{
    color:grey;
}

.fadeIn{
    animation : fi 1s forwards;
}

.fadeOut{
    animation : fo 1s forwards;
}

@keyframes fi{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

@keyframes fo{    
    from{
        opacity:1;
    }
    to{
        opacity:0;
    }
}

/***** MEDIA QUERIES ***/

 @media (max-width: 1080px) {
    
      .wpcf7-submit{
        font-size:3vw;
      }

    .form_container{
        font-size : 3vw;
    }
    
    #rgpd-container{
        font-size:1.5vw;
        border:#474151 solid 14px;
    }

    textarea, input{
        font-size:2vw !important;
    }
    
    #rgpd button{
        font-size:3vw;
    }

    tw-passage {
        font-size: 3vw;
    }

    tw-passage > p:not(:first-child){
        font-size:2.5vw;
    }

    #icon-bar{
        font-size : 1.9vw;
    }
}

@media (max-width : 450px){
    .form_container{
        font-size : 7vw;
    }

    input[type="text"], input[type="email"], textarea {
        font-size:5vw;
        width:80%;
    }

    textarea, input{
        font-size:5vw !important;
    }

    .wpcf7-form{
        border-width: 15px!important;
    }
    
    .wpcf7-submit{
        font-size:7vw !important;
    }

    #rgpd-container{
        font-size: 3vw;
        border:#474151 solid 15px;
    }

    #rgpd button{
        font-size:6vw;
    }


    tw-passage{
        width:60%;
        border: 17px dashed;
        font-size:7vw;
    }
    .oeil {
        width: 65%;
      }

      tw-passage > p:not(:first-child){
        font-size:5.5vw;
        flex-wrap : wrap;
      }

      #footer{
        display: flex;
        justify-content: center;
        align-items: center;
      }

      #icon-bar{
        width:80%;
        font-size:4.5vw;
        gap: 20px;
      }
}