@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    text-align: justify;
}

body {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    font-family: 'Arial', sans-serif;
    background: black;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    color: white;
}


.video-and-text {
    position: relative;
    width: 100%;
    /* height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}


.number-video {
    opacity: 0.7;
}

article {
    display: flex;
    flex-direction: column;
    padding: 20%;
    position: relative;
    justify-content: center;
    text-align: center;
}



@keyframes fade-out {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0;
    }
}


h1 {
    color: white;
    font-size: 40px;
    padding: 20px;
    text-align: center;
}



article .text span {
    position: relative;
    display: inline-block;
}


p.article-text,
p.article-text-math,
.text {
    color: white;
    padding: 20px 0;
    font-size: 18px;
    line-height: 25px;
    text-align: justify;
}


p.article-text,
p.article-text-math {
    text-indent: 10%;
}


p.article-text,
.opinions {
    scale: .8;
    opacity: 0;
    animation: fade-in linear forwards;
    animation-timeline: view();
    animation-range: 250px 500px;
}



p.par-for-contact {
    text-align: left;
}

.about-me, .nomad-life {
    width: 80%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;

    scale: .8;
    opacity: 0;
    animation: fade-in linear forwards;
    animation-timeline: view();
    animation-range: 250px 500px;
}


@keyframes fade-out {
    to {
        opacity: 0;
    }
}



@keyframes fade-in {
    to {
        scale: 1;
        opacity: 1;
    }
}


.for-sites-ul {
    list-style: none;
    margin-bottom: 1em;
}

.for-sites-ul li::before {
    content: "\2022";
    color: white;
    font-size: 20px;
    display: inline-block;
    width: 1em;
    margin-left: 2em;
}




div.about-me {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

img.about-me {
    border-radius: 3%;
    max-width: 27em;
    height: auto;
}

div.about-me p {
    font-family: 'Dancing Script', "Nunito", sans-serif;
    margin-top: 14px;
    margin-bottom: 20px;
    font-size: 18px;
}



@media (max-width: 912px) {
    article {
        padding: 13%;
        margin-top: 15%;
    }
}


@media (max-width: 374px) {
    article {
        padding: 13%;
        margin-top: 15%;
    }

    h1 {
        font-size: 30px;
    }

    p.article-text,
    p.article-text-math,
    .text {
        font-size: 15px;
        line-height: 22px;
    }

    div.about-me p {
        margin-top: 11px;
        margin-bottom: 17px;
        font-size: 15px;
    }
}

@media (max-width: 322px) {
    p.par-for-contact {
        font-size: 14px;
    }
}