@font-face {
  font-family: disposableDroidBB;
  src: url("/fonts/DisposableDroidBB.ttf");
}

* {
  box-sizing: border-box;
}

a, button, .grid-container img, #contact div {
	transition-duration: 0.3s;    /*smoothing hover effect*/
}

body {
	background-color: #333333;
}

p, a, h1, h2, h3, h4, h5 {
	font-family: 'disposableDroidBB', sans-serif;
}

::-moz-selection { /* Code for Firefox */
  color: #E7FCFF;
  background: #D31A5F;
}

::selection {
  color: #E7FCFF;
  background: #D31A5F;
}
/*=================================================================================================*/

button {
	display: inline-block;
	padding: 1vh 2vw;
	background-color: #104A6A;
	font-size: 20px;
	border: solid 5px #70B7C6; 
	margin-bottom: 6vh;
}

button:hover {
  background-color: #D31A5F;
}

button a {
  color: #9ECCD5;
	display: inline-block;
}

/*=================================================================================================*/
/* Nav bar of main page */

.topnav {                               /* navigation menu */
  overflow: hidden;
  background-color: #3A6477;
  position: relative;
}

.topnav #myLinks {                      /* to hide the links inside the nav menu */
  display: none;
}

.topnav a {
  color: #E7FCFF;
  padding: 2vh 2vw;
  font-size: 28px;
  display: block;
}

.topnav a.icon {                      /* hamburger icon styling */
  background: #144E69;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}


.topnav a:hover {                      /* Add a background color on mouse-over */
  background-color: #D31A5F;
  color: #FAFAFA;
}


@media only screen and (min-width: 768px) {         /* Tablets */
  
  #logo {                          /* hide logo on not-mobile devices */
    display: none;  
  }
  
  .topnav {                       /* center the nav elements */
    text-align: center;  
  }
  
  .topnav #myLinks {                 
    display: inline-block;
    
  }
  
  .topnav a {
    display: inline-block;  
  }
  
  .topnav a.icon {                /* hide hamburger icon on not-mobile devices */
    display: none;  
  }
}

.sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
}

/*=================================================================================================*/

header {
	background-image: url("/img/banner.jpg");
	background-color: #1A1A1A;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 85vh;
	
}

/*=================================================================================================*/
section {
	min-height: 100vh;
	background-color: gray;
	text-align: center;
}

#illustration, #concept, #projects {          /* for the alternating color layout of sections*/
	background-color: #417691;
}

#comic, #pixel {
	background-color: #233744;
}

.head1 {
	background-color: #233744;             /* section heading style 1*/
	background-image: url("/img/pixelBG1.svg");
	min-height: 15vh;
}

.head2 {
	background-color: #417691;             /* section heading style 2*/
	background-image: url("/img/pixelBG2.svg");
	min-height: 15vh;
}

.heading-block {          /*headings blocks*/
	display: inline-block;
	padding: 2vh 2vw;
	background-color: #2493AB;
	color: #FAFAFA;
	font-size: 30px;
	border: solid 5px #fafafa;
	margin: 4vh 0;
}
.heading-block h1 {
	display: inline-block;
}

.square {
	height: 15px;
	width: 15px;
	background-color: #fafafa;
	display: inline-block;
	margin: 0 10px;
}

/*====== Flexbox gallery of illustrations =============*/
.gallery {
	display: flex;
	flex-wrap: wrap;
	min-height: 80vh;
}

.gallery, .comic-gallery {
	padding: 5vh 1vw;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}
/* 
.column2 {
  flex: 20%;
  max-width: 20%;	
}

.column3 {
  flex: 30%;
  max-width: 30%;	
} */

.column img {
  vertical-align: middle;
  width: 100%;
}

.column img, .project-title {  /* top margin for contents of gallery*/
	margin-top: 8px;
}

.column img, .comic-gallery img {
	border: solid 3px #fafafa;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
  

}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
/* @media (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
} */

/*Show more button for gallery*/

/* #glr1 {
	overflow: hidden;
	height: 120vh;
} */

/*button {
	background-color: #005879;
	border: none;
	color: white;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;	
	margin: 2vh 0;
	position: relative;
}*/

/*=====================================================*/

/* .project {
	border: dashed 3px red;
	max-height: 45vh;
	overflow: hidden;	
}

.project-block {
	margin: 0 0.5vw;
}

.project-title {
	background-color: #233744;
	
}

.project-text {
	background-color: #95C2D2;
	min-height: 36vh;
}

.project-title, .project-text {
	text-align: left;
}

.project-title h2 {
	font-size: 4vh;
	color: #fafafa;
}
 */


/*=====================================================*/
#contact {
	background-color: #2493AB;
	min-height: 20vh;
	text-align: center;
}

#contact a:link, #contact a:visited {
	color: #fafafa;
}

#contact a:hover, #contact a:active {
	color: #D31A5F;
}

#contact a {
	font-size: 4vh;
	margin: 2vh 1vw;
}

#contact h1{
	font-size: 5vh;
	padding: 2vh 1vw;
}

/* for icons that don't use fontawesome */

#bsky {
	display: inline-block;
	background: url("/img/bsky.svg") no-repeat center center;
	height: 3vh;
	width: 4vh;
}

#bsky:hover {
	background-image: url("/img/bsky-hover.svg");
}

/*---*/

/*=================================================================================================*/

footer {
	background-color: #1A1A1A;
}

.copyright {
	padding: 2vh 0;
	text-align: center;
	color: #737373;
}

.copyright p {
	font-size: 25px;
}

@media (max-width: 800px) {
	.copyright p {
		font-size: 16px;
	}
  }

/*====GRID-STRUCTURE=============================================================================================*/

.grid-container {
	display: grid;
	grid-template-columns: auto auto auto auto;
	overflow: auto;
	padding: 3vh 1vw;
}

.grid-container img {
	max-width: 23vw;
	margin: 1vh 0;
	border: solid 5px #fafafa;
}

.grid-container img:hover  {
	border: solid 5px #D31A5F;
}

@media (max-width: 800px) {
	.grid-container {
		grid-template-columns: auto auto;
	}

	.grid-container img {
		max-width: 46vw;
		margin: 0 0;
		border: solid 3px #fafafa;
	}
  }

/*=============================================================================================================================================*/
/*site structure*/

.row::after {                                         /* float reset */
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {                                     /* Default: mobile phones */
  float: left;                                        /* Applies these CSS attributes to every class with the text "col-" */
  width: 100%;
}

@media only screen and (min-width: 768px) {           /* For tablets */

/* Columns for responsive design on bigger devices. Percentage for one column: 100% / 12 columns = 8.33%. */  

  .col-s-1 {width: 8.33%;}                            
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
  
}
  
@media only screen and (min-width: 1200px) {         /* For desktops */
  
  .col-1 {width: 8.33%;}                            
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
  

}


/*=============================================================================================================================================*/