
@font-face {
  font-family: Vt;  
  src: url(./assets/fonts/VT323-Regular.ttf);
}
@font-face {
  font-family: ConSans;  
  src: url(./assets/fonts/ConnectionIii-Rj3W.otf);
}
@font-face {
  font-family: ConSerif;
  src: url(./assets/fonts/ConnectionSerif-d20X.otf);
}
:root {
  font-size: 16px;

  --color-bg: rgb(84,139,255);
  --color-bg-accent: rgb(164, 219, 255);
  --color-box: rgb(200,76,12);
  --color-uline: rgb(254,188,177);
  --color-box-alt: #259597;
  --color-uline-alt: #c3edeb;
  --color-bline: rgb(4,2,6);
  --color-cbox: rgb(252,152,56);
  --color-culine: rgb(200,76,12);
  --color-cbline: rgb(4,2,6);
  --link-color: lawngreen; 

  --sans-font: ConSans, sans-serif;
  --serif-font: ConSerif, sans-serif;
  --read-font: 'Times New Roman', Times, serif;
  --block-font: Vt, serif;
  --color-text-light: rgb(164, 219, 255);
  --color-text-standard: rgb(255, 255, 255);
  --color-text-negative: rgb(84,139,255);
  
  --container-width: 512px;
  --navbar-height: 50px;
  --navbar-offset: 60px;

  --tra-time-long: 0.5s;
  --tra-style: cubic-bezier(.84,-1.47,.27,1.97);
}


*{
  margin: 0;
  padding: 0;
  box-sizing: boder-box;
  scroll-behavior: smooth;
 
}

body {
  font-family: var(--sans-font);  
  font-size: 16px;
  font-weight: 100;
  color: var(--color-text-standard);
  background-color: var(--color-bg);
}


h1 {
  font-family: var(--block-font);
  font-weight: 100;
  font-size: 4.5rem; 
  color: whitesmoke;
  text-shadow: 3px 3px rgb(0 0 0 / 100%);

}



/* 💡 TODO margin betweeen subtitle un title */
h2 {
  font-family: var(--block-font);
  font-weight: 100;
  font-size: 3rem; 
}
h3 {
  font-family: var(--block-font);
  font-weight: 100;
  font-size: 2.0rem; 
}

h4 {
  font-size: 1.8rem;
  font-weight: 100;
  letter-spacing: 1px;
}

.control-btns {   

  width: 64px;
  height: 64px;
  margin: 0 8px;
  padding-top: 8px;
  font-size: 2rem;
  letter-spacing: -4px;
  
  color: var(--color-box);
  background-color: var(--color-cbox);
  display:flex;
  justify-content: center;
  align-items: center;    

  cursor: pointer;

  border-style: solid;
  border-width: 4px;
  border-top-color: var(--color-culine);
  border-left-color: var(--color-culine);   
  border-right-color: var(--color-cbline);
  border-bottom-color: var(--color-cbline);

}



.control-btns:hover:not(.no-more){
  filter: brightness(110%);
}


.control-btns:disabled {
  color: var(--color-cbox);
  background-color: var(--color-box);
  border-top-color: var(--color-cbox);
  border-left-color: var(--color-cbox); 
  border-right-color: var(--color-cbline);
  border-bottom-color: var(--color-cbline);
}

.control-btns.no-more{
  color: var(--color-cbox);
  background-color: var(--color-box);
  border-top-color: var(--color-cbox);
  border-left-color: var(--color-cbox); 
  border-right-color: var(--color-cbline);
  border-bottom-color: var(--color-cbline);
}

/*📝 https://stackoverflow.com/questions/12591966/html-disabled-button-getting-active-css-pseudo-class */
.control-btns:enabled:active{
  margin-top: -2px;
  color: var(--color-cbox);
  background-color: var(--color-box);
  border-top-color: var(--color-cbline);
  border-left-color: var(--color-cbline); 
  border-right-color: var(--color-culine);
  border-bottom-color: var(--color-culine);
}


#main-title{
  /* width: 50%; */
  margin: 3rem 0 1rem 0;
  padding: 0 0 3rem 0;
  text-align: center;
  letter-spacing: 0.4rem;
  line-height: 3rem;
  border-bottom: solid 1px;
  
}

#main-title a {
  color: white;  
  text-decoration: none;

}

.flex-subtitle {
  margin: 1.6rem 0 0 0;
  text-align: center;
  text-shadow: 2px 2px rgb(0 0 0 / 75%);
}

.main {  
  display: flex;  
  justify-content: center;
  flex-direction: column;
  align-items: center;  
}

.section-content {
  width: var(--container-width);  
  margin: 3rem 0 1.5rem 0;  
}

.section-content summary, .section-content details{
  font-size: 1.0rem;
  letter-spacing: 2px;
}

.section-content details{
  height: 35px;
}

.section-content details p{
  margin-top: 0.5rem;
}

.section-info {
  width: var(--container-width);
  /* font-family: var(--read-font); */
  font-family: var(--block-font);
  font-weight: 100;
  font-size: 1.5rem;
  text-align:left;
  /* height: 85vh; */
  margin: 3rem 0 1.5rem 0;  
}
.section-short-info {
  width: var(--container-width);
  /* font-family: var(--read-font); */
  font-family: var(--block-font);
  font-weight: 100;
  font-size: 1.5rem;
  text-align:center;
  /* height: 85vh; */
  margin: 3rem 0 1.5rem 0;  
}

.section-info p {
  letter-spacing: 0.016rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.section-info a {
  color: var(--color-box);
}

.social-info{
  padding-top: 2rem;
  font-family: var(--block-font);
  font-weight: 100;
  font-size:1rem;
  text-align:center;
  /* height: 85vh; */
  letter-spacing: 0.016rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.section-menu {
  width: var(--container-width);
  margin-top: 1.5rem;
  margin-bottom: 4rem;  
  text-align: center;

}

.section-menu .links{
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.links:hover{
  color: var(--color-bg);
  background-color: white; 
}

.links a {
  color: white;
}
.links a:hover {
  color: var(--color-bg);
}


.section-title {
  font-size: 2.4rem;
  text-align: center;
  /* 💡 Offseting with margin to avoid overlaping after using anchor links */
  margin-top: var(--navbar-offset);
}

.container-css-properties {    
  margin: 1rem auto 0.5rem auto;
  padding: 0px 0; 
  font-size: 1.1rem;
  letter-spacing: 1px;
  line-height: 1.4rem;
  color: var(--color-text-light);  
}

.margin-css-properties{  
  margin-left: 1.2rem;
}

.container-css-properties .main-prop {
  padding-left: 4px;
  color: var(--color-text-standard);
  transition:all 0.25s cubic-bezier(.84,-1.47,.27,1.97)
}

.highlight-prop {
  color: var(--color-text-negative);
  background-color: white;
  padding: 3px 6px;
  margin-right: 2px;
  transition:all 0.25s cubic-bezier(.84,-1.47,.27,1.97)
}

.container {
  display: flex; /* Temp  */
  height: 280px;  /* Temp */
  margin: 1rem auto 0.5rem auto;
  padding: 5px; 
  border: dashed 5px var(--color-bg-accent);
}

.blocks {
  /* Temporary value */  
  width: 45px;
  margin: 0px 0px;
  background-color: var(--color-box);
  padding: 3px;
  font-size: 2.5rem;
  color: white;
  text-shadow: 2px 2px black;

  border-style: solid;
  border-width: 8px;
  border-top-color: var(--color-uline);
  border-right-color: var(--color-bline);
  border-bottom-color: var(--color-bline);
  border-left-color: var(--color-uline); 

  user-select: none;
  
  display:flex;
  justify-content: center;
  align-items: center;
  transition: 
    background-color var(--tra-time-long) var(--tra-style),
    border-left-color var(--tra-time-long) var(--tra-style),
    border-top-color var(--tra-time-long) var(--tra-style),
    transform var(--tra-time-long) var(--tra-style)
  ;  
}

.highlight-block {
  background-color: var(--color-box-alt);
  border-top-color: var(--color-bline-alt);
  border-left-color: var(--color-bline-alt);
  transform: scale(110%);
  transition: 
    background-color var(--tra-time-long) var(--tra-style),
    border-left-color var(--tra-time-long) var(--tra-style),
    border-top-color var(--tra-time-long) var(--tra-style),
    transform var(--tra-time-long) var(--tra-style)
  ;  
}


.container-controls{
  margin: 1rem 0 0 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.boxes div {
  margin: 0;
  padding: 0;
  margin: auto;  
}

footer {
  margin-top: 3rem;
  padding-bottom: 6rem;
  background: #61402d;

}
footer a {
  color: white;
  text-decoration: none;
}

footer a:hover{
  text-decoration: underline;
}

footer ul {
  list-style-type: none;
}

footer nav li {
  display: inline;
  font-size: 1.6rem;
  margin: 0 1rem;
}

.footer-green {
  display: block;
  height: 24px;
  background: green;
  background: lawngreen;
  border-bottom: 2px solid black;
}

.nav-container {
  margin: 1rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.project-info{
  margin: 1.4rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.project-info li{
  margin: 1rem 0 0.5rem 0;
}

.social-links{
  padding-top: 1rem ;
  display: flex;
  flex-direction: row;
  justify-content:space-evenly;
  border-top: 1px solid white;
}

.social-links a img {
  height: 30px;
}



.foot-notes {
  position: relative;
  top: 80px;
  width: 300px;
}

.foot-notes * {
  display: flex;
  justify-content: space-evenly;
}

.profile-image{
  margin: auto;
  margin-top: 2rem;
  height: 75px;
}

.about-me {  
  margin-top: 1rem;
}

img.donation-links {
  height: 50px;
}

#info-banner {
  width: 100vw;
  height: 180px;
  position:fixed;
  bottom: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;

  font-size: 1.1em;
  letter-spacing: 1px;
  background-color:#61402d;
  border-top: 2px solid white;

  animation:info-banner-animation 1.5s forwards ease;
}

@keyframes info-banner-animation {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

.container-info-text {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.container-info-btns  {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

button.info-btn {
  padding: 0.5rem;
  font-family: var(--block-font);
  font-size: 1.6rem;
  color: white;
  cursor: pointer;
  background-color: #61402d;
  border: 2px solid white;
}

button.info-btn:hover {
  color: #61402d;
  background-color: white;
  border: 2px solid #61402d;
}

.info-btn a:hover {
  color: #61402d;
  background-color: white;
  text-decoration: none;
  
}


/*::::::::::::::::::::::::::
    HIDE ELEMENTS 
  ::::::::::::::::::::::::::*/

  .hidden {
    display: none;
  }

/*::::::::::::::::::::::::::
    Extra Credits 
  ::::::::::::::::::::::::::*/

  /* ═══ FONTS ═══ */
  /*
    Connectionii
    ConectionSerif
    KineticPlasma Fonts
    Robert Jablonski
    https://www.fontspace.com/kineticplasma-fonts
    https://www.dafont.com/robert-jablonski.d5679

    VT323
    Peter Hull
    https://github.com/phoikoi/VT323

  */