/**
* CSS file to hold styles that apply across the application
*/

@font-face {
    font-family: 'Esamanru';
    src: url('../fonts/esamanru Light.ttf') format('truetype');
}

:root {
    --point-green: #00D67D;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: "Esamanru", sans-serif;
}

div#main {
  display: flex;
  flex-direction: column;
}

section {
    position: relative;
    padding: 20px 0px;
    min-height: 1000px;
    justify-content: center;
    align-content: center;
}

section.dark {
  color: white;
  background: rgba(0, 0, 0, 0.25);
}

section.light {
  color: black;
  background: rgba(255, 255, 255, 0.35);
  padding: 8rem 0;
}

section img.background {
  width: 80vmax;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  pointer-events: none;
  object-fit: cover;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0) scale(2.8);
    background: no-repeat center;
    user-select: none;
    pointer-events: none;
    /*filter: grayscale(0.8);*/
    filter: brightness(50%);
    height: 100%;
    width: 80vh; /* 100 * 16 / 9 */
    min-height: 56.25vw; /* 100 * 9 / 16 */
}

.home-img {
    transform: scale(0.3);
}


h1 {
    font-weight: 300;
    font-family: "Cormorant Garamond", serif;
    font-size: 7rem;
    margin: 0;
    text-align: center;
}

@media screen and (max-width: 300px) {
    h1 {
        font-weight: 300;
        font-family: "Cormorant Garamond", serif;
        font-size: 3rem;
        margin: 0;
        text-align: center;
    }
}

@media screen and (min-width: 301px) and (max-width: 360px) {
    h1 {
        font-weight: 300;
        font-family: "Cormorant Garamond", serif;
        font-size: 4rem;
        margin: 0;
        text-align: center;
    }
}

@media screen and (min-width: 361px) and (max-width: 420px) {
    h1 {
        font-weight: 300;
        font-family: "Cormorant Garamond", serif;
        font-size: 5rem;
        margin: 0;
        text-align: center;
    }
}

h2 {
  font-weight: 400;
  font-size: 2rem;
  margin: 0;
  text-align: center;
}

h3 {
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0;
  text-align: center;
}

h3_left {
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0;
}
p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 0;
  font-weight: 300;
}

p.large {
  font-size: 24px;
}

p.small {
  font-size: 15px;
}

hr {
  margin: 2.5rem;
}

li {
  line-height: 1.7;
}

li::marker {
  color: #4e567e;
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  color: #4e567e;
}

#header a {
    color: var(--point-green);
}
#header a:hover {
    font-weight: bold;
}

#home {
    min-height: 1600px;
}

#home-title {
    position: absolute; 
    top: 5%; 
    left: 0%;
    right:0%;
}


.portfolio-container {
  display: flex;
  flex-direction: row;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 3rem;
}

@media screen and (max-width: 640px) {
  .portfolio-container {
    flex-direction: column;
  }
}

.portfolio-hero {
  margin: 10px auto;
  max-width: 50%;
  align-self: center;
}

@media screen and (max-width: 640px) {
  .portfolio-hero {
    max-width: 100%;
    align-self: center;
  }
}

.about-content {
    color: white; 
    width: 50%;
    margin: 3rem auto; 
    text-align: center;
}

.about-member {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.about-member .box {
  border: 20px solid rgb(0, 0, 0);
  padding: 10px 16px;
  margin: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-skill {
    text-align: left; 
    columns: 1; 
    font-size: 1.25rem; 
    margin: 2rem 3rem; 
    gap: 3rem;
}

.container {
  margin: 20px auto;
  display: inline;
  grid-template-columns: 330px 300px;
  grid-gap: 20px;
}

.container .box {
  border-radius: 10px;
  padding: 24px 16px;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  text-align: left;
}

img.social-icon {
  width: 30px;
  height: 30px;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }