*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family: "Courier New", monospace;

  background-image:url("images/bg.gif");
  background-size:cover;
  background-attachment:fixed;
}


.site{
  width:1050px;
  max-width:95%;
  margin:30px auto;

  border:3px solid #ff9ccc;

  background:rgba(255,255,255,.78);

  box-shadow:0 0 25px rgba(255,132,190,.45);

  border-radius:35px;

  overflow:hidden;
}

header{
  padding:0;
  border-bottom:3px solid #ff9ccc;
}

.header-img{
  width:100%;
  height:auto;
  display:block;
}

nav{
  display:flex;
  justify-content:center;
  gap:8px;
  padding:12px;
  background:#fff3c8;
  border-bottom:3px solid #ff9ccc;
}

nav a{
  text-decoration:none;
  color:white;
  font-weight:bold;
  padding:10px 22px;
  border-radius:8px;
  background:linear-gradient(#ffb6d9,#ff6daf);
  border:2px solid white;
  box-shadow:0 3px 0 #d86c9e;
}

nav a:hover{
  transform:translateY(-3px);
  filter:brightness(1.1);
}

main{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:18px;
  padding:18px;
}
.main-nav{
  display:flex;

  justify-content:center;

  align-items:center;

  gap:18px;

  padding:20px;

  flex-wrap:wrap;
}

.main-nav a{

  text-decoration:none;

  color:white;

  font-weight:bold;

  font-size:16px;

  padding:14px 28px;

  border-radius:999px;

  border:3px solid white;

  box-shadow:
  0 5px 0 rgba(0,0,0,.08),
  0 0 15px rgba(255,255,255,.6);

  transition:.25s;

  letter-spacing:1px;

  position:relative;

  overflow:hidden;
}

/* reflet glossy */
.main-nav a::before{
  content:"";

  position:absolute;

  top:4px;
  left:10%;

  width:80%;
  height:35%;

  background:rgba(255,255,255,.45);

  border-radius:999px;

  filter:blur(2px);
}

/* couleurs pastel différentes */

.main-nav a:nth-child(1){
  background:#ffb6d9;
}

.main-nav a:nth-child(2){
  background:#ffd89e;
}

.main-nav a:nth-child(3){
  background:#fff0a8;
}

.main-nav a:nth-child(4){
  background:#b8f0ff;
}

.main-nav a:nth-child(5){
  background:#d5c2ff;
}

.main-nav a:nth-child(6){
  background:#bfffd3;
}

.main-nav a:hover{

  transform:
  translateY(-5px)
  scale(1.06);

  filter:brightness(1.05);

  box-shadow:
  0 8px 0 rgba(0,0,0,.08),
  0 0 20px rgba(255,255,255,.9);
}

.box{
  background:#fffde8;
  border:2px solid #ffc4df;
  margin-bottom:16px;
  padding:14px;
  box-shadow:4px 4px 0 #ffd1e8;
}

.box h2{
  margin-top:0;
  text-align:center;
  color:#ff65ad;
  font-size:20px;
}

.box ul{
  padding-left:20px;
}

.content{
  background:rgba(255,255,255,.8);
  border:2px solid #ffc4df;
  padding:18px;
  min-height:500px;
}

.hero{
  padding:30px;
  background:linear-gradient(135deg,#fff,#ffe1f1,#e3fbff);
  border:2px dashed #ff95c8;
  text-align:center;
}

.hero h2{
  color:#ff65ad;
  font-size:32px;
}

.hero p{
  font-size:16px;
  line-height:1.7;
}

.cards{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
  margin-top:20px;
}

.card{
  padding:30px;
  text-align:center;
  font-weight:bold;
  color:#ff65ad;
  background:#fffde8;
  border:2px solid #ffc4df;
  box-shadow:4px 4px 0 #ffd1e8;
}

.card:hover{
  transform:rotate(-1deg) scale(1.03);
  background:#ffe5f2;
}

@media(max-width:800px){
  main{
    grid-template-columns:1fr;
  }

  nav{
    flex-wrap:wrap;
  }

  header h1{
    font-size:34px;
  }
}
.marquee{
  width:100%;
  overflow:hidden;

  background:rgba(255,212,234,0.75);

  border-top:2px solid #ff9ccc;
  border-bottom:2px solid #ff9ccc;

  padding:10px 0;

  position:relative;
  white-space:nowrap;

  backdrop-filter:blur(4px);
}

.marquee-content{
  display:inline-block;

  animation:scrollText 10s linear infinite;

  font-size:18px;
  color:#ff4fa2;
  font-weight:bold;

  text-shadow:0 0 6px white;
}

.wing{
  width:45px;

  position:absolute;
  top:50%;

  transform:translateY(-50%);

  z-index:5;
}

.wing:first-child{
  left:15px;
}

.wing:last-child{
  right:15px;
}

@keyframes scrollText{
  0%{
    transform:translateX(100%);
  }

  100%{
    transform:translateX(-100%);
  }
}
.home-grid{
  display:grid;
  grid-template-columns:270px 1fr;
  gap:22px;
  padding:24px;
}

.left-column{
  display:flex;
  flex-direction:column;
  gap:22px;
}

.home-content{
  background:rgba(255,255,255,0.58);
  border:3px solid #ffb7d9;
  border-radius:45px;
  padding:28px;
  box-shadow:0 0 25px rgba(255,182,219,.35);
}

.bubble-box{
  background:rgba(255,253,232,0.86);
  border:3px solid #ffc4df;
  border-radius:35px;
  padding:24px;
  box-shadow:
    0 8px 0 rgba(255,182,219,.55),
    0 0 18px rgba(255,255,255,.75);
}

.bubble-box h2,
.bubble-box h3{
  color:#ff5caf;
  text-align:center;
  margin-top:0;
}

.welcome-card{
  background:linear-gradient(135deg,#fff7fb,#ffe0f2,#e8fbff);
  border:3px dotted #ff9ccc;
  border-radius:50px;
  padding:38px;
  text-align:center;
  box-shadow:0 0 25px rgba(255,182,219,.45);
}

.welcome-card h2{
  color:#ff5caf;
  font-size:34px;
}

.welcome-card p{
  font-size:17px;
  line-height:1.8;
}

.latest-work{
  margin-top:28px;
}

.latest-work h2{
  color:#ff5caf;
  text-align:center;
  margin-bottom:18px;
}

.latest-project-card{

  display:flex;

  gap:20px;

  align-items:center;

  text-decoration:none;

  background:rgba(255,253,232,0.88);

  border:3px solid #ffc4df;

  border-radius:40px;

  padding:20px;

  box-shadow:
  0 8px 0 rgba(255,182,219,.55),
  0 0 18px rgba(255,255,255,.75);

  transition:.25s;
}

.latest-project-card:hover{

  transform:
  translateY(-6px)
  scale(1.01);

  filter:brightness(1.03);
}

.latest-img{

  width:220px;

  border-radius:28px;

  border:3px solid white;
}

.latest-info h3{
  color:#ff5caf;
  font-size:26px;
}

.latest-info p{
  color:#6d5a67;
  line-height:1.7;
}
}
.mini-game{
  text-align:center;
}

.star-button{
  width:90px;
  height:90px;
  border-radius:50%;
  border:4px solid white;
  background:linear-gradient(#fff6a8,#ffb6dc);
  color:#ff5caf;
  font-size:45px;
  cursor:pointer;
  box-shadow:
    0 8px 0 rgba(255,182,219,.65),
    0 0 18px rgba(255,255,255,.9);
}

.star-button:hover{
  transform:scale(1.08) rotate(8deg);
}

.star-button:active{
  transform:scale(.95);
}

.score-text{
  color:#ff5caf;
  font-weight:bold;
}