@font-face { 
    font-family: "KudryashevDisplaySans";
    src: url("../fonts/KudryashevHeadlineSans.ttf");
    font-style: normal;
    font-weight: 500;
}

body{
	font-family: 'Onest', sans-serif;
    padding: 0px;
    margin: 0px;
} 
body *{
    color: rgba(0,0,0,0.9);
    font-family: 'Onest', sans-serif;
}
input, textarea, button{
    font-family: 'Onest', sans-serif;
}
input, textarea, button{outline:none;}
.content{
    width: 1200px;
    margin: 0px auto;
    padding: 100px 20px;
    max-width: calc(100% - 30px);
} 
.title{  
    text-transform: uppercase;  
    font-size: 36px;   
    margin-top: 15px;
    margin-bottom: 35px; 
}
.right{
    text-align: right;
}
.center{
    text-align: center;
}
a{
    text-decoration: none;
}
.grid {
    display: grid;
    align-items: center;
    height: 100%;
} 
img{
    max-width: 100%;
}  

/* ---------------------------------- */
.top-menu {
    position: absolute;
    width: 100%;
    z-index: 3;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.4) 70% , rgba(0,0,0,0) 100%);
}
.top-menu .content{
    padding: 10px 20px;
}
.top-menu .content ul{
    padding: 0px;
    margin: 0px;
    list-style: none;
    text-align: center;
    vertical-align: middle;
    align-items: center;
}
.top-menu .content ul li{
    padding: 10px 20px;
    font-size: 19px;
    display: inline-block;
}
.top-menu .content ul li a{
    color: white;
    font-size: 22px;
}
.top-menu .content ul li a:hover{
    text-decoration: underline;
}

/* ---------------------------------- */
header{
    background-image: url('/image/mentorin_icon4.png');
    background-position: center;
    background-size: cover;
    overflow: hidden;
}
header .content{
    padding-top: 50px;
    padding-bottom: 50px;
}
header .row{
    min-height: calc(100vh - 100px);
}
header .shadow{
    background-image: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.4) 30% , rgba(0,0,0,0) 65%);
}
header p{
    margin-top: 22px;
    color: white;
    font-size: 25px;
    line-height: 1.5;
    margin-bottom: 60px;
}
header .grid{
    position: relative;
    z-index: 2;
}
header p span{
    text-align: right;
    display: block;
    margin-top: 27px;
    color: white;
}
h1{
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 75px;
    line-height: 1;
    font-family: "KudryashevDisplaySans";
    color: #7cbfe1;
    font-weight: 300;
}
header img{
    position: absolute;
    right: 0;
    top: calc(50% + 40px);
    transform: translate(0px, -50%);
    text-align: right;
    width: auto;
    max-width: none;
}
header a{
    background-color: #7cbfe1;
    color: black;
    font-size: 26px;
    padding: 15px 55px;
    border-radius: 40px;
}
header a:hover{
    background-color: #84caed; 
}
@media(max-width: 760px){
    header .content{
        padding-top: 120px;
    }

    header{
        text-align: center;
    }
    header h1{
        text-align: center;
        line-height: 1;
    }
    header p{
        margin-bottom: 30px;
        text-align: center !important;
    }
    header p span{
        text-align: center !important;
    }
    header a{
        margin: 0px auto;
        display: inline-block;
    }
    header img{
        position: relative;
        width: auto;
        max-width: 100%;
    }
}

/* ---------------------------------- */
.about-book img{
    border-radius: 20px;
}
.about-book h2{
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 65px;
    line-height: 1;
    font-family: "KudryashevDisplaySans";
    color: #7cbfe1;
    font-weight: 300;
}
.about-book p{
    margin-top: 22px;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 60px;
}
.about-book p span{
    text-align: right;
    display: block;
    margin-top: 27px;
}
.about-book a{
    background-color: #7cbfe1;
    color: white;
    font-size: 26px;
    padding: 15px 55px;
    border-radius: 40px;
}
.about-book a:hover{
    background-color: #84caed;
}
@media(max-width: 760px){
    .about-book img{
        display: none;
    }
    .bounce-2{
        margin-left: -100px !important;
    }
}

/* ---------------------------------- */
.about-writer{
    background-color: rgba(242, 242, 242, 1);
}
.about-writer img{
    border-radius: 20px;
    max-height: 450px;
}
.about-writer h2{
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 65px;
    line-height: 1;
    font-family: "KudryashevDisplaySans";
    color: #7cbfe1;
    font-weight: 300;
}
.about-writer p{
    margin-top: 22px;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 60px;
}

/* ---------------------------------- */
.buy-book form{
    border: 4px solid #7cbfe1;   
    padding: 30px 20px;
    border-radius: 10px;
}
.buy-book input{
    width: 100%;
    border: 1px solid rgba(0,0,0,0.2);
    padding: 10px 15px;
    font-size: 17px;
    border-radius: 10px;
    margin-bottom: 18px;
}
.buy-book button{
    background-color: #7cbfe1;
    color: white;
    font-size: 18px;
    padding: 15px 25px;
    border: none;
    margin-top: 10px;
    border-radius: 40px;
}
.buy-book button:hover{
    cursor: pointer;
    background-color: #84caed; 
}
.buy-book form a,
.buy-book form p{
    margin-top: 0px;
    color: rgba(0,0,0,0.5);
}
.buy-book form a{
    text-decoration: underline;
}
.buy-book h2{
    margin-top: 0px;
    margin-bottom: 25px;
    font-size: 50px;
    font-family: "KudryashevDisplaySans";
    line-height: 1;
}
.buy-book h3{
	font-family: 'Onest', sans-serif;
    font-weight: 500;
    display: inline-block;
    background-color: #7cbfe1;
    padding: 20px 30px;
    border-radius: 10px;
    font-size: 28px;
    color: white;
    border: 2px dashed white;
    margin-top: 0px;
    margin-bottom: 0px;
}
@media(max-width: 760px){
    .buy-book *{
        text-align: center;
    }
    form{
        margin-top: 30px;
    }
}

/* ---------------------------------- */
footer{
    background-color: #7cbfe1;
}
footer .content{
    padding: 40px 20px;
}
footer .underline{
    border-top: 1px solid rgba(255,255,255,0.85);
    padding-top: 25px;
    margin-top: 20px;
    color: rgba(255,255,255,0.85);
}
footer a{
    font-size: 17px;
    margin-bottom: 4px;
    display: block;
    color: rgba(255,255,255,0.85);
}
footer a:hover{
    text-decoration: underline;
}

.bounce-1 {
    align-self: flex-end;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    margin: 0 auto 0 auto;
    /* transform-origin: bottom; */
    animation-name: bounce-1;
    animation-timing-function: linear;
}
@keyframes bounce-1 {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.bounce-2 {
    align-self: flex-end;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    margin: 0 auto 0 auto;
    /* transform-origin: bottom; */
    animation-name: bounce-2;
    animation-timing-function: linear;
}
@keyframes bounce-2 {
    0%   { transform: translateY(-50%); }
    50%  { transform: translateY(calc(-50% - 10px)); }
    100% { transform: translateY(-50%); }
}
@media(max-width: 760px){
    footer, 
    footer *{
        text-align: center;
    }
}