@import url("https://fonts.googleapis.com/css?family=Rajdhani:400,600,700");
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700");

*, ::after, ::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #22195b url('../imgs/background.png') left center no-repeat;
    background-size: cover;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.667;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 90px;
    grid-template-areas:
	"main"
	"footer";
    align-content: space-around;
    align-items: center;
}

body::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(172deg, rgba(2,1,11,1) 0%, rgba(34,25,91,1) 40%, rgba(34,25,91,0.85) 75%, rgba(255,255,255,0) 100%);
}


/* FLAGS */
.flag::before {
    content: "";
    display: inline-block;
    height: 34px;
    width: 51px;
    margin-right: 5px;
    border: 1px solid rgba(34, 25, 91, 0.8);
    border-radius: 100%;
}

.uk::before {
    /* background: url('../imgs/icons/english-breakfast.svg') center center no-repeat; */
    /* background: url('../imgs/icons/united-kingdom.svg') center center no-repeat; */
    background: url('../imgs/icons/united-kingdom.png') center center no-repeat;
    /* background-size: contain; */
    background-size: cover;
}

.nl::before {
    /* background: url('../imgs/icons/tulip.svg') center center no-repeat; */
    /* background: url('../imgs/icons/holland.svg') center center no-repeat; */
    background: url('../imgs/icons/netherlands.png') center center no-repeat;
    /* background-size: contain; */
    background-size: cover;
}

.de::before {
    /* background: url('../imgs/icons/sausage.svg') center center no-repeat; */
    /* background: url('../imgs/icons/germany.svg') center center no-repeat; */
    background: url('../imgs/icons/germany.png') center center no-repeat;
    /* background-size: contain; */
    background-size: cover;
}

.fr::before {
    /* background: url('../imgs/icons/eiffel-tower.svg') center center no-repeat; */
    /* background: url('../imgs/icons/france.svg') center center no-repeat; */
    background: url('../imgs/icons/france.png') center center no-repeat;
    /* background-size: contain; */
    background-size: cover;
}

.es::before {
    /* background: url('../imgs/icons/sagrada-familia.svg') center center no-repeat; */
    background: url('../imgs/icons/spain.png') center center no-repeat;
    /* background-size: contain; */
    background-size: cover;
}


/* MAIN */

main {
    grid-area: main;
    position: relative;
    height: calc(100vh - 90px);
    background-size: cover;
    z-index: 1;
}

main::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background: url('../imgs/background-overlay.png') left center no-repeat;
    background-size: cover;
    z-index: -1;
}


/* MAIN - SECTION */

section {
    width: 80vw;
    height: 436px;
    margin: calc(((100vh - 346px) / 2) - 90px) auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
	"laptops"
	"content";
}

section img {
    grid-area: laptops;
    width: 275px;
    margin: auto;
}

section div {
    grid-area: content;
}

section div h1 {
    font-family: "Rajdhani", sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
}

section div ul {
    margin: 20px 0;
    list-style: none;
}

section div ul li {
    display: flex;
    flex-direction: row;
    align-items: center;
}




/* FOOTER */

footer {
    grid-area: footer;
    background: rgba(14,20,36,0.85);
}

footer p {
    color: #797979;
    text-align: center;
    padding: 5px 0;
    margin: 10px 0;
    font-size: 13px;
}


/*** MEDIA > 400px ***/
@media (min-width: 400px) {
    .flag::before {
	height: 60px;
	width: 90px;
	margin-right: 10px;
    }
    section div h1 {
        font-size: 30px;
	margin-top: 15px;
    }
    section img {
	width: 325px;
    }
}

/*** MEDIA > 500px ***/
@media (min-width: 500px) {
    section {
	grid-template-rows: 50% 1fr;
    }
    section div h1 {
        font-size: 40px;
	margin-top: 15px;
    }
    section img {
	width: 450px;
    }
}


/*** MEDIA > 600px ***/
@media (min-width: 600px) {
    .flag::before {
	height: 40px;
	width: 60px;
	margin: 8px 10px 8px 0;
    }
    section div h1 {
        font-size: 45px;
	margin-top: 15px;
    }
    section img {
	width: 500px;
    }
}

/*** MEDIA > 700px ***/
@media (min-width: 700px) {
    .flag::before {
	height: 50px;
	width: 75px;
	margin-right: 10px;
    }
    section div h1 {
        font-size: 50px;
    }
    section img {
	width: 550px;
    }
    section div ul li {
	font-size: 20px;
    }
    footer p {
	font-size: 20px;
    }
}


/*** MEDIA > 800px ***/
@media (min-width: 800px) {
    .flag::before {
	height: 44px;
	width: 66px;
	margin-right: 10px;
    }
    section div h1 {
        font-size: 55px;
    }
    section img {
	width: 600px;
    }
}

/*** MEDIA > 1024px ***/
@media (min-width: 1024px) {
    .flag::before {
	height: 40px;
	width: 60px;
	margin: 12px 25px 12px 0;
    }
    section {
	grid-template-columns: 1fr 1.5fr;
	grid-template-rows: 1fr;
	grid-template-areas:
	    "laptops content";
    }
    section img {
	width: 360px;
	margin-right: 15px;
    }
    section div {
	margin: auto;
    }
    section div h1 {
        font-size: 40px;
    }
    footer p {
	font-size: 15px;
    }
}

/*** MEDIA > 1250px ***/
@media (min-width: 1250px) {
    section {
	grid-template-columns: 1fr 1.5fr;
	grid-template-rows: 1fr;
	grid-template-areas:
	    "laptops content";
    }
    section img {
	width: 450px;
    }
    section div {
	margin: auto;
    }
    section div h1 {
        font-size: 45px;
    }
    footer p {
	font-size: 15px;
    }
}

/*** MEDIA > 1500px ***/
@media (min-width: 1500px) {
    section {
	grid-template-columns: 1fr 1.5fr;
	grid-template-rows: 1fr;
	grid-template-areas:
	    "laptops content";
    }
    section img {
	width: 625px;
    }
    section div h1 {
        font-size: 50px;
    }
    footer p {
	font-size: 15px;
    }
}

/*** MEDIA > 1750px ***/
@media (min-width: 1750px) {
    section {
	grid-template-columns: 1fr 1.5fr;
	grid-template-rows: 1fr;
	grid-template-areas:
	    "laptops content";
    }
    section img {
	width: 650px;
    }
    section div h1 {
        font-size: 60px;
    }
    section div ul li {
	font-size: 20px;
    }
    footer p {
	font-size: 15px;
    }
}

/*** MEDIA > 1920px ***/
@media (min-width: 1920px) {
    .flag::before {
	height: 50px;
	width: 75px;
    }
    section {
	grid-template-columns: 1fr 1.5fr;
	grid-template-rows: 1fr;
	grid-template-areas:
	    "laptops content";
    }
    section img {
	width: 700px;
    }
    section div h1 {
        font-size: 70px;
    }
    section div ul li {
	font-size: 20px;
    }
    footer p {
	font-size: 15px;
    }
}
