/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
body {
	line-height: 1;
}
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;
}

/* End of CSS Reset */

#background
{
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
}

body
{
    background-color: black;
    color: white;
    padding: 50px 175px;
}

a
{
    color: white;
    text-decoration: none;
}

header
{
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-shadow: 0px 0px 10px black;
}

header section
{
    display: flex;
    align-items: center;
}

nav
{
    text-shadow: 0;
}

.decoration
{
    position: absolute;
}

h1
{
    width: fit-content;
    font-family: carol-gothic, serif;
    font-size: 75px;
}

header h1
{
    margin-right: 25px;
}

button
{
    outline: none;
    border: none;
    background-color: transparent;
    color: white;
    cursor: pointer;
}

.radial-button
{
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 25px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

button
{
    font-family: birch-std, serif;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 0 20px;
    font-size: 32px;
    letter-spacing: 1px;
    transition: 0.4s;
}

button:hover
{
    background-color: rgb(255, 255, 255, 0.25);
}

.current-page
{
    background-color: rgb(223, 34, 65);
}

.current-page:hover
{
    background-color: rgb(148, 11, 52);
}

.tippy-box[data-theme~='mine'] {
    background-color: black;
    color: white;
    font-family: oso-sans, serif;
    font-weight: 500;
}

.tippy-box[data-theme~='mine'][data-placement^='top'] > .tippy-arrow::before {
    border-top-color: black;
  }
  .tippy-box[data-theme~='mine'][data-placement^='bottom'] > .tippy-arrow::before {
    border-bottom-color: black;
  }
  .tippy-box[data-theme~='mine'][data-placement^='left'] > .tippy-arrow::before {
    border-left-color: black;
  }
  .tippy-box[data-theme~='mine'][data-placement^='right'] > .tippy-arrow::before {
    border-right-color: black;
  }

.btn span {
    position: absolute;
    border-radius: 50%;
    /* To make it round */
    background-color: rgba(0, 0, 0, 0.3);

    width: 100px;
    height: 100px;
    margin-top: -50px;
    /* for positioning */
    margin-left: -50px;

    animation: ripple 1s;
    opacity: 0;
}

/* Add animation */
@keyframes ripple {
    from {
        opacity: 1;
        transform: scale(0);
    }

    to {
        opacity: 0;
        transform: scale(10);
    }
}

#content
{
    background-color: black;
    padding: 0 150px 75px 150px;
    margin-top: 75px;
    text-align: center;
    border-radius: 10px;
}

.page-top
{
    width: 60%;
    position: relative;
    top: -100px;
    float: center;
}

#content h1
{
    font-size: 125px;
    margin-bottom: 25px;
}

h2, span
{
    font-family: oso-sans, sans-serif;
    font-weight: 700;
    font-size: 40px;
    text-align: left;
    width: fit-content;
    margin-bottom: 25px;
    color: rgb(223, 34, 65);
}

span
{
    font-size: 25px;
    margin: 0;
}

.grid-2even
{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hero
{
    width: 100%;
    margin-top: -50px;

    animation-name: popin;
    animation-duration: 1s;
    animation-delay: 0.55s;
    animation-fill-mode: forwards;

    scale: 0.25;
    opacity: 0;
}

@keyframes popin
{
    from
    {
        scale: 0.25;
        opacity: 0.25;
    }
    to
    {
        scale: 1;
        opacity: 1;
    }
}

.whatever
{
    margin-top: 75px;
}

.whatever h2
{
    animation-name: fadein;
    animation-duration: 1.25s;
}

.whatever h1
{
    animation-name: fadein;
    animation-duration: 1s;
    animation-delay: 0.25s;
    animation-fill-mode: both;
}

.whatever .flex
{
    animation-name: fadein;
    animation-duration: 1s;
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

@keyframes fadein
{
    from
    {
        opacity: 0;
    }    
    to
    {
        opacity: 1;
    }
}

.flex
{
    display: flex;
    align-items: center;
    height: fit-content;
}

.intext-arrow
{
    width: 150px;
    margin-right: 15px;
    margin-top: 10px;
}

.content-header
{
    margin-bottom: 25px;

    animation-name: fadein;
    animation-duration: 1.75s;
}

.spacebetween
{
    justify-content: space-between;
}

.content-header h1
{
    font-size: 100px !important;
    margin-right: 50px;
}

.divider
{
    width: 50%;
}

.grid-3even
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.corner
{
    width: 200px;
    position: relative;
    top: 75px;
}

h3
{
    font-family: Birch-std, serif;
    font-size: 45px;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
}

li
{
    color: rgb(223, 34, 65);
    font-family: oso-sans, sans-serif;
    font-weight: 600;
    margin: 15px 0;
    font-size: 25px;
}

.smallimg
{
    width: 200px;
    margin-right: 25px;
    margin-bottom: 20px;
}

.content-divider
{
    margin-bottom: 75px;
}

.selectlist
{
    text-align: left;
}

.selectlist li
{
    height: 100px;
    margin: 0;
    align-content: center;
    cursor: pointer;
    transition: 0.25s;
    font-family: birch-std, serif;
    font-size: 40px;
    letter-spacing: 0.5px;
}

.selectlist img
{
    width: 125px;
    margin-right: 30px;
    margin-bottom: -5px;
    opacity: 0;
    transition: 0.75s;
}

.selectlist li:hover img
{
    opacity: 0.3;
}

.gallery
{
    grid-template-columns: 1fr 1fr;
    margin-top: 25px;
}

.gallery img
{
    width: 100%;
}

.gallery img:first-child, .gallery p
{
    grid-column: 1/3;
}

.sample-description
{
    font-family: oso-sans, sans-serif;
    font-size: 20px;
    display: none;
    text-align: left;
    padding-left: 150;
    margin-top: 35px;
    line-height: 40px;
    color: rgb(170, 170, 170);
    text-indent: 50px;
    padding-right: 25px;
}

#cereal
{
    display: grid;
}

#Cerealtext
{
    display: block;
}

.active-section
{
    color: white;
}

.active-section img
{
    opacity: 1 !important;
}

.tabcontent
{
    animation: fadeEffect 1s; /* Fading effect takes 1 second */
    display: none;
}
  /* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

#selectdivider
{
    width: 75%;
    margin-left: 115px;
}

#certs span
{
    text-align: center;
    font-family: birch-std, serif;
    font-size: 35px;
    letter-spacing: 0.5px;
    transition: 0.5s;
    cursor: pointer;
}

#certs span:hover
{
    color: white;
}

#certs
{
    width: 100%;
    justify-content: space-between;
    margin-bottom: 25px;
}

#html
{
    display: block;
}

.certs
{
    height: 800px;
}

.gridlink
{
    height: 500px;
    width: 100%;
    background: linear-gradient(0deg,rgba(194, 19, 19, 0.5) 0%, rgba(245, 81, 81, 0.35) 35%, rgba(0, 0, 0, 0) 100%);
    transition: 0.5s;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: end;
}

.gridlink:hover
{
    background-color: rgba(243, 72, 101, 0.3);
}

.gridlink-bg
{
    background-size: 200%;
    background-position: center;
}

#worksamplebg
{
    background-image: url(media/work\ sample\ preview.png);
}

#resumebg
{
    background-image: url(media/resume\ bg.png);
    background-size: cover;
}

#certsbg
{
    background-image: url(media/certs\ bg.png);
    background-size: cover;
}

.gridlink h4
{
    font-family: birch-std, serif;
    font-size: 75px;
    text-shadow: 0px 0px 10px black;
    margin-bottom: 50px;
    -webkit-text-stroke: 7px black;
    paint-order: stroke fill;
    transition: 0.5s;
}

.gridlink:hover h4
{
    font-size: 80px;
}