@font-face {
    font-family: "poppins";
    src: url(../font/Poppins/Poppins-Regular.ttf);
}

@font-face {
    font-family: "krona_one";
    src: url(../font/Krona_One/KronaOne-Regular.ttf);
}

main {
    flex: 1;
}

body {
    background: linear-gradient(to bottom, #2d59d3, #eb458c);
    color :white;
    font-family: 'poppins';
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100%;
    margin: 0;
}

h1 {
    font-family: 'krona_one';
}
h2 {
    font-family: 'krona_one';
}
h3 {
    font-family: 'krona_one';
}
h4 {
    font-family: 'krona_one';
}
h5 {
    font-family: 'krona_one';
}

nav {
    font-family: 'krona_one';
}

.icones-xl {
    font-size: 8rem;
}

.link-hover {
    color:white;
    transition: 0.2s;
    text-decoration: none;
}

.link-hover:hover {
    color:  #ffcc33;
    transition: 0.2s;
}

.titrexxl {
    font-size: 5rem;
}

.titrexl {
    font-size: 1.5rem;
}

.margexl {
    margin-top: 10rem;
    margin-bottom: 10rem;
}

.text-color-yellow {
    color:#ffcc33;
}

.text-color-blue {
    color:#003bdf;
}

.text-color-pink {
    color: #eb458c;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


@media (max-width: 768px) {
    .titrexxl {
        font-size: 3rem;
    }
    .titrexl {
        font-size: 1.2rem;
    }
    .margexl {
    margin-top: 6rem;
    margin-bottom: 6rem;
    }
    .icones-xl {
        font-size: 6rem;
    }
}

@media (max-width: 576px) {
    .titrexxl {
        font-size: 2rem;
    }
    .titrexl {
        font-size: 1rem;
    }
}





/* MENU DE NAVIGATION */
.topnav {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.topnav_link {
  padding: 12px;
  text-decoration: none;
  font-family: 'Krona_one';
}
.topnav_link:hover {
  color: #ffcc33;
}

#topnav_hamburger_icon,
#topnav_responsive_menu {
  display: none;

}

#home_link{
  margin-right:auto;
  flex-shrink: 1;       
  min-width: 0;  
  white-space: normal; 
}

#topnav_menu a {
  white-space: nowrap;
}
#topnav_menu {
  flex-shrink: 0;
}


  @media only screen and (max-width: 768px) {
  #topnav_menu {
    display: none;
  }

  #home_link {
    flex-grow: 1;
    font-family: 'krona_one';
  }

  #topnav_responsive_menu {
    display: block;
    position: fixed; 
    top: 0;
    right: 0;
    width: 60vw;
    max-width: 300px;
    height: 100dvh;
    background: #ededed;
    z-index: 99;

    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
  }

  #topnav_responsive_menu ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 80px 20px 20px;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
  }

  #topnav_responsive_menu li {
    padding: 12px 0;
  }

  #topnav_responsive_menu a {
    white-space: nowrap;
    text-decoration: none;
  }

  #topnav_responsive_menu.open {
    transform: translateX(0);
  }

  #topnav_hamburger_icon {
    display: block;
    position: relative;
    margin: 16px;
    width: 33px;
    height: 28px;
    z-index: 100;
    cursor: pointer;
  }

  #topnav_hamburger_icon span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #ededed;
    border-radius: 3px;
    left: 0;
    transition: 0.25s ease-in-out;
  }

  #topnav_hamburger_icon span:nth-child(1) { top: 0px; }
  #topnav_hamburger_icon span:nth-child(2) { top: 12px; }
  #topnav_hamburger_icon span:nth-child(3) { top: 24px; }

  #topnav_hamburger_icon.open span { background: #333; }
  #topnav_hamburger_icon.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
  }

  #topnav_hamburger_icon.open span:nth-child(2) {
    opacity: 0;
  }

  #topnav_hamburger_icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
  }
  
  #topnav_hamburger_icon.open {
  position: fixed;
  top: 0px;  
  right: 0px;
  }
    
}