/* 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;
} */

/* CSS VARIABLES */
:root {
  --brown: #2d2014;
  --white-10: rgba(255, 255, 255, 0.1);
}

/* -------------- FONT STYLES --------------- */

/* Font Family */
@font-face {
  font-family: "Luxia-Display";
  src: local("Luxia-Display"),
    url("assets/font/Luxia-Display.otf") format("opentype");
}

@font-face {
  font-family: "Luxia-Regular";
  src: local("Luxia-Regular"),
    url("assets/font/Luxia-Regular.otf") format("opentype");
}

/* -------------- TAG STYLES --------------- */

body {
  background: url(assets/images/background.png) no-repeat center center fixed;
  background-size: cover;
  color: white;
  font-family: "Luxia-Regular", "Segoe UI", "Helvetica Neue", sans-serif;
  width: 100vw;
  height: 100vh;
}

h1 {
  font-size: 80px;
}

h2 {
  font-family: "Luxia-Display";
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

h6 {
  font-size: 20px;
}

p {
  font-size: 16px;
  margin-bottom: 0.1rem;
}

p:hover, h2:hover, h1:hover, article li:hover, h3:hover, h4:hover {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.2s ease-out;
}

p, h2, h1, article li, h3, h4 {
  color: white;
  transition: 0.2s ease-in;
}

em {
  font-size: 12px;
  font-family: "Luxia-Display";
  font-style: normal;
}

/* -------------- CUSTOM ATTRIBUTE STYLES --------------- */

/* background colors */
.bg-brown {
  background-color: var(--brown);
}

.text-brown {
  color: var(--brown);
}

/* font size */
.fs-7 {
  font-size: 12px;
}

.project-page {
  width: 40px;
}

.project-page:hover{
  background-color: var(--white-10);
  color: white;
}

#project-details {
  max-width: 35rem;
}

/* -------------- INPUT / FORMS STYLES --------------- */

input,
textarea {
  color: rgba(255, 255, 255, 0.75) !important;
}

::placeholder {
  color: rgba(255, 255, 255, 0.1) !important;
}

.form-control {
  border: none;
  background-color: rgba(0, 0, 0, 0.25);
}

.form-control:focus {
  border: none;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
}

/* button style */
.btn-light {
  color: #482417;
}

/* -------------- SCROLLBAR STYLES --------------- */

/* width */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/* track */
::-webkit-scrollbar-track {
  background: #2c271d84;
}

/* handle */
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}

/* handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}


/* -------------- NAVIGATION BAR STYLES --------------- */

/* navigation bar styles */
.navbar {
  background-color: #2d20149f;
}

/* place navigation tabs at the end of the screen */
#navbarTogglerDemo03 {
  justify-content: flex-end;
}

.navbar-brand {
  font-size: 0.9rem;
  font-weight: 100;
  margin-top: auto;
  margin-bottom: 0.1rem;
}

.nav-item {
  color: transparent;
  -webkit-text-fill-color: transparent; /* Will override color (regardless of order) */
  -webkit-text-stroke: 0.5px white;
}

/* active tab */
.nav-item.active {
  border: 0.5px solid white;
  border-bottom: none;
  border-radius: 5px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* for lower than lg */
@media only screen and (max-width: 992px) {
  /* For mobile phones: */

  /* remove rounded border in active */
  .nav-item.active {
    border: none;
  }
}

.nav-link {
  font-size: 1.4rem;
}

li.active a {
  color: white;
  -webkit-text-fill-color: white;
  -webkit-text-stroke: 0.5px transparent;
}

li:hover a {
  color: white;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.95);
  -webkit-text-stroke: 0.5px transparent;
}


/* -------------- MAIN RECTANGLE FRAME --------------- */

/* Main rectangular frame of the site */
.rect {
  display: block;
  border: 0.5px solid white;
  border-radius: 5px;
  height: 80%;
  margin: 0 2.5% 2% 2.5%;
}

/* -------------- BACKGROUND STYLES --------------- */

/* background circle floating animation */
.floating {
  animation: floating-animation 3.5s ease-in-out infinite;
}

@keyframes floating-animation {
  0% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, 50px);
  }
  100% {
    transform: translate(0, -0px);
  }
}

.md-circle {
  width: 1412px;
  height: 1412px;
  border-radius: 1412px;
}

.lg-circle {
  width: 1570px;
  height: 1570px;
  border-radius: 1570px;
}

/* brown background circle */
.bg-circle-brown {
  background: radial-gradient(
    43.15% 43.15% at 50.06% 49.94%,
    rgba(72, 36, 23, 0.8) 24.4%,
    rgba(72, 36, 23, 0) 100%
  );
}

/* orange background circle */
.bg-circle-orange {
  background: radial-gradient(
    43.15% 43.15% at 50.06% 49.94%,
    rgba(140, 91, 52, 0.8) 24.4%,
    rgba(146, 96, 57, 0) 100%
  );
}

/* black background circle */
.bg-circle-black {
  background: radial-gradient(
    43.15% 43.15% at 50.06% 49.94%,
    rgba(36, 33, 28, 0.8) 24.4%,
    rgba(36, 33, 28, 0) 100%
  );
}

/* gray background circle */
.bg-circle-gray {
  background: radial-gradient(
    43.15% 43.15% at 50.06% 49.94%,
    rgba(129, 119, 96, 0.4) 24.4%,
    rgba(129, 119, 96, 0) 100%
  );
}

/* positioning of the background circles */
.fixed-lower-left {
  position: fixed;
  top: 10%;
  left: -90%;
  z-index: -4;
}

.fixed-lower-middle {
  position: fixed;
  top: 25%;
  left: -20%;
  z-index: -3;
}

.fixed-top-left {
  position: fixed;
  bottom: 30%;
  left: -58%;
  z-index: -2;
}

.fixed-top-right {
  position: fixed;
  bottom: 10%;
  right: -60%;
  z-index: -1;
}



/* -------------- PROJECT PAGE STYLES --------------- */

/* project styles */
.project-image {
  filter: grayscale(0.5);
  transition: 1s ease-in-out;
}

.project-image:hover {
  filter: grayscale(0);
  transition: 1s ease-in-out;
}

.project-tag {
  border: 1px solid white;
  border-radius: 0.75rem;
  padding: 0.2rem 0.8rem;
  margin-right: 0.5rem;
}

/* -------------- ANIMATION --------------- */

/* show page animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  60% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  60% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-right {
  opacity: 0;
  animation: fadeInRight 2s forwards;
}

.fade-in-left {
  opacity: 0;
  animation: fadeInLeft 2s forwards;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 3s;
}

/* -------------- CARD STYLES --------------- */

.card {
  background-color: var(--white-10);
  border: 0.5px solid white;
}
