@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&display=swap');

html {
  font-size: 1.2rem;
  scroll-behavior: smooth;
}

/* @font-face {
  font-family: "Assistant";
  src: url("./fonts/Assistant-Regular.ttf") format("truetype");
  font-weight: normal;
    font-style: normal;
}
    */

body{
  background-color:rgb(227, 227, 227);
max-width:1000px;
margin:auto;
  line-height: 1.6;
  font-weight: 500;
  font-family: "Assistant", "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  color: black; 
}


@media (max-width: 600px) {
  body {
    padding:0;
    margin:0;
    min-width:320px;
    width:100%;
  }
}


/* TEXT STYLING */

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 600; 
  color: rgb(67, 67, 67);
  text-decoration: underline dotted 5px rgb(230, 200, 202);
  }
h1 { font-size: 1.9rem; line-height: 1;  letter-spacing: -.1rem;}
h2 { font-size: 1.6rem; line-height: 1; letter-spacing: -.1rem; }
h3 { font-size: 1.4rem; line-height: 1;  letter-spacing: -.1rem; }
h4 { font-size: 1.2rem; line-height: 1; letter-spacing: -.08rem; }


p {
  margin-top: 0; }

a {
  color: rgb(67, 67, 67);
}
a:hover {
  color: rgb(152, 152, 152); 
}

.title {
font-size:2.3rem;
font-weight: 600;
}

.card {
  background-color: rgb(230, 200, 202);
  padding:1rem;
  margin:2rem;
}

blockquote {
  font-style:italic;
  color:rgb(124, 124, 124);
}

.bqcitation {
  text-align:right;
  padding-right:3rem;
  color:rgb(124, 124, 124);
}

mark {                /*highlighted text */
  background-color: rgb(230, 200, 202);
}

img {
  max-width:100%;
}

figure {
  max-width:100%;
  margin:0;
}

figcaption {
  color:rgb(152, 152, 152);
  text-align:center;
  font-size:.8rem;
  font-style:italic;
}

hr{
  border-top: 1px;
  color:rgb(191, 191, 191);
  margin-bottom:2rem;
  margin-top:2rem;
}


/* NAV */

.logo{
  height:75px;
  width:75px;
  background:rgb(199, 171, 10);
  margin-right:1vw;
}

.sitetitle{
 color:black; 
 font-size:1.5rem;
}

@media (max-width: 600px) {
  .sitetitle {
   font-size:1rem;
  }
}

.nav{
 display:flex;
 align-items: center;
 max-height:15%;
 margin-top:1rem;
 margin-bottom:1rem;
}

@media (max-width: 600px) {
  .nav {
    margin-top:0;
    margin-bottom:0;
  }
}

.navwrapper{
  margin-left: auto; 
  margin-right: 2vw;
}

a.button {
padding:.5rem;
text-decoration: none;
font-weight:700;
color:rgb(67, 67, 67);
}

a.button:hover{
  color:rgb(199, 171, 10);
}



/* CONTENT */

.contentwrapper{
height:auto;
min-height:500px;
background-color:white;
}

.content{
padding:4vw;
padding-top:6vw;
}



/* GALLERY IMAGES */

.gallerycontainer{
  position:relative;
  display: grid;
  margin: 0;
  height:100%;
  width:100%;
  padding:0;
}

.galleryimg{
  transition: .2s ease;
  padding:0;
}
.middle {
  position: absolute;
  transition: .2s ease;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%)
}
.gallerycontainer:hover .galleryimage {
  opacity: 0.5;
  transition: .2s ease;
  padding:0;
}
.gallerycontainer:hover .middle {
  opacity: 1;
  transition: .2s ease;
}
.text {
  background-color: white;
  color: black;
  padding: .5rem;
  width: 7rem;
}



/* GRIDS */

.gridcontainer {
	margin: 0 auto;
	padding: 0;
	text-align: center;
	display: grid;
	grid-gap: 0;
	gap: 0;
}

.gridcontainer.half{
  grid-template-columns: repeat(2, 1fr);
}
.gridcontainer.third{
  grid-template-columns: repeat(3, 1fr);
}


@media (max-width: 900px) {
  .gridcontainer {
    padding: 0;
    margin:0;
    width:100%;
  }
	.gridcontainer.half {
		grid-template-columns: repeat(2, 1fr);
		padding: 0;
    width:100%;
	}
  .gridcontainer.third {
		grid-template-columns: repeat(2, 1fr);
		padding: 0;
    width:100%;
	}
}

@media (max-width: 600px) {
  .gridcontainer {
    padding: 0;
    margin:0;
    width:100%;
  }
	.gridcontainer.half {
		grid-template-columns: 1fr;
		padding: 0;
    width:100%;
	}
  .gridcontainer.third {
		grid-template-columns: 1fr;
		padding: 0;
    width:100%;
	}
}


/* FOOTER */

.footer{
  max-width:100%;
  margin-left:1rem;
  padding-top:.5rem;
  padding-bottom:1rem;
  color:grey;
}



/* Larger than mobile (default point when grid becomes active) */
@media (min-width: 600px) {}

/* Larger than phablet */
@media (min-width: 900px) {}

/* Larger than tablet */
@media (min-width: 1200px) {}
