@charset "UTF-8";

@media only screen and (max-width: 1020px) {
  .title {
    margin-top: -80vh;
  }

  .copyright {
    flex-direction: column;
    text-align: end;
  }

  .copyright div {
    padding: 5px 0;
  }
}

@media only screen and (max-width: 895px) {
    .cursor {
        display: none;
    }
    p {
        font-size: 16px;
    }
    h2 {
        font-size: 30px;
    }

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

    .contacts a:first-child {
        margin: 0;
    }

    .contacts a {
        margin: 20px 0;
    }

    .popup-overlay.active .popup-content {
        padding-top: 100px;
    }

    .contact-title {
        flex-direction: column;
        align-items: start;
    }

    .contact-title h2 {
        padding-bottom: 25px;
    }

    .contact {
        background-image: none;
    }

    .contacts-block {
        width: fit-content;
    }

    .contact-title p {
        text-align: left;
    }
}

@media only screen and (max-width: 600px) {
    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 20px;
    }

    .popup-content p {
    max-width: 100%;
    font-size: 14px;
}

    .button {
        display: none;
    }

    .contact-title p {
        width: auto;
    }
    
    .about-text {
        flex-direction: column;
    }

    .about-text .about-text-child:last-child {
        margin: 30px 0 0;
    }

    .circle-button {
        margin: 40px 0 40px auto;
    }

    .copyright {
        text-align: start;
    }

    .popup-content .circle-button {
        height: 110px;
        width: 110px;
        font-size: 14px;
        margin: 0;
    }
}