@font-face {
    font-family: 'ZingScriptRust';
    src: url('../fonts/zingscriptrustsbdemo-base-webfont.woff2') format('woff2'),
         url('../fonts/zingscriptrustsbdemo-base-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/** Extra CSS for landing page. */

:root {
    --orange-yepso: #eba623;
    --blue-yepso: #033f66;
    --lightblue-yepso: #8cadbf;
}

#courses h1 {
    font-size: 20pt;
}

#courses li h3, #courses li h3 a {
    font-size: 12pt;
    font-family: sans-serif;
    font-weight: normal;
}

#courses li h3 b, #courses li h3 b a {
    font-weight: bold;
}

#products h3 {
    text-transform: uppercase;
    font-size: 13pt;
}

#why h3 {
    font-size: 16pt;
}

/* Header banner with map and girl */
.head-banner {
    background-color: #859aaa;

    position: relative;
}

.head-banner-content {
    padding-top: 30px;
    color: #f0bf55;
    min-height: 540px;
    z-index: 20;
}

.head-banner p {
    width: 50%;
    margin-top: 20px;
    font-weight: bold;
    font-family: "Lora", serif;
}

.head-banner #student-image {
    position: relative;
}

.head-banner #student-image img {
    margin-top: 50px;
    padding-bottom: 50px;
    width: 250px;
}

/* Girl bubble */
.head-banner #student-image p {
    color: #033F62;
    text-align: center;
    text-transform: uppercase;

    position: absolute;
    top: 40px;
    left: 130px;
    width: 114px;
    height: 140px;
    overflow: hidden;
}

@media all and (max-width: 600px) {

    .head-banner p {
        width: auto;
    }
    .head-banner #student-image {
        padding-bottom: 150px;
    }
}

@media all and (max-width: 400px) {
    .head-banner-content {
        text-align: center;
    }
    .head-banner #student-image {
        max-width: 250px;
    }
    .head-banner #student-image img {
        width: 100%;
    }
    .head-banner #student-image p {
        left: 53%;
        width: 42%;
    }
}

.landing-section {
    background-color: #033F62;
}

.landing-section h2 {
    text-align: center;
    font-size: 2em;
    font-weight: normal;
}

.landing-section h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #eba623;
}

ul.landing-items {
    display: flex;
    justify-content: space-between;
    padding: 0;
}

@media all and (max-width: 920px) {
    ul.landing-items {
        flex-flow: column;
    }
}

ul.landing-items li {
    list-style-type: none;
    text-align: center;
}

ul.landing-items li > img {
    object-fit: contain;
    height: 150px;
    padding: 25px;
}

ul.landing-items li > div {
    margin: auto;
    background-color: white;
    border: 2px solid #859aaa;
    color: #033f62;
    width: 260px;
    padding: 10px;
    min-height: 170px;
    position: relative;
    font-size: 9pt;
}

ul.landing-items li > div p {
    text-align: center;
    margin-top: 10px;
    font-family: "Lora", serif;
    font-size: 11pt;
}

ul.landing-items li > div h3 {
    color: #033f62;
    margin-top: 5px;
    margin-bottom: 5px;
}

ul.landing-items li > div img.moreinfo {
    position: absolute;
    bottom: -20px;
    right: 10px;
    height: 40px;
}

ul.landing-items li > div a:hover img.moreinfo {
    filter: brightness(80%);
    transition: all 0.1s ease-in;
}

#why {
    background-color: #033F62;
}

#why ul.landing-items li > div p {
    font-size: 14pt;
    font-family: "Lora", serif;
}

#why ul.landing-items li > div {
    display: flex;
    align-items: center;
}

#moment {
    background-color: #033F62;
}

#moment p {
    margin: auto;
    color: white;
    text-align: center;
    font-weight: normal;
    padding: 20px;
    width: 200px;
    font-family: sans-serif;
}

#moment div.triangle img {
    height: 4cm;
}

#moment div.triangle {
    display: flex;
    justify-content: center;
    align-items: center;
}

#moment .social-media img:hover {
    filter: drop-shadow(0 0 4px rgb(123,146,162));
}

#moment .social-media {
    text-align: center;
    padding-left: 0;
}

@media all and (max-width: 920px) {
    #moment div.triangle {
        flex-flow: column;
    }
}


/* purchase sections */
#question-packs h2 {
    font-family: sans-serif;
    font-size: 24pt;
    color: var(--blue-yepso);
    font-weight: bold;
    margin-bottom: 2px;
}

#question-packs h3 {
    font-family: ZingScriptRust, sans-serif;
    font-size: 36pt;
    font-weight: normal;
    /*font-style: italic;*/
    text-align: right;

    color: var(--orange-yepso);
    margin-top: 2px;

}

#question-packs .section-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

#question-packs .titles {
    grid-row: 1;
    grid-column: 1;
}

#question-packs .buy-button {
    grid-row: 1;
    grid-column: 2;

    position: relative;
    background: no-repeat 0 0 url('../exam_big_icon.png');
    background-size: auto 80%;
    min-height: 220px;
    margin-top: 20px;
    margin-left: 20px;
}

#question-packs .buy-description {
    grid-row: 2;
    grid-column: 1 / -1;
}

#question-packs .buy-description div {
    margin-top: 20px;
}

#question-packs img {
    width: 150px;
}

#question-packs .buy-description p {
    font-size: 16pt;
}


#question-packs .buy-link {
    position: absolute;
    left: 50px;
    bottom: 0px;
    background: no-repeat center url('../estrella.svg');
    background-size: 100% 100%;
    text-align: center;
    width: 100px;
    padding: 40px;
    margin-bottom: 0;
}

#question-packs .buy-link a {
    color: white;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
}

@media all and (max-width: 800px) {
    #question-packs .section-content {
        grid-template-columns: 1fr;
    }

    #question-packs .titles {
        grid-row: 1;
        grid-column: auto;
    }

    #question-packs .buy-button {
        grid-row: 2;
        grid-column: auto;
        background-position: center;
        margin: 0;
        min-height: 250px;
    }

    #question-packs .buy-link {
        left: auto;
        right: 30%;
    }

    #question-packs .buy-description {
        grid-row: 3;
        grid-column: auto;
    }
}

/* STUDENT RESOURCES */

#student-resources h2 {
    color: var(--orange-yepso);
    font-family: sans-serif;
    font-size: 24pt;
    font-weight: bold;
    text-align: center;
}

#student-resources .student-resources-list {
    display: flex;
    justify-content: center;
}

#student-resources .student-resource {
    padding: 20px;
}

#student-resources .student-resource img {
    width: 300px;
    transition: all 0.1s ease-in;
}
#student-resources .student-resource img:hover {
    filter: drop-shadow(0 0 10px rgb(46, 51, 97));
    transition: all 0.1s ease-in;
}

#student-resources h3, #student-resources h3 a {
    color: var(--blue-yepso);
    font-family: sans-serif;
    font-size: 16pt;
    font-weight: bold;
    text-align: center;
}

#student-resources p {
    color: var(--lightblue-yepso);
    text-align: center;
}

@media all and (max-width: 600px) {
    #student-resources .student-resources-list {
        flex-direction: column;
    }
}

#tgs {
    background-color: var(--blue-yepso);

    h2 {
        font-size: 32pt;
        font-weight: bold;
        text-align: center;
    }

    h3 {
        font-size: 22pt;
        text-align: center;
        color: var(--orange-yepso);
    }

    p {
        font-size: 16pt;
        color: white;
        text-align: center;

        a.button {
            background-color: var(--orange-yepso);
            color: white;
            padding: 10px;
            border-radius: 3px;
            text-decoration: none;
            cursor: pointer;


            &:hover {
                filter: drop-shadow(0 0 4px var(--orange-yepso));
                transition: filter 0.2s ease-in;
            }
        }
    }
}