@import url('https://fonts.googleapis.com/css2?family=Patua+One&family=Raleway&display=swap');

body {
    margin: 0;
    
}

header {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-rows: 100px;
    background-color: #228B22;
}

header img {
    width: 100px;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

header nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--nav-background-color);
    line-height: 3em;
    text-align: center;
    font-size: 1.6em;
    list-style-type: none;
}

nav a {
    min-width: 120px;
    text-decoration: none;
    padding: 12px;
}

nav a:link,
nav a:visited {
    color: #FFFFFF;
}

nav a:hover {
    color: #FFFFFF;
    background-color: #8B4513;
}

.home-grid, .participate-grid, .contactus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 100px;
    max-width: 1200px;
    /*margin: 80px auto;*/
    font-size: 1.5em;
    align-items: center;
    justify-items: center;
    gap: 50px;
}



.home-grid img, .participate-grid img, .contactus-grid img{
    width: 100%;
}

.home-grid div:nth-of-type(1), .participate-grid div:nth-last-of-type(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.home-grid img:nth-of-type(1), .participate-grid img:nth-of-type(1){
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.home-grid div:nth-of-type(2), .participate-grid div:nth-of-type(2) {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.home-grid img:nth-of-type(2), .participate-grid img:nth-of-type(2) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.home-grid div:nth-of-type(3), .participate-grid div:nth-of-type(3) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

.home-grid div:nth-of-type(4), .participate-grid div:nth-of-type(4) {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
}

.contactus-grid div:nth-of-type(1) {
    grid-column: 1/ 3;
    grid-row: 1 / 2;
}

.contactus-grid div:nth-of-type(2) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.contactus-grid div:nth-of-type(3) {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
    
}

.contactus-grid img:nth-of-type(1) {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    object-fit: cover;
}

.contactus-grid img:nth-of-type(2) {
    grid-column: 2 / 3;
    grid-row: 3 / 5;
}




footer {
    display: flex;
    justify-content: space-around;
    background-color: #228B22;
    padding: 30px;
    align-items: center;
    
}

footer p {
    font-size: 1.6em;
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

footer p a:hover {
    text-decoration: underline;
}

footer .social img {
    padding: 0 2.5px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Patua One', serif;
    color: #000000;
    ;
}

p {
    font-family: 'Raleway', sans-serif;
}