/* ***************** */
/* Title-page styles */
/* ***************** */

html, body {
    background-color: #479aee;
    background: url('/ui/main/intro_page_back.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
    font-family: 'PT Sans', sans-serif;
    font-weight: 200;
    height: 100vh;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: auto;
}

a {
    text-decoration: none;
}

.full-height {
    height: 100vh;
}

.flex-center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.position-ref {
    position: relative;
}

.top-right {
    position: absolute;
    right: 10px;
    top: 18px;
}

.content {
    text-align: center;
    width: 80%;
}

.title {
    font-family: 'PT Sans', sans-serif;
    font-size: 7.5vw;
    font-weight: bold;
    color: white;
    text-align: left;
}

.links > a {
    color: #636b6f;
    padding: 0 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.textbook-card {
    margin: 0;
    padding: 0;
    color: white;
    cursor: pointer;
    display: block;

    transition: 0.2s linear;
    opacity: 80%;
    -moz-opacity: 0.8;
    -webkit-opacity: 0.8;
    position: relative;
}

.textbook-card a {
    /*width: 400px;*/
}

.textbook-card img {
    width: 100%;
    max-width: 495px;
    position: relative;
    /*display: block;*/
}

.textbook-card:hover {
    color: white;
    text-decoration: none;
    transform: scale(1.06, 1.06);
    opacity: 100%;
    -moz-opacity: 1;
    -webkit-opacity: 1;
}

.textbook-disabled {
    color: white;
    cursor: default;
    filter: grayscale(50%);
    -webkit-filter: grayscale(50%);
}

.textbook-card h2 {
    font-family: 'PT Sans', sans-serif;
    font-size: 57.6px;
    line-height: 57.6px;
    /*font-size: 4vw;*/
    /*line-height: 4vw;*/
    font-weight: bold;

    width: 61px;
    height: 61px;
    position: absolute;
    top: 18px;
    left: 18px;
    /*top: 4%;*/
    /*left: 10%;*/
    padding-top: 1.5%;
    border-radius: 50%;
    background-color: #7a9be7;
}

.textbook-card h3 {
    font-family: 'PT Sans', sans-serif;
    font-size: 31px;
    line-height: 31px;
    font-weight: 600;
    text-transform: uppercase;

    position: absolute;
    top: 32px;
    right: 18px;
    text-align: right;
}

.icons {
    margin-right: 0.5vw;
    width: 3.5vw;
    height: 3.5vw;
    float: left;
}

.lock {
    background: url('/ui/main/intro_page_lock.png') no-repeat;
    background-size: contain;
    width: 30%;
    height: 30%;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 60%;
    left: 50%;
}

.book-info {
    text-align: left;
    margin: 1vw 0 0 0;
}

.book-author {
    font-family: 'PT Serif', sans-serif;
    font-size: 1.25vw;
    color: #abc4ff;
    opacity: 76%;
    -moz-opacity: 0.76;
    -webkit-opacity: 0.76;
    margin: 0;
}

.book-title {
    font-family: 'PT Serif', sans-serif;
    font-size: 1.25vw;
    font-weight: 600;
    color: #abc4ff;
    opacity: 76%;
    -moz-opacity: 0.76;
    -webkit-opacity: 0.76;
    margin: 0;
}

footer img {
    width: 12.5vw;
    margin: 10px 0 20px 0;
}

@media (max-height: 1020px) {
    .full-height {
        height: auto;
    }
}

@media (max-width: 1440px) {
    .textbook-card h2 {
        font-size: 4vw;
        line-height: 4vw;

        width: 4.25vw;
        height: 4.25vw;
        top: 4%;
        left: 5%;
    }

    .textbook-card h3 {
        font-size: 2.25vw;
        top: 7%;
        right: 5%;
    }
}

@media (max-width: 1200px) {
    .textbook-card h3 {
        top: 7%;
        /*right: 2.5vw;*/
    }
}

@media (max-width: 992px) {
    .textbook-card h2 {
        /*font-size: 3.9vw;*/
        /*line-height: 3.9vw;*/

        /*width: 4.25vw;*/
        /*height: 4.25vw;*/
        /*top: 4%;*/
        /*left: 10%;*/
    }

    .textbook-card h3 {
        top: 5.5%;
        /*right: 2.5vw;*/
    }
}
