
/*LES SELECTEURS DE TYPE*/


html, body {
overflow-x: hidden;
}
  

a, img {
-webkit-tap-highlight-color: transparent;
outline: none;
}


a:focus, a:active, img:focus, img:active {
outline: none;
background-color: transparent;
}


html {
font-size: 16px;
}


body {
background-image: url('https://tartine.neocities.org/cloudsbackground2.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
margin: 0;
padding: 0;
font-family: 'Comic Neue', cursive, sans-serif;
font-weight: 500;
min-height: 100vh;
display: flex;
flex-direction: column;
}




footer {
margin-top: auto;
width: 100%;
text-align: center;
}


footer img {
width: 100%;
display: block;
}





/*LES SELECTEURS DE CLASSE*/


.no-scroll {
overflow: hidden;
touch-action: none;
}
  
  
.creative-wrapper {
display: flex;
flex-direction: column;
align-items: center;
margin: 40px 0;
}


.creative-header {
width: 300px;
margin-bottom: 10px;
}


.creative-controls {
margin-top: 10px;
margin-left: 70px;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding-right: 10px;
}


.color-selector {
display: flex;
gap: 10px;
margin-left: 10px;
}


.color-dot {
width: 20px;
height: 20px;
border-radius: 50%;
border: 1px solid black;
cursor: pointer;
}


.undo-button {
border: none;
background: transparent;
border-radius: 1px;
padding: 2px 6px;
cursor: pointer;
margin-right: 70px;
}

.undo-button img {
height: 20px;
width: auto;
}


.logo-wrapper {
display: flex;
align-items: center;
width: 100%;
position: relative;
justify-content: center;
pointer-events: none; 
}


.sound-icon {
position: absolute;
left: 0;
top: 10;
height: 50px;
margin-left: 15px;
width: auto;
user-select: none;
pointer-events: none; 
z-index: 1;
}


.logo {
margin-left: 10px;
display: block;
height: 72px;
width: auto;
margin-top: 20px;
}


.centered-content {
text-align: center;
margin: 20px;
}


.centered-content img.logo {
margin-top: 20px;
}


.social-wrapper {
display: flex;
align-items: center;
justify-content: center;
margin: 40px 20px;
gap: 20px;
}


.image-with-text {
position: relative;
display: inline-block;
max-width: 150px;
transform: scale(2.4);
transform-origin: center;
}


.social-image {
width: 100%;
height: auto;
display: block;
}


.overlay-text {
position: absolute;
top: 16%;
left: 54%;
transform: translateX(-50%);
width: 80%;
max-height: 80%;
color: #000;
font-size: 5px;
text-align: left;
pointer-events: none;
box-sizing: border-box;
padding: 6px;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 10;
-webkit-box-orient: vertical;
word-break: break-word;
}


.insta-lien {
display: flex;
flex-direction: column;
justify-content: center;
gap: 15px;
}


.social-row {
display: flex;
align-items: center;
margin-left: 10px;
}


.social-row a {
color: #000000;
text-decoration: none;
margin-left: 10px;
font-size: 0.80em;
font-weight: 500;
}


.social-row a:hover {
color: #784db0;
}


.video-bread-wrapper {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 35px;
margin-left: 30px;
margin-top: 30px;
max-width: 100%;
flex-wrap: wrap;
}


.fade-out {
opacity: 0;
transition: opacity 0.5s ease;
}

.fade-in {
opacity: 1;
transition: opacity 0.5s ease;
}


.pub-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 37px;
  width: fit-content; /* évite d’agrandir la pub */
}

.pub1 {
  width: 100%;
}

.pub1 img {
  width: 50%;
  max-width: 50%;
  display: block;
  height: auto;
  border: 1.5px solid black;
  border-radius: 2%;
}

.close-cross {
  position: absolute;
  top: -8px;
  left: -8px;
  z-index: 10;
  cursor: pointer;
}

.close-cross img {
  width: 35px; 
  height: auto;
  border: none;
}








/*LES SELECTEURS D'IDENTIFIANT*/


#drawingCanvas {
background: white;
touch-action: none;
border: 1.6px solid #303030;
border-radius: 7px;
}


#video-corner {
position: absolute;
top: -60px;
left: -60px; 
width: 200px;
height: 200px;
z-index: 0;
overflow: visible; 
}

#video-corner iframe {
width: 100%;
height: 100%;
border: none;
display: block;
opacity : 0;
}


#video-container {
max-width: 300px;
padding: 0 10px;
text-align: center;
position: relative;
}


#video-container img {
width: 100%;
height: auto;
border-radius: 1px;
display: inline-block;
border: none;
transition: opacity 0.5s ease;
opacity: 1;
}


#bread-container {
max-width: 30%;
display: flex;
justify-content: center;
align-items: center;
margin-top: 100px;
position: relative;
}


#bread-container img {
width: 20%;
max-width: 100px;
height: auto;
display: block;
cursor: pointer;
}





/*LES AT-RULES*/


@media (max-width: 768px) {
  .centered-content {
  margin: 0;
  }

  .full-width {
  width: 100vw;
  height: auto;
  display: block;
  }

  .social-wrapper {
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  }

  .image-with-text {
  transform: scale(2.4);
  margin-left: 50px;
  margin-top: 50px;
  max-width: 80px;
  }

  .insta-lien {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  }

  .social-row {
  justify-content: flex-start;
  margin-left: 50px;
  }

  .video-bread-wrapper {
  flex-direction: row;
  margin-left: 0;
  margin-top: 20px;
  justify-content: center;
  }

  #video-container {
  max-width: 45%;
  margin-left: 50;
  margin-right: -30px ;
  padding: 0;
  }

  #bread-container {
  max-width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
  }

  #bread-container img {
  width: 100%;
  max-width: none;
  margin: 0;
  }
}

    
    
    