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

@keyframes rotation-triangle {
    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;
}

.link {
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

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

.logo {
    width: 183px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;    
}

.logo_place_header {
    background-image: url(../images/logo.svg);
    position: absolute;
    top: 30px;
    left: 64px;
}

.header__title {
    width: 730px;
    margin-left: 64px;
    line-height: 96px;
    font-size: 102px;
    font-weight: bold;
    align-self: center;
    z-index: 2;
}

.header__subtitle {
    position: absolute;
    width: 388px;
    line-height: 25px;
    font-size: 18px;
    margin: 0;
    left: 64px;
    bottom: 30px;
    font-weight: normal;
    z-index: 2;    
}

.header__link {
    color: #2F80ED;    
}

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

.header__square-pic {
    position: absolute;
    height: 568px;
    width: 568px;
    background-color: #2F80ED;
    top: 64px;
    right: 0;
    transform: rotate(-15deg);
    animation: rotation-square 20s linear infinite normal;        
}

.description {
    display: flex;
    justify-content: center;
    padding-top: 100px;
}
.two-columns {
    width: 80%;
    min-width: 784px;
    display: flex;
    justify-content: space-between;
}

.two-columns__brief {
    width: 175px;
    color: #2F80ED;
    line-height: 1.2;
    font-size: 18px;
    font-weight: normal;
    margin: 0;    
}

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

.two-columns__paragraph {
    margin: 0;
    line-height: 34px;
    font-size: 24px;
    margin-bottom: 30px;
}

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

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

.cards {
    width: 60%;                      
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, 240px);
    grid-row-gap: 60px;
    grid-column-gap: 100px;
}

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



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

.cards__title {
    line-height: 1.15;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-align: center;
    margin-bottom: 16px;
}

.cards__description {
    line-height: 23px;
    font-size: 18px;
    font-weight: normal;
    margin: 0;
    text-align: center;
}
.video__iframes {
    position: relative;
    top: 50px;
    display: flex;
    justify-content: center;
    z-index: 1;
}

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

.video__iframe:first-of-type {
    margin-right: 20px;
}

.oakley {
    display: flex;
    justify-content: center;
    background-color:  #F2F2F2;
    padding-top: 160px;
    padding-bottom: 80px;
}

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

.section-subtitle {
    width: 60%;
    line-height: 34px;
    font-size: 24px;
    font-weight: normal;
    margin: 0 auto;
    text-align: center;
}

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

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

.table__heading {
    line-height: 1.15;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.table__text {
    line-height: 1.2;
    font-size: 18px;
    margin: 20px 0 0 0;
}

.khan {
    margin-top: 100px;
    padding-top: 105px;
    background-color:  #F2F2F2;    
}

.khan__container {
    width: 80%;
    margin: 0 auto;
    
}

.khan__author {
    line-height: 42px;
    font-size: 30px;
    font-weight: normal;
    margin: 0;    
}

.khan__title {
    line-height: 1.15;
    font-size: 60px;
    margin: 0; 
}

.khan__quote {
    width: 790px;
    line-height: 34px;
    font-size: 24px;
    margin: 50px auto 36px 0;
}

.khan__quote-author {
    line-height: 1.15;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.khan__quote-author-subline {
    line-height: 1.15;
    font-size: 24px;
    font-weight: normal;
    margin: 10px auto 68px 0;
}



.khan__book-pic {
    overflow: hidden;
    width: 620px;
    height: 608px;
    margin-right: 20px;
    object-fit: cover;
    object-position: top;
    vertical-align: bottom;
    
}
.khan__buy-link {
    line-height: 42px;
    font-size: 30px;
    color: #2F80ED;
    vertical-align: top;
}   

.feinman {
    height: 790px;
    background-color:  #F2F2F2;
    background-image: url(../images/feinman.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 867px 637px;
    position: relative;    
}

.feinman__title {
    margin: 0 auto 70px;
    width: 648px;
    line-height: 1.15;
    font-size: 120px;
    font-weight: bold;
    text-align: center;    
}

.feinman__subtitle {
    margin: 0;
    line-height: 51px;
    font-size: 36px;
    font-weight: normal;
    text-align: center;
}

.feinman__link {
    line-height: 51px;
    font-size: 36px;    
    color:  #000000;
    position: absolute;
    top: 50%;
    right: 48px;
}

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

.section-title_theme_dark {
    color: white;
    margin: 90px auto 20px;
    z-index: 2;
}

.section-subtitle_theme_dark {
    color: white;
}

.table_theme_dark {
    margin-bottom: 90px;
    z-index: 2;
    color: white;
}


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

.table__heading_theme_dark {
    color: white;
}

.table__text_theme_dark {
    color: white;
}

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

.resources__logo-zone {
    width: 1100px;
    margin: 80px auto 217px;
    display: flex;
    justify-content: space-between;
}

.resources__logo  {
    width: 270px;
    height: 38px;
}


.footer {
    min-height: 350px;
    background-color: #1F1F1F;
    display: flex;
    padding-top: 60px;
    padding-bottom: 40px;     
}

.footer__columns {
    display: flex;
    width: 90%;
    margin: 0 auto;
    color: white;
    justify-content: space-between;
}

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

.logo_place_footer {
    height: 35px;
    background-image: url(../images/logo_white.svg);    
}

.footer__author {
    margin: 18px 0;
    line-height: 25px;
    font-size: 18px;    
}

.footer__column-heading {
    line-height: 30px;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.footer__column-links {
    list-style-type: none;
    margin: 20px 0 16px;
    padding: 0;
    line-height: 30px;
    font-size: 18px;
}

.footer__social-icons {
    width: 16px;
    height: 16px;    
    background-repeat: no-repeat;
    background-position: center;
}

.footer__column-link {
    color: white;
}