h2
{
    font-size: 50px;
}

p
{
    font-size: 35px;
}

#mainPage
{
    display: flex;
    flex-direction: column; 
    align-items: center;
    margin-top: 50px;
}

.module
{
    display: flex;
    flex-direction: column; 
    width: 100%;
}

.modType
{
    align-items: center;

    background-color: var(--white-color-1);

    padding-top: 32px;
    padding-bottom: 32px;
}

.modType:nth-child(4n+1)
{
    background-color: var(--white-color-2);
}

.inMod
{
    width: 1300px;
    display: flex;
    flex-direction: column; 
    align-items: center;
}

#module1
{
    justify-content: space-between;
}

.transi1
{
    width: 100%;
    height: 16px;
    
    background: linear-gradient(var(--black-color), var(--white-color-1));
}

.transi2
{
    width: 100%;
    height: 16px;
    
    background: linear-gradient(var(--white-color-1), var(--white-color-2));
}

.transi2:nth-child(4n+2)
{
    background: linear-gradient(var(--white-color-2), var(--white-color-1));
}

/* carousel */
  
.main 
{
    display: flex;
    
    width: 100%;
}
  
.slideshow 
{
    position: relative;
    flex: 1;
}
  
.slide 
{
    position: relative;
    display: none;
}

.slide img
{
    height: 46vw;
    object-fit: cover;
}
  
.slide-image 
{
    position: relative;
    display: flex;
    width: 100%;
}
  
.slide-image img 
{
    width: 100%;
}
  
.slide-image .infoSlide 
{
    width: 100%;
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    margin: 0 auto;
    text-align: center;
    color: white;
    z-index: 1;

	backdrop-filter: blur(10px)
}

.infoSlide h2, .infoSlide p
{
    text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000, 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
}

.btnSlide
{
    margin-top: 32px;
    margin-bottom: 32px;
}

.slide.is-active 
{
    display: block;
}
  
.controls 
{
    position: absolute;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding-bottom: 52px;
}
  
.controls button 
{
    padding: 16px;
    border: none;
    font-size: 1.8rem;
    color: white;
    background: transparent;
    cursor: pointer;
}
  
.controls button:nth-child(1):hover 
{
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}
  
.controls button:nth-child(2):hover
{
    background: linear-gradient(-90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
}
  
.dots-container 
{
    background-color: var(--black-color);

    height: 20px;
    padding: 16px;

    text-align: center;

    position: relative;

    z-index: 1;
}
  
.dot 
{
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 4px;
    background-color: var(--white-color-1);
    border-radius: 50%;
    transition: 0.6s ease;
    cursor: pointer;
}
  
.dot.is-active,
.dot:hover 
{
    background-color: var(--blue-1);
}
  
.fade 
{
    animation-name: fade;
    animation-duration: 0.4s;
}
  
@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/**/

.game
{
    flex: 1;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-size: 100% auto;

    transition: all 1s ease-in-out;
}

.game-current
{
    display: flex;
}

.gameTitle, .gameDesc
{
    color: var(--white-color-1);
    text-shadow: 2px 2px 0 #000000;
}

.subTitle
{
    margin: 20px;
    color: var(--black-color);
}

#containGameM2
{
    width: 100%;

    display: flex;
    justify-content: space-between;

    overflow: hidden;
}

.gameDivM2
{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 8px;

    cursor: pointer;
}

.gameImgM2
{
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gameDivM2:hover h3
{
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.gameDivM2 h3
{
    width: 100%;

    margin-top: 8px;

    text-align: start;
}

.gameDivM2 .list-tag
{
    width: 100%;
    height: 20px;

    margin-top: 10px;
}

.gameDivM2 .list-tag img
{
    width: 20px;
    height: 20px;

    margin-right: 10px;
}

/* actu */

#actuDiv
{
    width: 100%;
    max-height: 600px;

    display: flex;
}

#mainActu
{
    flex: 4;
    display: flex;
}

#secondActu
{
    flex: 3;
}

#secondActu::-webkit-scrollbar {
    width: 6px;
}
  
#secondActu::-webkit-scrollbar-track {
    background: var(--blue-2);
}
  
#secondActu::-webkit-scrollbar-thumb {
    background: var(--blue-1);
}

.actu, .actuS
{
    margin: 10px;
    cursor: pointer;
}

.actu
{
    display: flex;
    flex-direction: column;
    
    width: 100%;
}

.actuS
{
    display: flex;
}

.actu img
{
    width: 100%;
}

.actuS img, .actuS div
{
    width: 0;
    flex: 1;
}

.actu h3
{
    margin-top: 2px;
}

.actuS h3
{
    margin-left: 10px;
    margin-top: 2px;
}

.actu div p
{
    margin-top: 10px;
    font-size: 12px;
}

.actuS div p
{
    margin-left: 10px;
    font-size: 12px;
}

.actu:hover div h3, .actuS:hover div h3
{
    text-decoration: underline;
    text-decoration-thickness: 2px;
}