/* === First Image === */
article:nth-child(1){
    height: 48.5vw;
    background-image: url(../images/kings-college-cambridge.jpeg);
	background-repeat: no-repeat;
	background-size: 100vw;
}

article:nth-child(1) h1{
    display: block;
    width: 70vw;
    position: relative;
    top: 11vw;
    left: 15vw;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 4.5vw;
    font-weight: 400;
}

h1#homepage-welcome, li.homepage-stat{
    color: #F0F0F0;
}

article:nth-child(1) ul{
    display: block;
    list-style: none;
    width: 100vw;
    padding: 0;
    margin: 0;
    position: relative;
    top: 30vw;
}

li.homepage-stat{
    display: inline-block;
    width: 33.33vw;
    text-align: center;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

li.homepage-stat div{
    display: block;
}

li.homepage-stat div:nth-child(1){
    font-size: 4vw;
    font-weight: 700;
}

li.homepage-stat div:nth-child(2){
    font-size: 1.8vw;
}

article:nth-child(1) div.grey-button{
    border: 0.2vw #ACBBC6 solid;
    border-radius: 1.8vw;
    cursor: pointer;
    font-size: 0;
    height: 3.2vw;
    left: 39.8vw;
    margin: 0;
    padding: 0;
    position: relative;
    top: 21.5vw;
    transition: border 1s, box-shadow 1s;
    width: 20vw;
}

article:nth-child(1) div.grey-button:hover{
    border: 0.2vw #039BE5 solid;
    box-shadow: 0 0 1vw 0.5vw rgba(51, 51, 51, 0.3);
}

article:nth-child(1) div.grey-button a{
    background-color: #ACBBC6;
    border-radius: 1.5vw;
    color: #F0F0F0;
    display: block;
    font-size: 1.5vw;
    height: 3vw;
    line-height: 3vw;
    margin: 0.1vw 0.1vw 0.1vw 0.1vw;
    padding: 0 0 0 0;
    text-align: center;
    text-decoration: none;
    transition: background-color 1s;
    vertical-align: middle;
    width: 19.8vw;
}

article:nth-child(1) div.grey-button a:hover{
    background-color: #039BE5;
}

@media only screen and (max-device-width: 480px){
    /* === First Image === */
    article:nth-child(1){
        height: 129.583vw;
        background-image: url(../images/kings-college-cambridge-mobile.jpeg);
    }

    article:nth-child(1) h1{
        width: 100vw;
        left: 0;
        font-size: 12vw;
    }

    article:nth-child(1) div.grey-button{
        top: 25vw;
        left: 9.2vw;
    }

    article:nth-child(1) ul{
        top: 36vw;
    }

    li.homepage-stat{
        display: block;
        width: 100vw;
        margin: 4vw 0 4vw 0;
    }

    li.homepage-stat div{
        display: inline-block;
        line-height: 9vw;
        vertical-align: middle;
    }

    li.homepage-stat div:nth-child(1){
        font-size: 9vw;
        font-weight: 700;
        text-align: right;
        width: 45vw;
        margin: 0 5vw 0 0;
    }

    li.homepage-stat div:nth-child(2){
        font-size: 5vw;
        text-align: left;
        width: 45vw;
        margin: 0 0 0 5vw;
    }

    article:nth-child(1) div.grey-button{
        height: 12.8vw;
        width: 80vw;
        border-radius: 7.2vw;
        border: 0.8vw #ACBBC6 solid;
    }

    article:nth-child(1) div.grey-button a{
        display: block;
        height: 12vw;
        width: 79.2vw;
        border-radius: 6vw;
        margin: 0.4vw 0.4vw 0.4vw 0.4vw;
        line-height: 12vw;
        font-size: 6vw;
    }
}

/* === Briefly about tutors === */
article:nth-child(2){
    background-color: #F0F0F0;
    height: 40vw;
    overflow: hidden;
    position: relative;
}

article:nth-child(2) h2, article:nth-child(2) p, article:nth-child(2) img, article:nth-child(2) ul{
    position: absolute;
}

article:nth-child(2) h2{
    font-size: 3.9vw;
    font-weight: 350;
    left: 12vw;
    margin: 0 0 0 0;
    top: 2.5vw;
    width: 32vw;
}

article:nth-child(2) p:nth-child(2){
    left: 68vw;
    top: 3vw;
}

article:nth-child(2) p:nth-child(2) span{
    display: block;
    text-align: center;
    width: 16.8vw;
}

article:nth-child(2) p:nth-child(2) span:nth-child(1){
    font-size: 7vw;
    line-height: 7vw;
}

article:nth-child(2) p:nth-child(2) span:nth-child(2){
    font-size: 2.5vw;
    line-height: 2.5vw;
}

article:nth-child(2) ul{
    list-style: none;
    margin: 0;
    padding: 0;
    left: 13vw;
    top: 15vw;
}

article:nth-child(2) ul li{
    position: absolute;
    background-repeat: no-repeat;
	background-size: 2vw;
    background-position: left center;
    height: 4vw;
    padding: 0 0 0 3vw;
    font-size: 1.5vw;
}

article:nth-child(2) ul li:nth-child(1){
    background-image: url(../images/mortar-board-icon.png);
    left: 0;
    width: 27vw;
}

article:nth-child(2) ul li:nth-child(2){
    background-image: url(../images/friendly-face-icon.png);
    left: 32vw;
    width: 27vw;
}

article:nth-child(2) ul li:nth-child(3){
    background-image: url(../images/clipboard-icon.png);
    left: 0;
    top: 8.5vw;
    width: 25vw;
}

article:nth-child(2) ul li:nth-child(4){
    background-image: url(../images/clock-icon.png);
    left: 32vw;
    top: 8.5vw;
    width: 20vw;
}

article:nth-child(2) p:nth-child(4){
    left: 12vw;
    top: 32vw;
    font-size: 3vw;
    margin: 0;
}

article:nth-child(2) img{
    width: 32vw;
    left: 67vw;
    top: 5vw;
}

@media only screen and (max-device-width: 480px){
    /* === Briefly about tutors === */
    article:nth-child(2){
        height: 115vw;
    }

    article:nth-child(2) h2{
        left: 5vw;
        top: 5vw;
        font-size: 9vw;
        width: 90vw;
        text-align: center;
    }

    article:nth-child(2) p:nth-child(2){
        left: 50vw;
        top: 60vw;
    }

    article:nth-child(2) p:nth-child(2) span{
        display: block;
        text-align: center;
        width: 40vw;
    }

    article:nth-child(2) p:nth-child(2) span:nth-child(1){
        font-size: 13vw;
        line-height: 9vw;
    }

    article:nth-child(2) p:nth-child(2) span:nth-child(2){
        font-size: 5vw;
        line-height: 5vw;
    }

    article:nth-child(2) ul{
        left: 3vw;
        top: 30vw;
    }

    article:nth-child(2) ul li{
    	background-size: 6vw;
        background-position: left top;
        padding: 0 0 0 8vw;
        font-size: 3.5vw;
    }

    article:nth-child(2) ul li:nth-child(1){
        left: 0;
        top: 0;
        width: 37vw;
        height: 18vw;
    }

    article:nth-child(2) ul li:nth-child(2){
        left: 49vw;
        top: 0;
        width: 39vw;
        height: 18vw;
    }

    article:nth-child(2) ul li:nth-child(3){
        left: 0;
        top: 23vw;
        width: 38vw;
        height: 13.5vw;
    }

    article:nth-child(2) ul li:nth-child(4){
        left: 0;
        top: 41.5vw;
        width: 37vw;
        height: 13.5vw;
    }

    article:nth-child(2) p:nth-child(4){
        left: 5vw;
        top: 95vw;
        font-size: 6vw;
    }

    article:nth-child(2) img{
        width: 45vw;
        left: 60vw;
        top: 60vw;
    }
}

/* === Why Online Tuition === */
article:nth-child(3){
    background-color: #0F1425;
    height: 56vw;
    padding: 7vw 0 0 0;
    position: relative;
}

article:nth-child(3) h2{
    font-size: 4vw;
    font-weight: 350;
    position: absolute;
    left: 42vw;
    top: 9vw;
    margin: 0;
    padding: 0;
}

article:nth-child(3) p{
    font-size: 1.5vw;
    font-weight: 350;
    line-height: 2.5vw;
    width: 56vw;
    position: absolute;
    left: 37vw;
    top: 17vw;
    margin: 0;
    padding: 0;
}

article:nth-child(3) img{
    width: 30vw;
    position: absolute;
    left: 0vw;
    top: 7vw;
    border-top-right-radius: 0.3vw;
    border-bottom-right-radius: 0.3vw;
}

article:nth-child(3) ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

article:nth-child(3) ul li{
    display: inline-block;
    margin: 0;
    padding: 0;
    border-radius: 0.3vw;
    position: absolute;
    top: 32vw;
    width: 28vw;
    height: 18vw;
    background-repeat: no-repeat;
	background-size: 4vw;
    background-position: 2vw 3vw;
    background-color: #F0F0F0;
}

article:nth-child(3) ul li:nth-child(1){
    left: 5vw;
    background-image: url(../images/thumbs-up-icon.png);
}

article:nth-child(3) ul li:nth-child(2){
    left: 36vw;
    background-image: url(../images/choice-icon.png);
}

article:nth-child(3) ul li:nth-child(3){
    left: 67vw;
    background-image: url(../images/safe-icon.png);
}

article:nth-child(3) ul li span:nth-child(1){
    position: absolute;
    top: 4vw;
    left: 8vw;
    font-size: 2vw;
}

article:nth-child(3) ul li span:nth-child(2){
    position: absolute;
    top: 12vw;
    left: 1.75vw;
    width: 24.5vw;
    font-size: 1.5vw;
}

article:nth-child(3) a{
    position: absolute;
    top: 54vw;
    left: 41.4vw;
}

@media only screen and (max-device-width: 480px){
    /* === Why Online Tuition === */
    article:nth-child(3){
        height: 180vw;
    }

    article:nth-child(3) h2{
        font-size: 9vw;
        width: 55vw;
        left: 45vw;
        top: 15vw;
        text-align: center;
    }

    article:nth-child(3) p{
        font-size: 3.7vw;
        line-height: 6.5vw;
        width: 90vw;
        left: 5vw;
        top: 45vw;
    }

    article:nth-child(3) img{
        width: 45vw;
        position: absolute;
        left: 0vw;
        top: 9vw;
        border-top-right-radius: 0.45vw;
        border-bottom-right-radius: 0.45vw;
    }

    article:nth-child(3) ul li{
        display: block;
        border-radius: 1.2vw;
        width: 90vw;
        height: 23vw;
    	background-size: 6vw;
        background-position: 7vw center;
    }

    article:nth-child(3) ul li:nth-child(1){
        top: 84vw;
        left: 5vw;
    }

    article:nth-child(3) ul li:nth-child(2){
        top: 110vw;
        left: 5vw;
    }

    article:nth-child(3) ul li:nth-child(3){
        top: 136vw;
        left: 5vw;
    }

    article:nth-child(3) ul li span:nth-child(1){
        top: 2vw;
        left: 20vw;
        font-size: 5.2vw;
    }

    article:nth-child(3) ul li span:nth-child(2){
        top: 10vw;
        left: 20vw;
        width: 63vw;
        font-size: 3.9vw;
    }

    article:nth-child(3) a{
        top: 166vw;
        left: 14.585vw;
    }
}

/* === 5 Star Reviews === */
article:nth-child(4){
    background-color: #F0F0F0;
    padding: 5vw 0 2vw 0;
}

article:nth-child(4) h2{
    font-size: 4vw;
    font-weight: 350;
    margin: 0 0 1vw 0;
    text-align: center;
    width: 100vw;
}

article:nth-child(4) p{
    font-size: 2vw;
    width: 100vw;
    text-align: center;
    margin: 0;
}

article:nth-child(4) ul{
    list-style: none;
    padding: 5vw 10vw 5vw 10vw;
    margin: 0;
}

article:nth-child(4) ul li{
    display: inline-block;
    width: 20vw;
    height: 30vw;
    margin: 0 3vw 0 3vw;
    border-radius: 0.3vw;
}

article:nth-child(4) ul li:nth-child(1){
    background-color: #374255;
}

article:nth-child(4) ul li:nth-child(2){
    background-color: #ACBBC6;
}

article:nth-child(4) ul li:nth-child(3){
    background-color: #0F1425;
}

article:nth-child(4) ul li span:nth-child(1), article:nth-child(4) ul li span:nth-child(4){
    display: block;
}

article:nth-child(4) ul li span:nth-child(2), article:nth-child(4) ul li span:nth-child(3){
    display: inline-block;
}

article:nth-child(4) ul li span img:nth-child(1){
    display: inline-block;
    width: 1.5vw;
    margin: 2vw 0.3vw 1vw 5.05vw;
}

article:nth-child(4) ul li span img:nth-child(2), article:nth-child(4) ul li span img:nth-child(3), article:nth-child(4) ul li span img:nth-child(4), article:nth-child(4) ul li span img:nth-child(5){
    display: inline-block;
    width: 1.5vw;
    margin: 2vw 0.3vw 1vw 0.3vw;
    padding: 0;
}

article:nth-child(4) ul li span:nth-child(2){
    font-size: 5vw;
    margin: 0vw 0.3vw 0 1.5vw;
}

article:nth-child(4) ul li span:nth-child(3){
    font-size: 1.2vw;
    width: 14.7vw;
    height: 19.5vw;
    margin: 1.2vw 0 0 0;
    vertical-align: top;
}

article:nth-child(4) ul li span:nth-child(4){
    font-size: 1.2vw;
    width: 16vw;
    margin: 1.5vw 2vw 0 2vw;
    text-align: right;
    font-style: italic;
}

@media only screen and (max-device-width: 480px){
    /* === 5 Star Reviews === */
    article:nth-child(4){
        padding: 7vw 0 4vw 0;
    }

    article:nth-child(4) h2{
        font-size: 9vw;
        margin: 0 0 1vw 0;
    }

    article:nth-child(4) p{
        font-size: 5vw;
    }

    article:nth-child(4) ul{
        padding: 7vw 3vw 7vw 3vw;
    }

    article:nth-child(4) ul li{
        width: 43vw;
        height: 99.5vw;
        margin: 0 2vw 0 2vw;
        border-radius: 1.2vw;
    }

    article:nth-child(4) ul li:nth-child(3){
        display: none;
    }

    article:nth-child(4) ul li span img:nth-child(1){
        width: 4vw;
        margin: 4vw 0.8vw 3vw 8.3vw;
    }

    article:nth-child(4) ul li span img:nth-child(2), article:nth-child(4) ul li span img:nth-child(3), article:nth-child(4) ul li span img:nth-child(4), article:nth-child(4) ul li span img:nth-child(5){
        width: 4vw;
        margin: 4vw 0.8vw 3vw 0.8vw;
    }

    article:nth-child(4) ul li span:nth-child(2){
        font-size: 8vw;
        margin: 0vw 0.5vw 0 1vw;
    }

    article:nth-child(4) ul li span:nth-child(3){
        font-size: 3.5vw;
        width: 36.57vw;
        height: 74.5vw;
        margin: 1vw 0 0 0;
    }

    article:nth-child(4) ul li span:nth-child(4){
        font-size: 3.5vw;
        width: 39vw;
        margin: 1.5vw 2vw 0 2vw;
    }
}

/* === Making the Most of Your Tuition === */
article:nth-child(5){
    background-color: #0F1425;
    padding: 5vw 20vw 7vw 20vw;
}

article:nth-child(5) h2{
    font-size: 4vw;
    font-weight: 350;
    text-align: center;
}

article:nth-child(5) ul{
    list-style: disc;
}

article:nth-child(5) ul li{
    font-size: 1.5vw;
    margin: 1.8vw 0 1.8vw 0;
}

article:nth-child(5) a{
    margin: 5vw 21.4vw 0 21.4vw;
}

@media only screen and (max-device-width: 480px){
    /* === Making the Most of Your Tuition === */
    article:nth-child(5){
        padding: 5vw 5vw 12vw 5vw;
    }

    article:nth-child(5) h2{
        font-size: 9vw;
    }

    article:nth-child(5) ul li{
        font-size: 3.9vw;
        margin: 6vw 0 6vw 0;
    }

    article:nth-child(5) a{
        margin: 8vw 9.585vw 0 9.585vw;
    }
}

/* === FAQs Section === */
article:nth-child(6){
    background-color: #ACBBC6;
    padding: 7vw 15vw 10vw 15vw;
}

article:nth-child(6) h2{
    font-size: 4vw;
    font-weight: 350;
    margin: 1vw 0 7vw 0;
    text-align: center;
}

article:nth-child(6) ul{
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0;
}

article:nth-child(6) ul span{
    display: block;
    font-size: 0;
}

article:nth-child(6) ul span:nth-child(2n+1){
    height: 3.8vw;
    line-height: 3.8vw;
    margin: 0 0 0 0;
}

article:nth-child(6) ul span:nth-child(2n+1):hover{
    cursor: pointer;
}

article:nth-child(6) ul li{
    display: inline-block;
    vertical-align: middle;
}

article:nth-child(6) ul span:nth-child(2n+1) li:nth-child(1){
    width: 2vw;
    margin: 0 1.5vw 0 0;
    font-size: 3vw;
    font-weight: 700;
    position: relative;
    top: -0.3vw;
    text-align: center;
}

article:nth-child(6) ul span:nth-child(2n+1) li:nth-child(2){
    margin: 0 0 0 0;
    font-size: 1.5vw;
    font-weight: 350;
}

article:nth-child(6) ul span:nth-child(2n) li{
    width: 70vw;
    height: 0;
    line-height: 2.5vw;
    font-size: 1.5vw;
    border-top: 0.1vw #0F1425 solid;
    border-bottom: 0 #0F1425 solid;
    overflow: hidden;
    transition: border-bottom 0.8s, height 0.8s;
}

article:nth-child(6) ul span:nth-child(2n) li.visible{
    border-bottom: 0.1vw #0F1425 solid;
}

article:nth-child(6) ul span:nth-child(2n) li#answer1.visible{
    height: 13vw;
}

article:nth-child(6) ul span:nth-child(2n) li#answer2.visible{
    height: 8vw;
}

article:nth-child(6) ul span:nth-child(2n) li#answer3.visible{
    height: 10.5vw;
}

article:nth-child(6) ul span:nth-child(2n) li#answer4.visible{
    height: 8vw;
}

article:nth-child(6) ul span:nth-child(2n) li#answer5.visible{
    height: 5.5vw;
}

article:nth-child(6) ul span:nth-child(2n) li#answer6.visible{
    height: 5.5vw;
}

article:nth-child(6) ul span:nth-child(2n) li#answer7.visible{
    height: 8vw;
}

@media only screen and (max-device-width: 480px){
    /* === FAQs Section === */
    article:nth-child(6){
        padding: 7vw 5vw 12vw 5vw;
    }

    article:nth-child(6) h2{
        font-size: 9vw;
        margin: 1vw 0 7vw 0;
    }

    article:nth-child(6) ul span:nth-child(2n+1){
        height: 9.9vw;
        line-height: 9.9vw;
    }

    article:nth-child(6) ul span:nth-child(5), article:nth-child(6) ul span:nth-child(9), article:nth-child(6) ul span:nth-child(13){
        height: 13vw;
        line-height: 6.5vw;
        margin: 1.65vw 0 1.65vw 0;
    }

    article:nth-child(6) ul span:nth-child(2n+1) li:nth-child(1){
        font-size: 7.2vw;
        margin: 0 3vw 0 0;
        top: -0.72vw;
        width: 5.2vw;
    }

    article:nth-child(6) ul span:nth-child(2n+1) li:nth-child(2){
        font-size: 3.9vw;
        width: 81.8vw;
    }

    article:nth-child(6) ul span:nth-child(2n) li{
        width: 90vw;
        line-height: 6.5vw;
        font-size: 3.9vw;
        border-top: 0.3vw #0F1425 solid;
    }

    article:nth-child(6) ul span:nth-child(2n) li.visible{
        border-bottom: 0.3vw #0F1425 solid;
    }

    article:nth-child(6) ul span:nth-child(2n) li#answer1.visible{
        height: 65vw;
    }

    article:nth-child(6) ul span:nth-child(2n) li#answer2.visible{
        height: 39vw;
    }

    article:nth-child(6) ul span:nth-child(2n) li#answer3.visible{
        height: 52vw;
    }

    article:nth-child(6) ul span:nth-child(2n) li#answer4.visible{
        height: 45.5vw;
    }

    article:nth-child(6) ul span:nth-child(2n) li#answer5.visible{
        height: 19.5vw;
    }

    article:nth-child(6) ul span:nth-child(2n) li#answer6.visible{
        height: 19.5vw;
    }

    article:nth-child(6) ul span:nth-child(2n) li#answer7.visible{
        height: 39vw;
    }
}
