/* Általános */

body {
    background-color: #b3c1ca;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

section {
    background: #fff;
    margin: 0 auto;
    max-width: 1440px;
    width: 100%;
}

a {
    color: #2F9CCF;
}

a:hover {
    text-decoration: underline;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.wow {
    visibility: hidden;
}

#s0-logo {
    display: none;
    margin: 20px auto -50px auto;
    width: 240px;
}


/* Szekció 1 */

#s1 {
    background: #fff url('../images/01_kep.png') left top no-repeat;
    height: 959px;
}

#s1-circle {
    background: url('../images/HL_Ovalis.png') center center no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    font-size: 55px;
    height: 526px;
    justify-content: center;
    line-height: 65px;
    margin-left: 40px;
    position: relative;
    text-align: center;
    top: 80px;
    width: 526px;
}

#s1-text2 {
    color: #2ea5dd;
    font-weight: 700;
}

#s1-text3 {
    font-size: 48px;
}

#s1-content {
    background: url('../images/02_kek.png') right top no-repeat;
}

#s1-list {
    background: url('../images/03_pontok.png') right 100px top 235px no-repeat;
    font-size: 21px;
    padding: 220px 140px 0 0;
    text-align: right;
}

#s1-list > div {
    padding-bottom: 72px;
}

#s1-list > div:last-of-type {
    padding-bottom: 0;
}

#s1-list > div > span {
    display: block;
}

#s1-list > div > span > em {
    background-color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    padding: 0 6px;
}

#s1-list > div > div {
    background-color: rgba(255, 255, 255, 0.7);
    color: #35A5DE;
    display: inline-block;
    font-size: 36px;
    font-weight: 700;
    padding: 0 8px;
}

#s1-logo {
    margin-top: 70px;
    text-align: center;
}

#s1-logo img {
    max-width: 330px;
    width: 100%;
}


/* Szekció 2 */

#s2 {
    flex-direction: row-reverse;
}

#s2-title {
    background: url('../images/04_kek.png') right top no-repeat;
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    height: 782px;
    margin-top: -360px;
    padding: 360px 120px 0 0;
    text-align: right;
    width: 452px;
}

#s2-text {
    color: #2f9ccf;
    font-size: 28px;
    font-weight: 700;
    margin: 100px 0 0 80px;
    text-align: justify;
    width: 640px;
}


/* Szekció 3 */

#s3-logos {
    margin-top: -110px;
}

#s3-logos div {
    align-items: center;
    display: flex;
    margin-left: 80px;
}

#s3-logos img {
    margin: 0 60px 20px 0;
}

#s3-logos div:nth-of-type(1) img:nth-of-type(1) {
    height: 52px;
    width: 143px;
}

#s3-logos div:nth-of-type(1) img:nth-of-type(2) {
    height: 56px;
    width: 101px;
}

#s3-logos div:nth-of-type(2) img:nth-of-type(1) {
    height: 38px;
    width: 216px;
}

#s3-logos div:nth-of-type(2) img:nth-of-type(2) {
    height: 72px;
    width: 118px;
}

#s3-image {
    background: url('../images/05_kep.png') right -3px top 0 no-repeat;
    height: 982px;
    margin-top: -391px;
    max-width: 855px;
    width: 100%;
}


/* Szekció 4 */

#s4-year {
    background: url('../images/07_kek.png') left top no-repeat;
    height: 786px;
    margin-top: -540px;
    width: 454px;
}

#s4-year div {
    color: #fff;
    font-size: 90px;
    font-weight: 700;
    padding: 340px 0 0 80px;
    position: relative;
    z-index: 2;
}

#s4-year span {
    display: block;
    font-size: 30px;
}

#s4-logo {
    height: 662px;
    margin: -458px 0 0 -362px;
    width: 825px;
}

#s4-dev {
    color: #777;
    font-size: 26px;
    margin: -200px 0 0 -100px;
    padding-right: 80px;
    text-align: right;
}

#s4-dev > div > div > span {
    background-color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    font-size: 30px;
    font-weight: 700;
    padding: 0 6px;
}

#s4-dev em {
    display: block;
}

#s4-dev em span {
    background-color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    padding: 0 8px;
}

#s4-dev > div {
    clear: both;
}

#s4-dev > div:nth-of-type(1) > div > span {
    color: #fecb4d;
}

#s4-dev > div:nth-of-type(2) > div > span {
    color: #c13219;
}

#s4-dev > div:nth-of-type(3) > div > span {
    color: #a2b969;
}

#s4-dev > div:nth-of-type(4) > div > span {
    color: #3c5c85;
}

#s4-dev > div:nth-of-type(5) > div > span {
    color: #f7941f;
}

#s4-dev > div::after {
    border-bottom: 1px solid #ddd;
    content: '';
    display: block;
    float: right;
    height: 1px;
    margin: 50px 6px 30px 0;
    text-align: right;
    width: 200px;
}


/* Szekció 5 */

#s5 {
    margin-top: -700px;
    overflow: hidden;
    padding-bottom: 80px;
}

#s5 div {
    background: url('../images/08_kek.png') left top no-repeat;
    height: 632px;
    width: 1012px;
}


/* Szekció 6 */

#s6 {
    text-align: center;
}

#s6 p {
    color: #52565e;
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 60px 80px;
    text-align: left;
}

#s6 img {
    border: 2px solid #B2BFC8;
    max-width: 1151px;
    width: 100%;
}


/* Szekció 7 */

#s7 {
    background-color: #fff;
    padding: 40px 0 205px 0;
}

#s7 > div {
    display: flex;
    justify-content: center;
}

#s7 > div > div {
    font-size: 26px;
    padding: 0 10px;
}


/* Alsó rész */

footer {
    bottom: -10px;
    max-width: 397px;
    position: fixed;
    right: -11px;
    width: 100%;
}


/* Reszponzív */

@media only screen and (max-width: 1024px) {

    body {
        background-color: #fff;
    }

    #s0-logo {
        display: block;
    }

    #s1 > div,
    #s2,
    #s3,
    #s3 div,
    #s4 {
        display: block;
    }

    #s1,
    #s1-circle,
    #s1-content {
        background: none;
    }

    #s1-circle {
        background-color: #0A659C;
        font-size: 24px;
        height: 160px;
        line-height: 32px;
        margin-left: 0;
        width: 100%;
    }

    #s1-text3 {
        font-size: 24px;
    }

    #s1-list {
        background-position: right 40px top 140px;
        padding: 130px 100px 0 0;
    }

    #s1-list span {
        font-size: 24px;
    }

    #s1-list > div {
        padding-bottom: 88px;
    }

    #s1-logo {
        display: none !important;
    }

    #s2 {
        margin-top: 80px;
    }

    #s2-title {
        background-position: 0 -290px;
        font-size: 32px;
        height: 200px;
        margin-top: -100px;
        padding: 77px;
        width: 100%;
    }

    #s2-text {
        font-size: 21px;
        margin: 40px 0 0 0;
        padding: 0 20px;
        text-align: left;
        width: 100%;
    }

    #s3-logos {
        margin-top: 40px;
    }

    #s3-logos div {
        margin-left: 20px;
    }
    
    #s3-logos img {
        margin: 0 20px 10px 0;
    }

    #s3-image {
        background-position-x: 0;
        margin: -220px 0 0 0;
    }

    #s4-logo {
        display: none;
    }

    #s4-year {
        background-position: 0 -468px;
        height: 586px;
        margin-top: -630px;
        width: 100%;
    }

    #s4-year div {
        font-size: 50px;
        padding: 30px 0 0 50px;
    }
    
    #s4-year span {
        font-size: 24px;
    }

    #s4-dev {
        font-size: 22px;
        margin: -320px 0 0 0;
        padding: 40px 20px 0 20px;
    }

    #s4-dev > dev > dev {
        background-color: #fff;
    }

    #s4-dev span {
        font-size: 26px;
    }

    #s4-dev > div::after {
        margin: 20px 0;
    }

    #s5 {
        margin-top: 0;
        padding-bottom: 20px;
    }

    #s5 div {
        display: none;
    }

    #s6 p {
        font-size: 30px;
        margin: 0 0 30px 20px;
    }

    #s6 img {
        border: 0;
        border-bottom: 3px solid #B2BFC8;
    }

    #s7 {
        margin: -5px 0 -20px 0;
    }
}

@media only screen and (max-width: 768px) {

    #s1-circle {
        background-image: url('../images/mobil_fejlec.png');
        background-position: top 0 right -90px;
        background-repeat: no-repeat;
        padding-right: 20px;
        text-align: right;
    }

    #s1-list > div {
        padding-bottom: 82px;
    }

    #s1-list > div > span {
        display: block;
    }    

    #s1-list > div > div {
        font-size: 26px;
    }

    #s2 {
        margin-top: -120px;
    }

    #s4-dev > div > div > span {
        font-size: 26px;
    }

    #s4-dev em span {
        font-size: 22px;
    }

}

@media only screen and (min-width: 1300px) and (max-width: 1385px) {

    #s2-text {
        width: 540px;
    }

}

@media only screen and (min-width: 1200px) and (max-width: 1299px) {

    #s2-text {
        font-size: 24px;
        width: 480px;
    }

}

@media only screen and (min-width: 1025px) and (max-width: 1199px) {

    #s2-text {
        font-size: 21px;
        width: 320px;
    }

}

@media only screen and (min-width: 701px) and (max-width: 1024px) {

    #s4-dev {
        margin-top: -600px;
    }

}

@media only screen and (min-width: 621px) and (max-width: 700px) {

    #s4-dev {
        margin-top: -550px;
    }

}

@media only screen and (max-width: 620px) {

    #s4-dev {
        margin-top: -450px;
    }

}

@media only screen and (max-width: 520px) {

    #s4-dev > div strong  {
       display: block;
    }

    #s7 > div {
        display: block;
        text-align: center;
    }

}

@media only screen and (min-width: 460px) and (max-width: 1024px) {

    #s2-title {
        padding: 77px 0 0 265px;
        text-align: left;
    }

}

@media only screen and (min-width: 398px) and (max-width: 1024px) {

    #s3-logos {
        width: 360px;
    }

}

@media only screen and (min-width: 1025px) and (max-width: 1400px) {

    #s3-logos {
        width: 300px;
    }

}

@media only screen and (min-width: 1025px) and (max-width: 1330px) {

    #s3-logos div:nth-of-type(2) {
        display: block;
    }

}

@media only screen and (min-width: 1025px) and (max-width: 1264px) {

    #s3-logos {
        margin-top: -150px;
    }

    #s3-logos div:nth-of-type(1) {
        display: block;
    }

    #s3-logos img {
        margin-bottom: 10px;
    }

}

@media only screen and (min-width: 1252px) and (max-width: 1251px) {

    #s5 {
        margin-top: -734px;
    }

}

@media only screen and (min-width: 1252px) and (max-width: 1460px) {

    #s4-logo {
        height: 551px;
        width: 688px;    
    }

}

@media only screen and (min-width: 768px) and (max-width: 1251px) {

    #s4-logo {
        height: 441px;
        width: 550px;    
    }

}
