* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    box-sizing: border-box;
    font-family: "Raleway", sans-serif;
}
p {
    font-size: 18px;
    font-family: "Raleway", sans-serif;
    line-height: 1.75;
}

/* reusables */
.grid {
    display: grid;
}
.grid-2 {
    grid-template-columns: 1fr;
}
.justify-end {
    justify-content: end;
}
.gap-10 {
    gap: 10px;
}
main.sub {
    background: #eee;
    padding: 60px 15px 30px;
}
.mb30 {
    margin-bottom: 30px;
}
@media screen and (min-width: 1099px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}
/* header.php */
header {
    grid-template-rows: 150px;
    align-items: center;
    padding: 0 3%;
}
header nav div > a {
    border-right: 1px solid #999;
    color: black;
    font-family: "Open Sans", sans-serif;
    font-weight: bold;
    padding: 0 25px;
    text-decoration: none;
    text-transform: uppercase;
}
header nav a:first-of-type {
    padding-left: 0;
}
header nav div > a:last-of-type {
    padding-right: 0;
    border: none;
}
header nav img.logo {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}
.social-icons {
    display: flex;
    gap: 10px;
}
.social-icons li {
    display: inline-block;
}

@media screen and (min-width: 1099px) {
    .social-icons {
        justify-content: flex-end;
    }
}
@media (max-width: 675px) {
    header img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
    }
    header nav {
        gap: 15px !important;
        justify-content: start!important;
        margin-bottom: 15px;
    }
    header nav div > a {
        padding: 0 7px;
        border-right: none;
    }
}

/* footer */
footer {
    padding: 50px 3%;
    color: #fff;
    display: grid;
    grid-template-columns: 600px auto;
    align-items: center;
    font-family: "Open Sans", sans-serif;
    background: black;
}
footer ul li {
    display: inline-block;
}
footer ul li a {
    font-size: 16px;
    border-right: 1px solid #999;
    font-family: "Open Sans", sans-serif;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-right: 25px;
    padding-left: 25px;
}
footer ul li:last-of-type a {
    padding-right: 0;
    border: none;
}
footer a {
    color: #fff;
}
footer span {
    display: inline-block;
    margin-bottom: 5px;
}
footer p {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 5px;
}
footer .home {
    display: block;
    margin-bottom: 20px;
}
footer .phone {
    font-size: 16px;
    margin-right: 60px;
    vertical-align: top;
    text-decoration: none;
}
footer .copy {
    font-size: 12px;
    display: block;
    text-align: right;
    margin-top: 60px;
}
footer > div:nth-of-type(2) {
    text-align: right;
}
footer ul li {
    display: inline-block;
    text-align: center;
    font-size: 18px;
    margin: 15px 0;
}
footer ul li a {
    font-size: 16px;
    border-right: 1px solid #999;
    font-family: "Open Sans", sans-serif;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-right: 25px;
    padding-left: 25px;
    text-decoration: none;
}

@media (max-width: 1099px) {
	footer {
		grid-template-columns: 1fr;
		justify-items: center;
	}
	footer .flags {
		margin: 10px auto 0;
		max-width: 90%;
		display: block;
	}
	footer .logo img {
		display: block;
		margin: 0 auto;
		max-width: 100%;
	}
	footer .phone,
	footer .address,
	footer .languages {
		margin: 5px 0;
		text-align: center;
		display: inline-block;
		width: 100%;
	}
    footer > div:nth-of-type(2) {
        text-align: left;
    }
	footer div:nth-of-type(2) ul {
		margin: 15px 0;
	}
	footer .copy {
		position: initial;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	footer ul li a {
		padding-right: 10px;
		padding-left: 10px;
	}
}

/* <main class="sub"> */
@media screen and (max-width: 1199px) {
    main.sub .wrap {
        max-width: 1024px;
        width: 1024px;
    }
}
@media screen and (max-width: 1025px) {
    main.sub .wrap {
        max-width: 900px;
        width: 900px;
    }
}
@media screen and (max-width: 901px) {
    main.sub .wrap {
        max-width: 769px;
        width: 769px;
    }
    .wrap h1 {
        text-align: left;
        border-bottom: none;
        font-size: 32px;
    }
}
@media screen and (max-width: 780px) {
    main.sub .wrap {
        max-width: 600px;
        width: 600px;
    }
}
@media screen and (max-width: 601px) {
    main.sub .wrap {
        max-width: 430px;
        width: 430px;
    }
}
@media screen and (max-width: 431px) {
    main.sub .wrap {
        max-width: 400px;
        width: 400px;
    }
}