/* Copyright 2021 */

/* Theming */
.theme-light {
    --theme-color-primary: #fc7233; /* orange */
    --theme-color-primary-alt1: #ffa278; /* light orange */
    --theme-color-secondary: #fff; /* white */
    --theme-color-secondary-alt1: #b3b3b3; /* light grey */
    --theme-color-secondary-opposite: #4d4d4d; /* dark-grey */
}

.theme-dark {
        --theme-color-primary: #fc7233; /* orange */
        --theme-color-primary-alt1: #ce6c40; /* dark orange */
        --theme-color-secondary: #4d4d4d; /* dark-grey */
        --theme-color-secondary-alt1: #8f8f8f; /* light grey */
        --theme-color-secondary-opposite: #fff; /* white */
}

/* Logo */
.background { fill: #ffffff;
        opacity: 0.0 } 
.D { fill: var(--theme-color-secondary-opposite) } 
.G { fill: var(--theme-color-primary) } 


/********* Everything Else *********/
html {
  background-color: var(--theme-color-secondary);
  background-position: center top;
  background-size: cover;
  /*text-transform: uppercase;*/
  scroll-behavior: smooth;
}
garrett, b {
  text-transform: uppercase;
  color: var(--theme-color-primary);
  font-weight: 400;
  letter-spacing: 10px;
  font-weight: 400;
}
dowd, b {
  text-transform: uppercase;
  color: var(--theme-color-secondary-opposite);
  letter-spacing: 4px;
  font-weight: 700;
}
smallSpace, b {
    font-size: 6px;
    letter-spacing: 2px;
}
.center-block {
  margin: auto;
  width: 80%;
  padding: 10px;
}
.center-block a {
    text-decoration: none;
    color: #f77754;
}
a:hover {
  	color: #da244a;
	cursor: pointer;
}

.logo {
    display: block;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    width: 7%;
    min-width: 64px;
    max-width: 128px;
    height: auto;
    animation: fadein 5s;
    -moz-animation: fadein 5s; /* Firefox */
    -webkit-animation: fadein 5s; /* Safari and Chrome */
    -o-animation: fadein 5s; /* Opera */
}

#banner p {
    margin-top: 0px;
    margin-bottom: 20px;
    font-family: 'Lato', sans-serif;
    font-size: 35px;
    color: white;
    text-align: center;
    animation: fadein 3s;
    -moz-animation: fadein 3s; /* Firefox */
    -webkit-animation: fadein 3s; /* Safari and Chrome */
    -o-animation: fadein 3s; /* Opera */
}
hr {
    display: block;
    height: 2px;
    width: 100%;
    max-width: 500px;
    border: 0;
    color: #9E9E9E;
    background-color: #9E9E9E;
    margin: auto;
    padding: 0;
    opacity: 0;
    animation: fadein 2s ease-in-out 0.2s forwards;
    -moz-animation: fadein 2s ease-in-out 0.2s forwards; /* Firefox */
    -webkit-animation: fadein 2s ease-in-out 0.2s forwards; /* Safari and Chrome */
    -o-animation: fadein 2s ease-in-out 0.2s forwards; /* Opera */
}
.about p {
    margin-top: 10px;
    font-size: 18px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    color: var(--theme-color-secondary-opposite);
    letter-spacing: 2px;
    opacity: 0;
}
.about-1 p {
    margin-top: 40px;
    animation: fadein 2s ease-in-out 0.4s forwards;
    -moz-animation: fadein 2s ease-in-out 0.4s forwards; /* Firefox */
    -webkit-animation: fadein 2s ease-in-out 0.4s forwards; /* Safari and Chrome */
    -o-animation: fadein 2s ease-in-out 0.4s forwards; /* Opera */
}
.about-2 p {
    animation: fadein 2s ease-in-out 0.8s forwards;
    -moz-animation: fadein 2s ease-in-out 0.8s forwards; /* Firefox */
    -webkit-animation: fadein 2s ease-in-out 0.8s forwards; /* Safari and Chrome */
    -o-animation: fadein 2s ease-in-out 0.8s forwards; /* Opera */
}
.about-3 p {
    animation: fadein 2s ease-in-out 1.2s forwards;
    -moz-animation: fadein 2s ease-in-out 1.2s forwards; /* Firefox */
    -webkit-animation: fadein 2s ease-in-out 1.2s forwards; /* Safari and Chrome */
    -o-animation: fadein 2s ease-in-out 1.2s forwards; /* Opera */
}

#more {
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 15px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    color: #fff;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadein 3s ease-in-out 1.6s forwards;
    -moz-animation: fadein 3s ease-in-out 1.6s forwards; /* Firefox */
    -webkit-animation: fadein 3s ease-in-out 1.6s forwards; /* Safari and Chrome */
    -o-animation: fadein 3s ease-in-out 1.6s forwards; /* Opera */
}
.button {
  background-color: var(--theme-color-primary-alt1); 
  border: none;
  color: white;
  font-family: 'Lato', sans-serif;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 3px 2px;
  cursor: pointer;
}
.button:hover {
  background-color: var(--theme-color-primary);
  color: white;
}

.button-util {
  background-color: var(--theme-color-primary-alt1); 
  border: none;
  color: white;
  font-family: 'Lato', sans-serif;
  font-size: 9px;
  padding: 5px 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 4px;
  cursor: pointer;
}
.button-util:hover {
  background-color: var(--theme-color-primary); 
  color: white;
}

#morestuff {
    margin-top: 30px;
    font-size: 14px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    color: var(--theme-color-secondary-opposite);
    letter-spacing: 2px;
}

.bio {
    margin: auto;
    width: 80%;
    max-width: 500px;
    padding: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    text-align: justify;
    opacity: 0;
}
.bio-1 {
    animation: fadein 1s ease-in-out 0.1s forwards;
    -moz-animation: fadein 1s ease-in-out 0.1s forwards; /* Firefox */
    -webkit-animation: fadein 1s ease-in-out 0.1s forwards; /* Safari and Chrome */
    -o-animation: fadein 1s ease-in-out 0.1s forwards; /* Opera */
}
.bio-2 {
    animation: fadein 1s ease-in-out 1.1s forwards;
    -moz-animation: fadein 1s ease-in-out 1.1s forwards; /* Firefox */
    -webkit-animation: fadein 1s ease-in-out 1.1s forwards; /* Safari and Chrome */
    -o-animation: fadein 1s ease-in-out 1.1s forwards; /* Opera */
}
.bio-3 {
    animation: fadein 1s ease-in-out 2.1s forwards;
    -moz-animation: fadein 1s ease-in-out 2.1s forwards; /* Firefox */
    -webkit-animation: fadein 1s ease-in-out 2.1s forwards; /* Safari and Chrome */
    -o-animation: fadein 1s ease-in-out 2.1s forwards; /* Opera */
}

.contactlinks {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 15px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    color: white;
    letter-spacing: 2px;
    top:20%;
    left: 50%;
}
.contactlinks a {
    opacity: 0;
    animation-delay: 2s;
    animation: fadein 3s ease-in-out 2.5s forwards;
    -moz-animation: fadein 3s ease-in-out 2.5s forwards; /* Firefox */
    -webkit-animation: fadein 3s ease-in-out 2.5s forwards; /* Safari and Chrome */
    -o-animation: fadein 3s ease-in-out 2.5s forwards; /* Opera */
    color: var(--theme-color-secondary-alt1);
	text-decoration: none;
}
.contactlinks a:active, .contactlinks a:hover {
    color: var(--theme-color-primary);
}


/********* Dark/Light Mode button *********/
.container {
  display: flex;
  width: 100%;
  height: 100%;
  background: var(--theme-color-secondary);
  flex-direction: column;
  justify-content: center;
  align-items: left;
}
.container h1 {
  color: var(--font-color);
  font-family: sans-serif;
}
.container button {
  color: var(--font-color);
  background: var(--theme-color-primary);
  padding: 10px 20px;
  border: 0;
  border-radius: 5px;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  left: 0px;
  bottom: 4px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  box-shadow: 0 0px 15px #2020203d;
  background: white url('https://i.ibb.co/FxzBYR9/night.png');
  background-repeat: no-repeat;
  background-position: center;
}
input:checked + .slider {
  background-color: var(--theme-color-primary);
}
input:focus + .slider {
  box-shadow: 0 0 1px var(--theme-color-primary);
}
input:checked + .slider:before {
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
  background: white url('https://i.ibb.co/7JfqXxB/sunny.png');
  background-repeat: no-repeat;
  background-position: center;
}
/* Rounded sliders */
.slider.round {
  border-radius: 15px;
}
.slider.round:before {
  border-radius: 50%;
}


/********* Text and image fading *********/

@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-moz-keyframes fadein { /* Firefox */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-o-keyframes fadein { /* Opera */
    from {
        opacity:0;
    }
    to {
        opacity: 1;
    }
}

/********* Email Obfuscation *********/
a[href^="mailto"] {
    display: inline-block;
    font: normal normal normal 36px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a[href^="mailto"]:before {
    content: "\f0e0";
}

