@font-face {
    src: url("./fonts/EffraRegular.otf");
    font-family: 'Effra';
    font-weight: 400;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Effra';
    font-weight: 400;
}

a {
    transition: color .3s;
    color: #fff;
}

a:hover {
    color: red;
}

body {
    overflow: hidden;
    /*cursor: none;*/
}

.main {
    padding: 92px 143px;
    background-color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main__header, .main__experience, .main__footer {
    transition: transform 1.5s, opacity 2.5s .1s;
}

.main__header {
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(-200px);
}

.main__header.animate {
    transform: translateY(0);
    opacity: 1;
}

.main__title {
    font-size: 39px;
    line-height: 47px;
    color: #fff;
    margin-bottom: 18px;
}

.main__subtitle {
    font-size: 24px;
    line-height: 40px;
    color: #fff;
}

.main__link {
    margin-left: 149px;
    font-size: 33px;
    line-height: 40px;
    color: #fff;
}

.main__experience {
    position: relative;
    margin: auto 0;
    opacity: 0;
    transform: translateX(-200px);
}

.main__experience.animate {
    transform: translateX(0);
    opacity: 1;
}

.main__experience__title {
    color: #fff;
    font-size: 116px;
    line-height: 123px;
    margin-bottom: 52px;
}

.main__footer {
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(200px);
}

.main__footer.animate {
    transform: translateY(0);
    opacity: 1;
}

.main__copyright {
    font-size: 24px;
    color: #fff;
}

.main__copyright a {
    text-decoration: none;
}

.main__dot {
    min-width: 28px;
    max-width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #fff;
    margin-left: auto;
    cursor: pointer;
    transition: transform .5s;
}

.main__dot:hover {
    transform: scale(1.2);
}

.main__dot .main__dot__dot {
    content: '';
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: #fff;
    z-index: 1;
    border-radius: 50%;
    margin: 3px;
    transition: all .3s;
}

.main__dot.active .main__dot__dot {
    width: 300vw;
    height: 300vh;
    transform: translate(-150vw, -150vh);
}

.quotes-modal {
    background-color: transparent;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    padding: 0 25px;
}

.quotes-modal--show {
    opacity: 1;
}

.quotes-modal p {
    font-size: 24px;
    line-height: 35px;
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

@media all and (max-height: 750px) {
    .main__experience__title {
        font-size: 50px;
        line-height: 60px;
    }

    .main__title {
        margin-bottom: 5px;
        font-size: 20px;
        line-height: 35px;
    }

    .main__subtitle {
        font-size: 16px;
        line-height: 25px;
    }

    .main__link {
        font-size: 16px;
    }
    .main__copyright {
        font-size: 16px;
    }
}

@media all and (max-width: 1200px) {
    .main {
        padding: 25px 30px;
    }

    .main__experience__title {
        font-size: 70px;
        line-height: 80px;
    }
}

@media all and (max-width: 767px) {
    .main__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .main__title {
        margin-bottom: 5px;
        font-size: 25px;
        line-height: 35px;
    }

    .main__subtitle {
        font-size: 18px;
        line-height: 25px;
    }

    .main__link {
        margin: 10px 0 0;
        font-size: 18px;
    }

    .main__experience__title {
        font-size: 50px;
        line-height: 60px;
    }

    .main__copyright {
        display: flex;
        flex-direction: column;
    }

    .main__copyright {
        font-size: 18px;
    }

    .main__copyright span {
        width: fit-content;
        transform: rotate(90deg);
        margin-left: 10px;
    }

    .main__footer {
        align-items: flex-end;
    }
}

@media all and (max-width: 460px) {
    .main__experience__title {
        font-size: 40px;
        line-height: 40px;
    }
}