/*@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Roboto: 100,400,900');
@import url('https://fonts.googleapis.com/css2?family=Anton');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:400,700');

* {
    box-sizing: border-box;
}

html {
	height: 100%;
}

body {
    /*font-family: 'Montserrat', sans-serif;*/
    margin: auto;
	height: 100%;
}

h3 {
    font-size: 1.2rem;
    padding: 1rem 0;
}

ul {
    margin: 0 0 0 1rem;
    padding: 0.5;
}

.centered_white {
	text-align: center;
	display: block;
	/*background-color:inherit;*/
	font-weight: bold;
	color: #fff;
}

.centered {
	text-align: center;
	display: block;
	/*background-color:inherit;*/
	font-weight: bold;
}

.btn {
	color: #000;
	font-weight: bold;
	margin: 0 1em;
	padding: 0.2em 0.5em;
}

.el3 {
	/*z-index: 10;*/
	grid-area: main1a;
	padding: 1rem;
  	border-radius: 5px;
	font-size: 0.7rem;
	}

.el8 {
	/*z-index: 10;*/
	grid-area: main1b;
	padding: 1rem;
  	border-radius: 5px;
}

.el9 {
	/*z-index: 10;*/
	grid-area: main1c;
	padding: 1rem;
  	border-radius: 5px;
}

/* MOBILE */
@media only screen and (max-width: 40rem) {
.container {
    margin: 0;
	display: grid;
	grid-column-gap: 0;
	grid-row-gap: 1rem;
	/*grid-template-columns: repeat(4, [col-start] 23.1% [col-end]);*/
 	grid-template-columns: 100%;   
	grid-template-rows: [row-1-start] auto [row-1-end row-2-start] auto [row-2-end row-3-start] auto [row-3-end row-4-start] auto [row-4-end];
	grid-template-areas: "header-left"
                         "main1b"
						 "main1a"
                         "main1c";
						
	}
    
    .el9 {
        margin: 0;
        padding: 0;
    }
    .el3 {
        margin-left: 0;
    }
    .el8 {
        margin-left: 0;
    }
    h3 {
        font-size: 1.2rem;
        padding: 0;
    }
    h2 {
        display: block;
        margin-top: 3rem;
    }
    .centered_img	{
       padding-bottom: 2rem;
    }
}

/* END MOBILE */
/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px)
{
 .container {
        margin: 0;
    }   
}

/*
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:)
*/
@media only screen and (min-width: 920px)
{
   
    
.container {
    width: 90%;
    margin: 20px auto;
	display: grid;
	grid-column-gap: 1.5rem;
	grid-row-gap: 1.5rem;
	grid-template-columns: repeat(4, [col-start] 23.4% [col-end]);
	grid-template-rows: [row-1-start] 8rem [row-1-end row-2-start] 4rem [row-2-end row-3-start] minmax(30rem, auto) [row-3-end row-4-start] 50px [row-4-end];
	grid-template-areas: "header-left header-left header-centre header-right"
						 "mnu mnu mnu mnu"
						 "main1a main1b main1b main1c"
                         "footer footer footer footer";
	
	justify-items: stretch;
	align-items: stretch;
}

#study_logo {
    margin-bottom: 2rem;
    }
    
.mobile-nav {
	  display: none;
}

.mobile-nav__items {
	display: none;	
}

.toggle-button {
	display: none;
}
}

/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 1030px)
/* DESKTOP 
@media (min-width: 50rem)*/ {
.container {
    background-color: white;

    }

}

/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {
    
}

@media only screen and (min-width: 1430px) {
.container {
	grid-column-gap: 1.6rem;
	grid-template-columns: repeat(4, [col-start] 24% [col-end]);
}

}




