:root {
	--main-color: #002469;
	--main-text-color: white;
	--slider-background: #404040;
	--grey-color: #F4F4F4;
	--accent-color: #F2A900;

	--header-padding: 50px;
	--container-max-width: 1500px;

	scroll-behavior: smooth;
}

body {
	width: 100%;
	height: 100%;

	font-size: 21px;
	font-weight: 400;
	overflow-x: hidden;
}



/* General Styles */

.container {
    position: relative;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.flex__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}



/* News section */

.news__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 100%;
    margin: 0;
}

.news__wrapper h1 {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
	font-weight: 500;
    font-size: 30px;
}


.news__grid {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(2, 640px);
    margin-bottom: 200px;
}


.news__item {
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(53, 53, 53, 0.1);
    position: relative;
    width: 640px;
    height: 500px;
}

strong {
    font-size: 30px;
}

.news__item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.news__item--background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.50);
    border-radius: 8px;
}


.news__item--info-wrapper {
    position: absolute;
    bottom: 0;
    color: white;
    padding: 20px;
    font-size: 110%;
}



@media only screen and (max-width: 1430px) {
    .news__wrapper h1 {
        font-size: 30px;
    }

    .news__grid {
        grid-template-columns: repeat(2, 520px);
        margin-bottom: 140px;
    }
    
    .news__item {
        width: 520px;
        height: 400px;
    }

    strong {
        font-size: 24px;
    }

    p {
        font-size: 20px;
    }
}

@media only screen and (max-width: 1150px) {
    .news__wrapper h1 {
        font-size: 24px;
    }

    .news__grid {
        grid-template-columns: repeat(2, 400px);
        margin-bottom: 100px;
    }
    
    .news__item {
        width: 400px;
        height: 300px;
    }

    strong {
        font-size: 21px;
    }

    p {
        font-size: 18px;
    }
}

@media only screen and (max-width: 900px) {
    .news__wrapper h1 {
        font-size: 20px;
    }

    .news__grid {
        grid-template-columns: repeat(2, 340px);
        margin-bottom: 85px;
    }
    
    .news__item {
        width: 340px;
        height: 240px;
    }

    strong {
        font-size: 19px;
    }

    p {
        font-size: 15px;
    }
}


@media only screen and (max-width: 750px) {
    .news__grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .news__item {
        width: 400px;
        height: 300px;
    }

    
    strong {
        font-size: 23px;
    }

    p {
        font-size: 17px;
    }
}