body{
    font-family: 'Raleway', sans-serif;
}


/* Image Part of Home Page*/
.imageCard{
    background-image: url('../img/img-index.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 580px;
    margin-top: 60px;
}
.textOnImage{
    font-size: 22px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    padding: 0.2em;
}
.presentation1 {
    text-align: center; 
    height: 100%;
    width: 75%; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 27px;
}
.mentionImg{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: column;
    color: white;
    font-size: 10px;
}

/* Principal Cards of Home Page */
.gridMain{
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 550px 550px 550px 550px ;
    row-gap: 2px;
    column-gap: 2px;
    overflow: hidden;
    margin: 2px;
}
.h2Title{
    font-size: 45px;
    color: white;
    justify-content: center;
    align-items: flex-start;
    margin: 20px;  
}
.ytFrameCard{
    width: 100%;
    height: 550px;
    text-align: center;
    background-size: contain;   
    padding: 0px;
    cursor: pointer;
}
#ytplayer{
    width: 100%;
    height: 100%;
}
.methodesCard{
    background: url('../img/youngOld.jpg') no-repeat center center;
    background-size: cover;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    background-size: cover;
    color: white;
    font-size: 2rem;
    text-align: center;
}
.childrenAdults{
    display: flex;
    justify-content: center;
    border-radius: 10px;
    font-size: 45px;
    opacity: 0.7;
    margin: 5px;
    width: 50%;
}
.childrenCard{
    color: white;
    margin: 20px;
    background-color: #36424d ;
    border-radius: 10px;
    font-size: 2.2rem;
    width: 70%;
}
.adultsCard{
    color: white;
    margin: 20px;
    background-color: #36424d ;
    border-radius: 10px;
    font-size: 2.2rem;
    width: 70%;
}    
a.childrenCard:hover{
    color: white;
    text-decoration: none;
    opacity: 1;
}
a.adultsCard:hover{
    color: white;
    text-decoration: none;
    opacity: 1;
}
.helpCard{
    width: 100%;
    cursor: pointer;
    overflow: hidden;
    background: url('../img/marco-bianchetti.jpg')no-repeat center center;
    background-size: cover;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
.systemCard{
    width: 100%;
    background: url('../img/frenchSystem.jpg')no-repeat center center;
    background-size: cover;   
    cursor: pointer;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
.aArticleCard{
    color: white;
}
.aArticleCard:hover{
    color: white;
    text-decoration: none;
}


@media only screen and (min-width: 640px){
/* Under the header */
    .imageCard{
        background-image: url('../img/img-index.jpg');
        background-position: center center;
        background-repeat: no-repeat;
        background-color: rgb(0, 0, 0);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        height: 870px;
    }
    .presentation1 {
        text-align: center; 
        height: 100%;
        width: 75%; 
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 60px;
    }
    /* Principal Cards of Home Page */
    
    main{
        width: 100%;
    }
    .childrenAdults{
        display: flex;
        border-radius: 10px;
        font-size: 45px;
        margin: 5px;
        width: 50%;
    }

    a.childrenCard:hover{
        color: white;
        text-decoration: none;
        opacity: 1;
    }
    a.adultsCard:hover{
        color: white;
        text-decoration: none;
        opacity: 1;
    }
    .childrenCard{
        color: white;
        margin: 20px;
        background-color: #36424d ;
        opacity: 0.7;
        border-radius: 10px;
        font-size: 2.2rem;
        width: 70%;
    } 
    .adultsCard{
        color: white;
        margin: 20px;
        background-color: #36424d ;
        opacity: 0.7;
        border-radius: 10px;
        font-size: 2.2rem;
        width: 70%;
    }    
    .gridMain{
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: 350px 350px ;
        row-gap: 2px;
        column-gap: 2px;
    }
    .ytFrameCard{
        width: 100%;
        height: 350px;
        text-align: center;
        background-size: contain;   
        padding: 0px;
        cursor: pointer;
    }
    #ytplayer{
        width: 100%;
        height: 100%;
    }
    .methodesCard{
        background: url('../img/youngOld.jpg') no-repeat center center;
        background-size: cover;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        cursor: pointer;
        background-size: cover;
        color: white;
        font-size: 2rem;
        animation-fill-mode: forwards;
    }
    .helpCard{
        width: 100%;
        cursor: pointer;
        overflow: hidden;
        background: url('../img/marco-bianchetti.jpg')no-repeat center center;
        background-size: cover;
        font-size: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        animation-fill-mode: forwards;
    }
    
    .systemCard{
        width: 100%;
        background: url('../img/frenchSystem.jpg')no-repeat center center;
        background-size: cover;   
        cursor: pointer;
        font-size: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        animation-fill-mode: forwards;
    }
    .aArticleCard{
        color: white;
    }
    .aArticleCard:hover{
        color: white;
        text-decoration: none;
    }
    .h2Title{
        font-size: 45px;
        color: white;
        justify-content: center;
        align-items: flex-start;
        margin: 20px;
        
    }
    .methodesCard, .helpCard, .systemCard {
        opacity: 0.9;
        transition: transform .5s ease-in-out,
                     0.5s ease-in-out;
    }
    .methodesCard:hover, .helpCard:hover, .systemCard:hover{
        opacity: 1;
        transform: scale(1.01);
    }
}


