@font-face {
    font-family: "Ramadhankarim";
    src: url("fonts/Ramadhankarim.otf");
}

@font-face {
    font-family: "Peachi";
    src: url("fonts/Peachi/peachi-bold.otf");
}

body {
    width: 100vw;
    height: 100vh;
    font-family: Peachi;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.background {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
}

.text-container {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 30px;
    padding: 1rem 0;
}

.title {
    font-family: Ramadhankarim;
    width: 95%;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #0000ff;
    background-color: #fff;
    border-radius: 30px;
    padding: 1rem 0;

}

.text {
    width: 95%;
    line-height: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 1px 0 15px #000;
}

.text2 {
    line-height: 1.2rem;
    color: #fff;
    text-shadow: 1px 0 15px #000;
}



/*----------------------------------------------------------------------------------
-------------------------------------  TABLETTE ------------------------------------
----------------------------------------------------------------------------------*/

@media (min-width: 768px) {
    .title {
        width: 75%;
        font-size: 3rem;
    }
    
    .text {
        font-size: 1.1rem;
    }
    
    .text2 {
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .title {
        width: 50%;
        font-size: 3rem;
    }
}



/*----------------------------------------------------------------------------------
-------------------------------------  DESKTOP -------------------------------------
----------------------------------------------------------------------------------*/

@media (min-width: 1399px) {
    .title {
        width: 40%;
    }
}


@media (min-width: 1599px) {
    .title {
        width: 30%;
    }
}

@media (min-width: 1920px) {
    .title {
        width: 25%;
    }
}

