$main-blue: #0087f0;
img {
    width: 200px;
}

a {
    text-decoration: none;
}

.login-navigation {
    margin-top: 24px;
    float: right;
    .button-single--bordered {
        margin-left: 25px;
    }
}

.login-info {
    margin-top: 170px;
    &__title {
        width: 615px;
        height: 120px;
        color: #fff;
        font-size: 48px;
        font-weight: 400;
        line-height: 60px;
        letter-spacing: 0.6px;
    }
    &__description {
        margin-top: 20px;
        width: 597px;
        height: 72px;
        color: #fff;
        font-size: 22px;
        font-weight: 400;
        line-height: 36px;
        letter-spacing: 0.28px;
    }
}

.login-form {
    margin-top: 110px;
    min-height: 502px;
    padding: 20px 40px;
    height: auto;
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    background-color: #ffffff;
    .no-error {
        input {
            background: url("../images/icon-check.svg") no-repeat right center;
        }
    }
    &__title {
        /* Style for "Zaloguj sie */
        padding-top: 30px;
        color: #50575c;
        font-size: 28px;
        font-weight: 400;
        text-align: center;
        letter-spacing: 0.35px;
        line-height: 38px;
    }
    &__description {
        /* Style for "Nie Masz jeszcze... */
        opacity: 0.7;
        color: #50575c;
        text-align: center;
        font-size: 12px;
        font-weight: 700;
        line-height: 15px;
        text-transform: uppercase;
        margin: 14px 0 14px;
        letter-spacing: 1px;
        a {
            color: $main-blue;
            text-decoration: none;
        }
        &:nth-child(3) {
            margin-bottom: 64px;
        }
    }
}

.error-msg {
    display: none;
}

.degree-box {
    &__header {
        background-color: #e0e0e0;
        border-radius: 2px;
        height: 36px;
        text-transform: uppercase;
        padding-left: 15px;
        font-size: 12px;
        font-weight: 700;
        line-height: 36px;
        color: #555555;
        letter-spacing: 1px;
    }
    &__content {
        margin-top: 35px;
        margin-bottom: 35px;
        display: flex;
        flex-wrap: wrap;
        &__value {
            width: 20%;
            height: 75px;
            padding: 10px 20px 0 20px;
            &:last-child {
                margin-right: 0;
            }
            &__number {
                font-size: 22px;
                color: #555555;
                font-weight: 600;
                letter-spacing: 0.28px;
            }
            &__title {
                padding-top: 5px;
                color: #50575c;
                opacity: 0.8;
                font-size: 13px;
                font-weight: 600;
                line-height: 15px;
                letter-spacing: 0.2px;
            }
        }
        &__average {
            width: 98px;
            height: 74px;
            margin-left: 10px;
            border: 1px solid #c9c9c9;
            border-radius: 8px;
            &__number {
                padding: 10px;
                color: #0087f0;
                font-size: 28px;
                font-weight: 600;
                text-align: center;
                letter-spacing: 0.35px;
            }
            &__title {
                color: #50575c;
                opacity: 0.7;
                font-size: 12px;
                font-weight: 700;
                text-align: center;
                text-transform: uppercase;
                letter-spacing: 1px;
            }
        }
    }
}

.article-box {
    display: flex;
    justify-content: left;
    margin-bottom: 24px;
    a {
        text-decoration: none;
    }
    &__image {
        width: 263px;
        height: 192px;
    }
    &__info {
        max-width: 550px;
        height: 78px;
        padding: 12px 1px 12px 30px;
        &__category {
            margin-bottom: 24px;
            color: #50575c;
            opacity: 0.7;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        &__title {
            color: #464e5a;
            margin-bottom: 24px;
            font-size: 20px;
            font-weight: 600;
            letter-spacing: 0.25px;
        }
        &__description {
            overflow: hidden;
            max-height: 72px;
            color: #666e74;
            font-size: 15px;
            font-weight: 400;
            line-height: 24px;
            letter-spacing: 0.3px;
        }
    }
}

.article-full {
    &__image {
        width: 100%;
        height: 420px;
        margin-top: 18px;
        background-size: cover;
    }
    &__text {
        max-width: 550px;
        margin: auto;
        &__author {
            margin-top: 33px;
            opacity: 0.7;
            color: #50575c;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        &__title {
            margin-top: 10px;
            color: #50575c;
            font-size: 22px;
            font-weight: 600;
            line-height: 36px;
            letter-spacing: 0.28px;
        }
        &__content {
            margin-top: 30px;
            color: #666e74;
            font-size: 15px;
            font-weight: 400;
            line-height: 24px;
            letter-spacing: 0.3px;
        }
    }
    &__buttons {
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

.popup-container {
    position: fixed;
    top: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 22, 22, 0.5);
    &__popup {
        position: relative;
        top: 25%;
        z-index: 20;
        width: 555px;
        padding: 24px 24px 36px;
        border-radius: 5px;
        margin: 0 auto;
        box-shadow: 0 2px 40px rgba(0, 0, 0, 0.2);
        background-color: #ffffff;
        text-align: center;
        &__confirm-image {
            width: 72px;
            height: 72px;
            margin: 0 auto 24px;
            background: url("../images/icon-confirmed.svg") no-repeat;
            background-size: cover;
        }
        &__title {
            max-width: 461px;
            margin: 0 auto 24px;
            color: #50575c;
            font-size: 22px;
            font-weight: 600;
            letter-spacing: 0.28px;
        }
        &__content {
            margin-bottom: 40px;
            &__element {
                max-width: 363px;
                margin: 0 auto 24px;
                color: #666e74;
                font-size: 15px;
                font-weight: 400;
                line-height: 24px;
                letter-spacing: 0.3px;
                span {
                    font-weight: 700;
                }
            }
        }
    }
}

.video-container {
    position: fixed;
    top: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 22, 22, 0.7);
    &__popup {
        position: relative;
        top: 25%;
        width: 944px;
        height: 531px;
        margin: 0 auto;
        box-shadow: 0 2px 40px rgba(0, 0, 0, 0.2);
        background-color: #ffffff;
        text-align: center;
        &__overlay {
            position: absolute;
            top: 0;
            display: -webkit-flex;
            display: -ms-flex;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 944px;
            height: 531px;
            padding: 60px 36px;
            background-color: rgba(0, 0, 0, 0.7);
            &__content {
                &__title {
                    height: 28px;
                    max-width: 461px;
                    margin: 50px auto 20px;
                    color: #ffffff;
                    font-size: 28px;
                    font-weight: 400;
                    letter-spacing: 0.35px;
                }
                &__subtitle {
                    margin: 20px auto 0;
                    color: #ffffff;
                    font-size: 14px;
                    font-weight: 700;
                    text-transform: uppercase;
                    line-height: 25px;
                    letter-spacing: 1.75px;
                }
            }
            &__play-image {
                position: absolute;
                left: 462px;
                bottom: 252px;
                width: 24px;
                height: 24px;
                background: url("../images/icon-play.svg") no-repeat;
                background-size: cover;
            }
        }
    }
}