@import url(reset.css);


html {
    font-family: 'Lato', sans-serif, Arial, Helvetica, sans-serif;
    font-size: 62.5%;
    font-size: 50%;
    line-height: 1.6rem;
}

* {
    box-sizing: border-box;
}

p { 
    font-size: 2.8rem; 
    margin: 0.6rem 0rem;
}

h1 {
    font-size: 4rem;
}

h2 { 
    font-size: 3.2rem;
    margin-top: 7rem;
    font-weight: 700;
}

h3 {
    font-size: 2.6rem;
}

a {
    font-size: 1.6rem; 
    outline: none;
    color: #000000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header { 
    font-size: 1.6rem; 
}

.skip {
    display: block;
    color: white;
    text-align: right;
    text-decoration: none;
    margin-right: 3%;
    font-size: 2.8rem;
}

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1140px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.overlay h1, .overlay h2 {
    color: white;
    font-weight: normal;
}

.overlay h1 {
    padding: 15rem 0 2rem 0;
}

.overlay h2 {
    margin-top: 0;
    padding-top: 7rem;
}

@media (max-width: 992px) {
    .container {
        width: 100%;
    }
}

section.main .container {
    flex-direction: column;
    margin-bottom: 80px;
}

section.main article {
    width: 40%;
}

section.plan article {
    width: 40%;
    height: 90%;
    margin: 0 auto;
}

.menu-bar { 
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem 0 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.menu-bar--only-right { 
    justify-content: flex-end;
}

.menu-bar span {
    padding: 0 1rem;
}

.main-bar { 
    font-size: 3.2rem; 
    background-color: #16baff;
    color: #ffffff;
    padding: 2rem;
    margin: 1.5rem 0;
}

.main-bar-home { 
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    color: black;
    padding: 2rem;
    margin: 1.5rem 0;
}

.main-bar-home h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.home-header {
    display: inline-block;
    padding: 10px 10% 10px 0;
    font-size: 2.7rem;
    font-weight: bold;
    border-bottom: 1px solid black;
    text-align: left;
    margin-top: 40px;
}

.home-header::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    background-color: #16baff;
}

.home-header--no-icon::before {
    content: unset;
}

.home-squares {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 60%;
    margin: 60px auto;
}   

.home-main-text2 {
    margin: 100px 0 0 100px;
}

.home-main-text3 {
    margin-top: 120px;
    margin-left: 60px;
}

.home-main-text4 {
    margin: 0 auto;
    text-align: left;
    margin-bottom: 60px;
}

a.pj{
    font-size: 2rem;
    outline: none;
    color: #03c4ff;
    text-decoration: underline
}


.description {
    font-size: 2.5rem;
    line-height: 3.2rem;
    word-wrap: break-word;
}

.pakiet {
    position: relative;
    display: flex;
    justify-content: left;
    align-items: left;
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
}

.complex {
    font-size: 3.2rem; 
    background-color: #16baff;
    color: #ffffff;
    padding: 2rem;
    margin: 1.5rem 0;
    width: 450px;
    text-align: center;
}

.complex h2 {
    margin: 1rem 0;
    line-height: 4rem;
}


button, .button {
    display: block;
    width: fit-content;
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding: 14px 50px;
    background-color: #63ae25;
    border: none;
    font-size: 2.6rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    cursor: pointer;
}

div.button-full-access {
    width: 40%;
    display: block;
    margin-top: 8rem;
    margin-bottom: 5rem;
    padding: 30px 50px;
    background-color: #63ae25;
    border: none;
    font-size: 2.6rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase; 
}

button:hover, a.button:hover {
    background-color: #6dc227;
    text-decoration: none;
    box-shadow: 0 0 5px 3px #ccc;
}

.plan-btn {
    text-align: center;
    line-height: 4rem;
    width: 350px;
    height: 150px;
    border: 1px solid black;
}

.plan-btn:hover {
    text-decoration: none;
}

.materials-btn {
    background-color: #1ec789;
}

.study-btn {
    background-color: #16baff;
}

.home-btns {
    display: flex;
    justify-content: space-between;
    width: 60%;
    margin: 0 auto;
}

.materials-btn:hover {
    background-color: #14de94;
}

.study-btn:hover {
    background-color: #03c4ff;
}

.access-btn {
    margin: 0 auto;
}

article.video {
    text-align: left;
}

.video h2{
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    margin: 3rem 0 1rem 0;
    padding-bottom: 56.25%; 
    height: 0;
}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

section.info {
    border-top: 1px solid #999999;
}

.info article {
    flex-basis: 70%;
    text-align: left;
}

.info aside {
    flex-basis: 30%;
    margin: 8rem 0 0 0;
}

.buy-box {
    width: 250px;
    height: 330px;
    padding: 2rem 0;
    font-size: 2.8rem;
    font-weight: 700;
    border: 2px solid black;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.extra-buy-box {
    margin: 4rem auto;
}

.extra-buy-box-pakiet {
    display: flex;
    justify-content: center;
    width: 65%;
    margin: 0 auto;
}

.buy-box:hover {
    box-shadow: 0 0 5px 3px #ccc;
}

.buy-btn {
    width: fit-content;
    margin: 0 0 2rem 0;
    padding: 14px 20px;
    font-size: 1.8rem;
}

.access {
    width: 100px;
    text-align: center;
    line-height: 6rem;
    font-weight: 700;
    font-size: 2.6rem;
    border-bottom: 1px solid #000000;
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75px;
    padding: 10px 0;
    font-weight: normal;
    font-size: 2.6rem;
    text-align: center;
}

.price--bigger {
    font-size: 2.8rem;
}

.price--details {
    flex-basis: 100%;
    padding: 14px 0;
}

.price:last-of-type {
    width: 100px;
    border-top: 1px solid #000000;
}

.resources{
    margin-top: 5rem;
}

.container .resources .row{
    flex-direction: column;
}

.pakiet .resources {
    margin-top: 2rem;
}

.resources h3 {
    display: flex;
    align-items: left;
    font-weight: 700;
}

.pakiet .resources h3 {
    font-size: 2.6rem;
    margin-left: 2rem;
    margin-top: 1rem;
    text-align: left;
    margin-right: 0;
    flex-basis: 40%;
}

.download-btn {
    margin: 20px 30px 0px 0;
    padding: 15px 25px;
    font-size: 1.8rem;
    width: 180px;
}

.download-btns {
    display: flex;
    justify-content: space-between;
}

.diffrent-btn {
    padding: 25px 25px;
    font-size: 1.8rem;
    width: 180px;
    margin-top: 0;
}

.diffrent-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 600px;
}

.row {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-bottom: 3rem;
}

.container .row {
    align-items: flex-start;
}

.pakiet .row {
    margin-top: 1rem;
    margin-bottom: 0rem;
    width: 100%;
    justify-content: space-between;
}

.pakiet .description {
    margin-top: 1rem;
    display: block;
    width: 800px;
}

.fa fa-square {
    color: blue;   
}

 /*** FORMS ***/

 section.forms .container {
    align-items: flex-start;
 }

 .form {
     width: 50%;
     padding: 0 18rem;
 }

 .form h2 {
     margin-bottom: 2rem;
 }

 .form-register {
    border-left: 1px solid #333333;
 }

input[type=text], input[type=password] {
    box-sizing: border-box;
    width: 100%;
    margin: 8px 0;
    padding: 12px 20px;
    border: 1px solid #333333;
    font-size: 1.6rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
}

.checkbox-label--small {
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 1rem;
    margin-top: 2rem;
    text-align: left; 
}

.checkbox-label input {
    margin-right: 1rem;
}

.checkbox-label span {
    font-size: 2rem;
}

.form-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.submit-btn {
    padding: 14px 40px;
    background-color: #ffffff;
    border: 1px solid #333333;
    font-size: 2rem;
    color: #000000;  
}

.basic-box {
    box-sizing: border-box;
    margin: 12px 0;
    padding: 18px 20px;
    border: 1px solid #333333;
    font-size: 2.6rem;
}

.plan {
    margin-top: -12px;
}

.plan .container {
    flex-direction: column;
    padding-top: 4rem;
}

.plan .row {
    width: 80%;
    justify-content: space-between;
}

.summary .container {
    flex-direction: column;
    margin-top: 8rem;   
}

.summary-content {
    width: 30%;
}

.summary-content h3 {
    margin: 2rem 0 3rem 0
}

.submit-btn:hover {
    background-color: #eeeeee;
}

footer {
    margin-top: 20rem;
    border-top: 1px solid #999999;
}

footer p { 
    font-size: 2.5rem;
    text-align: right;
    padding: 2rem;
}

@media (max-width: 992px) {
    .container {
        flex-direction: column;
        width: 100%;
    }

    section.main article {
        width: 100%;
    }

    section.plan article {
        width: 90%;
    }

    .form {
        width: 100%;
        padding: 0;
    }

    .form-register {
        border: none;
    }

    .summary-content {
        width: 100%;
    }

    .resources .row {
        flex-direction: column;
        text-align: center;
    }

    .home-squares {
        flex-direction: column;
    }
    
    .home-main-text2 {
        margin-left: 0;
    }

    .home-main-text3 {
        margin-left: 0;
    }

    .home-main-text4 {
        width: 60%;
    }

    .home-btns {
        flex-direction: column;
        width: fit-content;
    }

    div.button-full-access {
        width: 90%;
    }

    .home-header {
        width: 100%;
        margin-bottom: 30px;
    }

    article.resources {
        width: 65%;
        margin: 0 auto;
    }

    .pakiet .description {
        width: fit-content;
    }

    .pakiet .row {
        margin: 0 auto;
    }

    .complex {
        width: 95%;
    }

    .container .home-header {
        width: fit-content;
    }

    .download-btns {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .diffrent-btns {
        flex-direction: column;
    }

    .buy-box {
        margin-bottom: 50px;
    }

}


@media (max-width: 576px){
    button, .button, .plan-btn {
        width: 100%;
    }

    .main a.button {
        width: fit-content;
    }

    .buy-btn {
        width: auto;
    }

    .resources .row {
        flex-direction: column;
        text-align: center;
    }

    .resources .row h3 {
        margin-bottom: 10px;
        text-align: center;
    }

    .resources .row .download-btn {
        width: 100%;
    }

    .plan .row {
        width: 100%;
        flex-direction: column;
        margin-bottom: 0;
    }

    .extra-buy-box-pakiet {
        width: 65%;
        margin: 0 auto;
    }

    .buy-box {
        margin-bottom: 50px;
    }
}
