/* Override Variables */

/* The homepage should have bigger text. */
:root {
  --small-home:     16px;
  --medium-home:    36px;
  --large-home:     96px;
}

.small-home     {font-size: var(--small-home);}
.medium-home    {font-size: var(--medium-home);}
.large-home     {font-size: var(--large-home);}

.drop {
  padding-top: 1rem;
}

/* Box 1 */
.first-box {
  height: calc(100vh - var(--header-size));
  width: 100%;
  display: table;
  background-image: url('assets/background.jpg'),url('assets/background-smol.jpg');
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
}

.first-box-content {
  width: 100%;
  height: 255px;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

/* Thank you https://stackoverflow.com/a/6880421/9081715 */
.socials-container {
  /* border: 2px dashed #444; */
  height: 4rem;
  /* (n+(n-1))*32 where n is the amount of socials */
  width: 8rem;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 1rem;
  
  text-align: justify;
  -ms-text-justify: distribute-all-lines;
  text-justify: distribute-all-lines;
}

.socials-container:after {
  content: '';
  width: 100%;
  display: inline-block;
  font-size: 0;
  line-height: 0
}

.social-box {
  width: 2rem;
  height: 2rem;
  vertical-align: top;
  display: inline-block;
  *display: inline;
  zoom: 1
}

.social-box img {
  width: 100%;
  height: 100%;
}

/* Box 2 */

.scroll-marker {
  position: relative;
  height: 0;
  visibility: hidden;
  top: calc(-1 * var(--header-size));
}

#About-Me::after{
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
  z-index:-1;
  content:url("assets/Stories/bear-face.gif") url("assets/Stories/obiesource.gif");
}

.second-box {
  min-height: calc(100vh - var(--header-size) - 3rem);
  width: 100%;
  padding: 0 10rem;
}

.second-box > div {
  padding: 0 2rem;
}

.image-stacked {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0 auto;
}

.image-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1rem;
  align-items: center;
}

.animated {
	border: 0.15rem solid var(--highlight);
	border-radius: 0.2rem;
	padding: 0.2rem;
}

#the-bear {
  content:url("assets/Stories/bear-face-still.jpg");
}

#the-bear:hover, #the-bear:focus {
  content:url("assets/Stories/bear-face.gif");
}

#obiesource {
  content:url("assets/Stories/obiesource.jpg");
}

#obiesource:hover, #obiesource:focus {
  content:url("assets/Stories/obiesource.gif");
}

/* @media (max-width: 650px) {
  .image-grid {
    display: block;
    font-size: 80%;
  }
  .image-grid p {
    position: relative;
    margin: -3rem 0 2rem 1rem;
    padding: 1rem;
    background: rgba(white, 0.8);
  }
} */
