@keyframes squareRotation {
    from {
        transform: rotate(-15deg);
    }
    to {
        transform: rotate(345deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.page {
    min-width: 1100px;
    max-width: 1600px;
    margin: 0 auto;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

.header {
    height: 100vh;
    display: flex;
    position: relative;
    min-height: 600px;
    max-height: 756px;
    background-color:  #F2F2F2;
    margin: 0;
    overflow: hidden;
}

.logo {
    width: 183px;
}

.logo_place_header {
    height: 32px;
    position: absolute;
    top: 30px;
    left: 64px;
}

.header__title {
    width: 730px;
    margin-left: 64px;
    margin-top: auto;
    margin-bottom: auto;
    font: bold 102px/96px 'Helvetica Neue', Arial, sans-serif;
    z-index: 1;
}

.header__subtitle {
    width: 388px;
    position: absolute;
    bottom: 30px;
    left: 64px;
    margin: 0;
    font: normal 18px/25px 'Helvetica Neue', Arial, sans-serif;
    z-index: 1;
}

.header__link {
    color:  #2F80ED;
    text-decoration: none;
}

.header__link:hover {
    opacity: 40%;
    transition: opacity 2s linear;
}

.header__main-illustration {
    width: 765px;
    height: 608px;
    position: absolute;
    right: 0;
    bottom: 0;
}

.header__square-pic {
    height: 568px;
    width: 568px;
    position:absolute;
    top: 64px;
    right: 0;
    background-color: #2F80ED;
    animation: squareRotation 20s infinite linear;
}

.section-title {
    width: 60%;
    font-weight: bold;
    font-size: 60px;
    line-height: 69px;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 0;
    align-self: center;
}

.section-subtitle {
    width: 60%;
    margin-top: 20px;
    margin-bottom: 0;
    font: normal 24px/34px 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
    align-self: center;
}

.description{
    margin: 0;
    padding-top: 100px;
}

.two-columns {
    width: 80%;
    margin: 0 auto 0 auto;
    display: flex;
    justify-content: space-between;
}

.two-columns__brief {
    width: 175px;
    color: #2F80ED;
    font: normal 18px/1.2 'Helvetica Neue', Arial, sans-serif;
    margin-top: 0;
    margin-bottom: 0;
}

.two-columns__main-text {
    width: 80%;
    min-width: 784px;
}

.two-columns__paragraph {
    font: normal 24px/34px 'Helvetica Neue', Arial, sans-serif;
    margin-bottom: 30px;
    margin-top: 0;
}

.two-columns__paragraph:last-of-type {
    margin-bottom: 0;
}

.two-columns__span-accent {
    font-weight: bold;
}

.technics {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
}

.cards {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.cards__item {
    margin: 60px 100px 0 0;
    width: 240px;
}

.cards__image {
    width: 160px;
    height: 160px;
    border-radius: 80px;
    margin: 0 40px;
}

.cards__title {
    margin-top: 43px;
    margin-bottom: 0;
    font: bold 24px/1.15 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
}

.cards__description {
    margin-top: 16px;
    margin-bottom: 0;
    font: normal 18px/23px 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
}

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

.video__iframes {
    margin: 50px auto 0 auto;
    width: 1050px;
    display: flex;
    justify-content: space-between;
}

.video__iframe {
    width: 515px;
    height: 316px;
    border: 0;
}

.oakley {
    margin-top: -60px;
    padding-top: 160px;
    padding-bottom: 80px;
    background-color: #F2F2F2;
}

.feinman {
    height: 790px;
    display: flex;
    position: relative;
    flex-direction: column;
    background-color:  #F2F2F2;
    background-image: url(../images/feinman.png);
    background-repeat: no-repeat;
    background-position: bottom left;
}

.feinman__title {
    width: 648px;
    margin: 0 auto 0 auto;
    font: bold 120px/1.15 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
}

.feinman__subtitle {
    width: fit-content;
    font: normal 36px/51px 'Helvetica Neue', Arial, sans-serif;
    margin: 70px auto;
}

.feinman__link {
    font: normal 36px/51px 'Helvetica Neue', Arial, sans-serif;
    position: absolute;
    top: 50%;
    right: 48px;
    color:  #000000;
    text-decoration: none;
}

.feinman__link:hover {
    opacity: 40%;
    transition: opacity 2s linear;
}

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

.table {
    width: 1100px;
    margin: 0 auto 100 auto;
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-self: center;
}

.table__cell {
    width: 250px;
    margin-top: 60px;
}

.table__heading {
    font: bold 24px/1.15 'Helvetica Neue', Arial, sans-serif;
    margin-top: 0;
    margin-bottom: 20px;
}

.table__text {
    font: normal 18px/1.2 'Helvetica Neue', Arial, sans-serif;
    margin-bottom: 20px;
}

.table__text:last-of-type {
    margin-bottom: 0;
}

.khan {
    padding-top: 205px;
    background-image: linear-gradient(white 0px 100px,#F2F2F2 100px);
}

.khan__container {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
}

.khan__author {
    font: normal 30px/42px 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
}

.khan__title {
    font: bold 60px/1.15 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
}

.khan__quote {
    margin-top: 50px;
    margin-bottom: 0;
    width: 790px;
    font: normal 24px/34px 'Helvetica Neue', Arial, sans-serif;
}

.khan__quote-author {
    margin-top: 36px;
    margin-bottom: 0px;
    font: bold 24px/1.15 'Helvetica Neue', Arial, sans-serif;
}

.khan__quote-author-subline {
    margin-top: 10px;
    margin-bottom: 0;
    font: normal 24px/1.15 'Helvetica Neue', Arial, sans-serif;
}

.khan__book-container {
    display: flex;
    flex-direction: row;
    margin-top: 68px;
}

.khan__book-pic {
    width: 620px;
    height: 608px;
    object-fit: cover;
    object-position: top;
}

.khan__buy-link {
    margin-left: 20px;
    font: normal 30px/42px 'Helvetica Neue', Arial, sans-serif;
    color:  #2F80ED;
    text-decoration: none;
}

.khan__buy-link:hover {
    opacity: 40%;
    transition: opacity 2s linear;
}

.kaufman {
    display: flex;
    position: relative;
    flex-direction: column;
    overflow: hidden;
    color: white;
    background-color: #1F1F1F;
}

.section-title_theme_dark {
    margin-top: 90px;
    z-index: 1;
}

.section-subtitle_theme_dark {
    z-index: 1;
}

.table_theme_dark {
    z-index: 1;
    margin: 0 auto 90px;
}

.table__cell_theme_dark {
    width: 200px;
    margin-right: 0;
    margin-top: 80px;
}

.table__text_theme_dark {
    margin: 0;
}

.kaufman__triangle {
    width: 877px;
    height: 877px;
    z-index: 0;
    position: absolute;
    top: 0;
    right: -210px;
    background-repeat: no-repeat;
    background-image: url(../images/triangle.svg);
    background-size: cover;
    animation: rotation 20s infinite linear;
}

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

.resources__logo-zone {
    width: 1100px;
    margin: 80px auto 217px auto;
    list-style-type: none;
    padding-left: 0;
    display: flex;
    justify-content: space-between;
}

.resources__logo {
    min-width: 270px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resources__logo:hover {
    transform: scale(1.3, 1.3);
    opacity: 40%;
    transition: opacity 2s linear, transform 3s ease-in;
}

.footer {
    background-color: #1F1F1F;
    min-height: 350px;
    color: white;
    display: flex;
}

.footer__columns {
    width: 90%;
    display: flex;
    flex-direction: row;
    margin: 60px auto 40px auto;
    justify-content: space-between;
}

.footer__column {
    line-height: 30px;
    font-size: 18px;
    margin-left: 0;
    padding-left: 0;
}

.footer__column_content_copyright {
    flex-basis: 711px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo_place_footer {
    height: 35px;
}

.footer__author {
    margin-top: 18px;
    margin-bottom: 18px;
    font: normal 18px/25px 'Helvetica Neue', Arial, sans-serif;
}

.footer__column-heading {
    margin-bottom: 20px;
    font-weight: bold;
}

.footer__list-item {
    list-style-type: none;
    text-align: left;
}

.footer__column-links {
    display: flex;
    flex-direction: column;
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 16px;
}

.footer__column-link {
    text-decoration: none;
    color: white;
}

.footer__column-link:hover {
    opacity: 40%;
    transition: opacity 2s linear;
}

.footer__social-icon {
    width: 16px;
    height: 16px;
}