@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wdth,wght@1,75..100,300..800&display=swap');

* {
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

html {
  height: auto;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  /* line-height: 1.2; */
  color: white;
  display: grid;
  height: 100vh;
  background-color: rgb(46, 50, 62);
  margin: 0 auto;
}

img {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
  /*height: auto;*/
}

#main {
  margin: 2rem auto;
  padding: 0;
  /* border: 1px solid red; */
  width: 100%;
  /* height: 100%; */
}

.container {
  /* width: 100%; */
  margin: 0 auto;
  padding: 0;
  position: relative;
  height: 60%;
  /* border: 1px solid #ccc; */
  overflow: hidden;
  align: top;
  justify-content: center;
  align-items: center;
}

.rectangle {
  position: absolute;
  background-color: #aaa;
  transform-origin: center;
  width: 100%;
}

header {
  margin: 0 auto 2rem auto;
  /*background: red;*/
  padding: 0;
}

nav {

}

nav > a {
  color: grey;
  text-decoration: none;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
}

#titlebar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
}

.contact { text-align: right;}
.contact > a { text-decoration: none;}

.fa {
  align-self: center;
  justify-self: right;
  margin: 0;
  padding: 0;
}

.fa a {
  color: grey;
}

.title {
  font-size: 1.2rem;
  padding: 0;
  margin: 0;
}

.title > a {
  color: rgb(46, 168, 233);
  text-decoration: none;
}

h1 {
  font-size: 1rem;
  font-weight: 800;
  color: grey;
  margin: 0 0 2rem 0;
  text-transform: lowercase;
}

a {
  color: grey;

}

a:hover {
  color: rgb(46, 168, 233);
}

.content {
  display: grid;
  grid-template-rows: auto;
  grid-auto-flow: dense;
  grid-gap: 1rem;
  margin: 0 auto;
}

.imagecontent {
  margin-bottom: 2rem;
  /* border: 1px solid white; */
}

.imagecontent img {
  border-radius: 10px;
}

.description {
  font-size: .7rem;
  margin: 1rem 0;
  letter-spacing: 1px;
  text-transform: capitalize;
}

video {
  height: auto;
  width: 100%;
}


/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  body {
    /* background-color: lightblue; */
    width: 90%;
  }

  .content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px)  {
  body {
    /* background-color: red; */
    width: 90%;
  }
  /* #main {
    width: 80%;
  } */
  /* .content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  } */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px)  {
  body {
    /* background-color: green; */
    width: 80%;
  }
  .content {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px)  {
  body {
    /* background-color: purple; */
    width: 80%;
  }

  /* .content {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  } */
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  body {
    /* background-color: rgb(128, 0, 64); */
    width: 70%;
  }

  /* .content {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  } */
}