

.header {
    position: relative;
    color: #fff;
    background-color: #0c258f;
    background: -webkit-linear-gradient(45deg, rgb(16, 43, 146), rgb(69, 197, 246));
    background: -moz-linear-gradient(45deg, rgb(16, 43, 146), rgb(69, 197, 246));
    background: linear-gradient(45deg, rgb(16, 43, 146), rgb(69, 197, 246));
    width: 100vw;
    overflow: hidden;
}

.header__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: grid;
    align-content: center;
    justify-content: center;
}

.header__background-image {
    width: 100vw;
}

.header__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    column-gap: 40px;
    z-index: 2;
    padding: 64px 80px;
}

.header__logo-image {
    height: 140px;
} 

.header__title--first {
    font-weight: 400;
}

.header__title--main {
    font-weight: 400;
}

.header__title--second {
    font-weight: 700;
}

.header__date {
    font-weight: 400;
}

.header__container {
    display: grid;
    grid-template-columns: auto;
    height: 100%;
    align-content: center;
}

.header__members {
    display: flex;
    flex-wrap: wrap;
    column-gap: 40px;
    row-gap: 50px;
    justify-content: space-around;
}

.header__member-link {
    align-content: center;
}

@media screen and (min-width: 1331px) {
    .header {
        height: 460px;
    }

    .header__content {
        grid-template-columns: auto 1fr auto;
    }

    .header__title--first {
        font-size: 24px;
    }

    .header__title--main {
        font-size: 72px;
    }

    .header__title--second {
        font-size: 34px;
        max-width: 640px;
    }

    .header__date {
        font-size: 18px;
        margin-top: 80px;
    }
    
    .header__members {
        max-width: 440px;
    }

    .header__member-image {
        width: 250px;
        margin: -40px -70px;
    }
}

@media (min-width: 1211px) and (max-width: 1330px) {
    .header {
        height: 420px;
    }
    
    .header__content {
        grid-template-columns: auto 1fr auto;
    }

    .header__title--first {
        font-size: 20px;
    }

    .header__title--main {
        font-size: 64px;
    }

    .header__title--second {
        font-size: 28px;
    }
    
    .header__date {
        font-size: 18px;
        margin-top: 80px;
    }
    
    .header__members {
        max-width: 380px;
    }

    .header__member-image {
        width: 220px;
        margin: -40px -60px;
    }
}

@media (min-width: 1065px) and (max-width: 1210px) {
    .header {
        height: 340px;
    }

    .header__content {
        grid-template-columns: auto 1fr auto;
        padding: 48px 60px;
    }

    .header__title--first {
        font-size: 18px;
    }

    .header__title--main {
        font-size: 56px;
    }

    .header__title--second {
        max-width: 512px;
        font-size: 24px;
    }

    .header__date {
        font-size: 16px;
        margin-top: 60px;
    }

    .header__members {
        max-width: 340px;
        column-gap: 24px;
        row-gap: 32px;
    }

    .header__member-image {
        width: 200px;
        margin: -30px -55px;
    }
}

@media (min-width: 840px) and (max-width: 1064px) {
    .header {
        height: 360px;
    }

    .header__content {
        grid-template-columns: 84px auto;
        column-gap: 40px;
        padding: 32px 56px;
    }

    .header__text-wrapper {
        margin-bottom: 40px;
    }
    
    .header__title--first {
        font-size: 16px;
        font-weight: 700;
    }

    .header__title--main {
        font-size: 48px;
    }

    .header__title--second {
        max-width: 440px;
        font-size: 20px;
    }
    
    .header__date {
        margin-top: 32px;
    }

    .header__members {
        flex-wrap: nowrap;
        column-gap: 40px;
        max-width: 100%;
    }

    .header__member-image {
        width: 220px;
        margin: -40px -60px;
    }

    .header__container {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 2;
        grid-row-end: 3;
    }
}

@media (min-width: 620px) and (max-width: 839px) {
    .header {
        height: 500px;
    }

    .header__content {
        grid-template-columns: 84px auto;
        column-gap: 40px;
        padding: 32px 56px;
        justify-content: center;
    }

    .header__text-wrapper {
        margin-bottom: 60px;
    }
    
    .header__title--first {
        font-size: 16px;
        font-weight: 700;
    }

    .header__title--main {
        font-size: 48px;
    }

    .header__title--second {
        max-width: 440px;
        font-size: 20px;
    }
    
    .header__date {
        margin-top: 32px;
    }

    .header__members {
        flex-wrap: wrap;
        column-gap: 40px;
        row-gap: 20px;
        max-width: 440px;
    }

    .header__member-image {
        width: 220px;
        margin: -30px -60px;
    }

    .header__container {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 2;
        grid-row-end: 3;
    }
}

@media (min-width: 350px) and (max-width: 619px) {
    .header {
        height: 620px;
    }

    .header__content {
        grid-template-columns: auto;
        column-gap: 40px;
        justify-content: center;
        padding: 20px 36px;
    }

    .header__logo-cell {
        display: flex;
        justify-content: center;
    }

    .header__logo-image {
        height: 80px;
        margin-bottom: 20px;
    }

    .header__text-wrapper {
        margin-bottom: 40px;
    }
    
    .header__text-wrapper h1 {
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    
    .header__title, .header__title div, .header__date {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .header__title--first {
        font-size: 14px;
        font-weight: 700;
    }

    .header__title--main {
        font-size: 36px;
    }

    .header__title--second {
        max-width: 320px;
        font-size: 18px;
        margin: 0 auto;
    }
    
    .header__date {
        font-size: 14px;
        margin-top: 32px;
    }

    .header__members {
        flex-wrap: wrap;
        column-gap: 40px;
        row-gap: 20px;
        max-width: 440px;
    }

    .header__member-image {
        width: 200px;
        margin: -30px -55px;
    }
}

@media (max-width: 349px) {
    .header {
        height: 720px;
    }

    .header__content {
        grid-template-columns: auto;
        column-gap: 40px;
        justify-content: center;
        padding: 20px 36px;
    }

    .header__logo-cell {
        display: flex;
        justify-content: center;
    }

    .header__logo-image {
        height: 80px;
        margin-bottom: 20px;
    }

    .header__text-wrapper {
        margin-bottom: 40px;
    }
    
    .header__text-wrapper h1 {
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    
    .header__title, .header__title div, .header__date {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .header__title--first {
        font-size: 14px;
        font-weight: 700;
    }

    .header__title--main {
        font-size: 36px;
    }

    .header__title--second {
        max-width: 320px;
        font-size: 18px;
        margin: 0 auto;
    }
    
    .header__date {
        font-size: 14px;
        margin-top: 32px;
    }

    .header__members {
        flex-wrap: wrap;
        column-gap: 40px;
        row-gap: 20px;
        max-width: 440px;
    }

    .header__member-image {
        width: 200px;
        margin: -30px -55px;
    }
}