* {
    font-family: 'PT Sans', sans-serif !important;
}
body * {
    box-sizing: border-box;
}

h1 {
    font-size: 40px;
    font-weight: bold;
}
h2 {
    color: white;
    font-size: 25px;
}
p {
    font-size: 32px;
}

[class*="container"] {
    width: 100%;
}
.row {
    display: flex;
    justify-content: center;
    width: 100%;
}
[class*="col"] {
    max-height: 100%;
}
[class*="overlay"] {
    position: absolute;
}

.hidden {
    display: none;
}



header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 30px;
    height: 100px;
    background-color: #333;
}
header a {
    display: block;
    text-decoration: none;
    user-select: none;
    height: 50px;
    width: 50px;
    background-image: url(../images/44473.png);
    background-size: cover;
    filter: invert(1);
    float: left; 
    margin-right: 1520px; 
}
header a:hover {
    transition: all 0.5s ease;
    transform: scale(1.25);
}

header * {
    user-select: none;
}
header .row {
    align-items: center;
}
[class*="flag"] {
    width: 30px;
    height: 20px;
    background-size: cover;
}
.ua-flag {
    background-image: url(../images/ua-flag.png);
}
.us-flag {
    background-image: url(../images/us-flag.png);
}
.switcher {
    height: 35px;
    width: 65px;
    background-color: grey;
    border: solid 2.5px #222;
    margin: 20px;
    border-radius: 30px;
    cursor: pointer;
}
.point {
    height: 30px;
    width: 30px;
    background-color: lightgrey;
    border-radius: 50%;
    transition: all 300ms ease-in-out;
}
.moved {
    transform: translateX(30px);
}



main {
    background-color: white;
}

.container-0 {
    height: 490px;
    background-image: url(../images/background_cow.jpg);
}
.col-man {
    padding: 70px 0 0;
    margin: 0 156px;
}
.man {
    width: 424px;
    height: 420px;
    background-image: url(../images/man.png);
    background-size: cover;
}
.col-man-text {
    position: relative;
    width: 1049px;
    display: flex;
    align-items: center;
}
.container-0 [class*="overlay"] {
    width: calc(100% - 132px);
    padding-right: 132px;
}
.container-0 h1, .container-0 p {
    color: white;
}
.container-0 h1 {
    margin-bottom: 30px;
}



.container-1 {
    border-bottom: #999 solid 3px;
}
.col-woman-text {
    position: relative;
    width: 1049px;
    display: flex;
    align-items: center;
}
.container-1 [class*="overlay"] {
    width: 1049px;
}
.container-1 h1 {
    margin-bottom: 30px;
}
.col-woman {
    margin: 0 -9px 0 50px;
}
.woman {
    height: 561px;
    width: 372px;
    background-image: url(../images/Olesia_Avramenko.jpg);
    background-size: cover;
}


.container-2 {
    padding-top: 100px;
}
.container-2 .row:last-child {
    margin-top: 250px;
}
.col-book {
    display: flex;
    align-items: center;
}
.book {
    height: 536px;
    width: 424px;
    background-image: url(../images/Krivolap_Cover_FR_face.jpg);
    background-size: cover;
}
.col-book-text {
    position: relative;
    width: 900px;
    display: flex;
    align-items: center;
}
.col-book-text [class*="overlay"] {
    width: 900px;
    padding: 0 50px 0 100px;
}
.col-btn {
    width: 320px;
    height: 80px;
    margin-top: 81px;
}
.col-btn a {
    display: block;
    width: 320px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    background-color: #2c2a8b;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-size: 40px;
    font-weight: bold;
    user-select: none;
}
.col-btn a:hover {
    background-color: #4a47e2;
}
.col-copyrigth {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    height: 286px;
}
.col-copyrigth [class*="overlay"] {
    width: 100%;
}
.col-copyrigth h1 {
    color: #333361;
    font-size: 36px;
    font-weight: bold;
    margin: 10px 23px;
}
.col-copyrigth p {
    color: #666;
    font-size: 24px;
    margin: 23px;
}

footer {
    background-color: #333;
    padding: 22px 38px;
}
.col-footer {
    height: 80px;
}
footer p {
    line-height: 40px;
    opacity: 78%;
    color: white;
    font-size: 28px;
}
footer [class*="overlay"] {
    width: calc(100% - 76px);
}


/* Laptop */

@media(max-width: 1739px) {

    h1 {
        font-size: 30px;
    }
    p {
        font-size: 22px;
    }

    .container-0 {
        height: 406px;
    }
    .col-man {
        margin: 0;
    }
    .man {
        width: calc(424px * 0.8);
        height: calc(420px * 0.8);
    }
    .col-man-text {
        width: 500px;
    }
    .container-0 [class*="overlay"] {
        width: 500px;
        padding-right: 0;
    }
    .container-0 h1 {
        margin-bottom: 25px;
    }

    .container-1 {
        border-width: 2px;
    }
    .col-woman-text {
        width: 550px;
    }
    .container-1 [class*="overlay"] {
        width: 550px;
    }
    .container-1 h1 {
        margin-bottom: 25px;
    }
    .col-woman {
        margin-left: 0;
    }
    .woman {
        height: calc(561px * 0.8);
        width: calc(372px * 0.8);
    }

    .container-2 {
        padding-top: 50px;
    }
    .container-2 .row:last-child {
        margin-top: 175px;
    }
    .book {
        height: calc(536px * 0.7);
        width: calc(424px * 0.7);
    }
    .col-book-text {
        width: 520px;
    }
    .col-book-text p {
        font-size: 20px;
    }
    .col-book-text [class*="overlay"] {
        width: 520px;
        padding: 0 25px 0 50px;
    }
    .col-btn {
        width: 250px;
        height: 70px;
        margin-top: 50px;
    }
    .col-btn a {
        width: 250px;
        height: 70px;
        line-height: 70px;
        font-size: 25px;
    }
    .col-copyrigth {
        height: 260px;
    }
    .col-copyrigth h1 {
        font-size: 26px;
    }
    .col-copyrigth p {
        font-size: 20px;
    }
    
    footer {
        padding: 22px 38px;
    }
    .col-footer {
        height: 60px;
    }
    footer p {
        line-height: 30px;
        font-size: 20px;
    }
    footer .overlay-ua p {
        font-size: 23px;
    }
    footer [class*="overlay"] {
        width: calc(100% - 76px);
    }

}   


/* Tablet */

@media(max-width: 1023px) {

    h1 {
        font-size: 25px;
    }
    p {
        font-size: 18px;
    }

    header {
        height: 80px;
    }

    .container-0 {
        height: 322px;
    }
    .man {
        width: calc(424px * 0.6);
        height: calc(420px * 0.6);
    }
    .col-man-text {
        width: 400px;
    }
    .container-0 [class*="overlay"] {
        width: 400px;
    }
    .container-0 h1 {
        margin-bottom: 20px;
    }

    .col-woman-text {
        width: 450px;
    }
    .container-1 [class*="overlay"] {
        width: 450px;
    }
    .container-1 h1 {
        margin-bottom: 20px;
    }
    .woman {
        height: calc(561px * 0.6);
        width: calc(372px * 0.6);
    }

    .container-2 .row:last-child {
        margin-top: 150px;
    }
    .book {
        height: calc(536px * 0.5);
        width: calc(424px * 0.5);
    }
    .col-book-text {
        width: 450px;
    }
    .col-book-text p {
        font-size: 16px;
    }
    .col-book-text [class*="overlay"] {
        width: 450px;
        padding-right: 10px;
    }
    .col-btn {
        width: 180px;
        height: 60px;
        margin-top: 35px;
    }
    .col-btn a {
        width: 180px;
        height: 60px;
        line-height: 60px;
        font-size: 18px;
    }
    .col-copyrigth {
        height: 210px;
    }
    .col-copyrigth h1 {
        font-size: 20px;
        margin-left: 17px;
    }
    .col-copyrigth p {
        font-size: 16px;
        margin: 17px;
    }
    
    footer {
        padding: 12px 18px;
    }
    .col-footer {
        height: 40px;
    }
    footer p {
        line-height: 20px;
        font-size: 14px;
    }
    footer .overlay-ua p {
        font-size: 14px;
    }
    footer [class*="overlay"] {
        width: calc(100% - 36px);
    }

}   

/* Phone */

@media(max-width: 767px) {

    h1 {
        font-size: 15px;
    }
    h2 {
        font-size: 15px;
    }
    p {
        font-size: 11px;
    }

    header {
        height: 50px;
        justify-content: center;
        padding: 0;
    }
    [class*="flag"] {
        width: 24px;
        height: 16px;
        background-size: cover;
    }
    .switcher {
        height: 20px;
        width: 36px;
        border-width: 2px;
        margin: 15px;
        border-radius: 16px;
    }
    .point {
        height: 16px;
        width: 16px;
    }
    .moved {
        transform: translateX(16px);
    }

    .container-0 {
        height: 226px;
    }
    .col-man {
        padding-top: 100px;
    }
    .man {
        width: calc(424px * 0.3);
        height: calc(420px * 0.3);
    }
    .col-man-text {
        width: 180px;
        margin-right: 20px;
    }
    .container-0 [class*="overlay"] {
        width: 180px;
    }
    .container-0 h1 {
        margin-bottom: 10px;
        line-height: 16px;
    }
    .container-0 p {
        line-height: 13px;
    }

    .col-woman-text {
        width: 200px;
    }
    .container-1 [class*="overlay"] {
        width: 200px;
    }
    .container-1 h1 {
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 16px;
    }
    .container-1 p {
        font-size: 10px;
        line-height: 13px;
    }
    .col-woman {
        padding-top: 100px;
    }
    .woman {
        height: calc(561px * 0.28);
        width: calc(372px * 0.28);
    }

    .container-2 {
        padding-top: 10px;
    }
    .container-2 .row:first-child {
        height: 286px;
    }
    .container-2 .row:last-child {
        margin-top: 120px;
    }
    .book {
        height: calc(536px * 0.25);
        width: calc(424px * 0.25);
    }
    .col-book-text {
        width: 200px;
    }
    .col-book-text p {
        font-size: 10px;
        line-height: 13px;
    }
    .col-book-text [class*="overlay"] {
        width: 200px;
        padding-left: 10px;
    }
    .col-btn {
        width: 120px;
        height: 40px;
        margin-top: 15px;
    }
    .col-btn a {
        width: 120px;
        height: 40px;
        line-height: 40px;
        font-size: 12px;
    }
    .col-copyrigth {
        height: 200px;
        align-items: flex-end;
    }
    .col-copyrigth h1 {
        font-size: 16px;
        margin-left: 10px;
    }
    .col-copyrigth p {
        font-size: 10px;
        margin: 10px;
    }
    
    footer {
        padding: 8px 10px;
    }
    footer p {
        line-height: 12px;
        font-size: 9px;
    }
    footer .overlay-ua p {
        font-size: 9px;
    }
    footer [class*="overlay"] {
        width: calc(100% - 20px);
    }

}