/* style.css */
:root {
  --theme-color-1: #73ff73;
  --normal-text-color: #000;
  --main-header-text-color: #004b00;
  --main-header-text-shadow: #002800;

  --line-height: 1.2;
  --header-font-size: 4rem;
  --header-margin-botttom: 20px;
  --main-header-z-index: 999;

  --header-relative-pos-top: 0px;
  --header-relative-pos-left: 0px;

  --header-nav-padding: 20px;

  --navbar-padding: 20px;

  --nav-links-margin-left: 15px;

  --hero-padding-top: 50px;
  --hero-padding-bottom: 50px;

  --text-content-margin-right: 0;
  --text-content-margin-left: 100px;

  --button-padding-top: 10px;
  --button-padding-right: 20px;

  --button-margin-top: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100%;
  line-height: var(--line-height);
}

p {
  text-align: center;
}

body, h2, h3, p {
  font-family: 'Roboto', sans-serif;
}

h1 {
  margin-top: 0;
}

#header {
  position: relative;
  font-size: var(--header-font-size);
  margin-bottom: var(--header-margin-botttom);
  z-index: var(--main-header-z-index);
  min-height: calc(var(--header-font-size) * var(--line-height));
  display: inline-block;
}

#header > #top {
  position: absolute;
  top: var(--header-relative-pos-top);
  left: var(--header-relative-pos-left);
  color: var(--main-header-text-color);
  transition: ease-in-out 0.5s;
}
#header > #shadow {
  position: absolute;
  top: var(--header-relative-pos-top);
  left: var(--header-relative-pos-left);
  color: var(--main-header-text-shadow);
  z-index: -1;
  transition: ease-in-out 0.5s;
}
header {
  width: 100vw;
  background-color: var(--theme-color-1);
  box-shadow: rgba(0, 0, 0, 0.3) 0 10px 5px -5px;
}
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: var(--header-nav-padding);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
}

.logo {
  padding-left: 50px;
  font-weight: bold;
  font-size: 1.5rem;
  width: 8ch;
  animation: typing 1s steps(8), blink .5s step-end infinite alternate;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  font-family: monospace;
}

@keyframes typing {
  from {
    width: 0
  }
}
    
@keyframes blink {
  50% {
    border-color: transparent
  }
}

.nav-links {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}

a {
  margin: 0 0 0 var(--nav-links-margin-left);
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

.hero {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-right: 0;
  margin-left: 0;
  width: 100vw;
  padding: var(--hero-padding-top) 0 var(--hero-padding-bottom) 0;
  background-color: var(--theme-color-1);
}

.text-content {
  min-width: 50%;
  float: left;
  margin-left: var(--text-content-margin-left);
}

.image-content {
  float: right;
}

.image-content img {
  max-width: 70%;
  height: auto;
  animation: fadeIn 2.5s;
  margin-left: var(--image-margin-left);
}

.box1 {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: left;
  background-color: #fff;
  padding: 80px;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 15px;
  margin-top: 15px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 5px;
}
.box2 {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  justify-content:right;
  background-color: #fff;
  padding: 80px;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 15px;
  margin-top: 15px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 5px;
}

.box1, .box2 {
display: flex;
align-items: center;
justify-content: space-around;
background-color: #fff;
padding: 20px;
margin: 15px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 5px;
}


.box2 {
flex-direction: row-reverse;
}

.img-container, .txt-container {
flex: 1; 
display: flex;
flex-direction: column;
justify-content: center; 
align-items: center; 
margin: 10px;
text-align: center; 
}


@media only screen and (max-width: 600px) {
.box1, .box2, .box3 {
    flex-direction: column;
}

.box2 {
    flex-direction: column;
}

.img-container, .txt-container {
    align-items: center; 
    text-align: left; 
}
}


.img-container > img {
  height: 300px;
  width: fit-content;
  box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px 2.5px;
}
.img-container {
  display: flex;
  flex-direction: column;
  margin-left: 50px;
  margin-right: 50px;
}
.txt-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 50px;
  margin-right: 50px;
  width: 100%;
  min-height: 100%;
  box-shadow: rgba(0, 0, 0, 0.1) 0 0 5px 2.5px inset;
  padding: 15px;
  justify-content: center;
  align-items: center; 
  max-width: 800px;
}

#intro {
  padding: 80px;
  max-width: 80vw;
  display: flex;
  flex-direction: column;
}
#intro > .links{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
#intro > .links > a {
  margin: 25px;
  font-size: 1.5rem;
}
/*
https://uiverse.io/TISEPSE/perfect-pig-59
*/
a {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  border: 2px solid var(--theme-color-1);
  text-transform: uppercase;
  color:#000;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
}

a::before {
  content: '';
  position: absolute;
  top: 6px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% - 12px);
  background-color: #fff;
  transition: 0.3s ease-in-out;
  transform: scaleY(1);
}

a:hover::before {
  transform: scaleY(0);
}

a::after {
  content: '';
  position: absolute;
  left: 6px;
  top: -2px;
  height: calc(100% + 4px);
  width: calc(100% - 12px);
  background-color: #fff;
  transition: 0.3s ease-in-out;
  transform: scaleX(1);
  transition-delay: 0.5s;
}

a:hover::after {
  transform: scaleX(0);
}

a span {
  position: relative;
  z-index: 3;
}

button {
  background-color: none;
  text-decoration: none;
  background-color: #fff;
  border: none;
  margin-top: 7.5px;
  margin-bottom: 7.5px;
}

.nav-links a {
  border: 2px solid #000;
  color:#000;
}

.nav-links a::before {
  background-color: var(--theme-color-1);
}

.nav-links a::after {
  background-color: var(--theme-color-1);
}

.nav-links button {
  background-color: var(--theme-color-1);
}
.members-button-separate a {
  border: 2px solid #000;
  color:#000;
}

.members-button-separate a::before {
  background-color: var(--theme-color-1);
}

.members-button-separate a::after {
  background-color: var(--theme-color-1);
}

.members-button-separate button {
  background-color: var(--theme-color-1);
}

footer {
  margin: 80px;
}


@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.custom-link {
  color: #000; 
  text-decoration: none;
  font-size: 1rem; 
  padding: 5px; 
  display: inline-block;
  margin-top: 10px; 
  transition: color 0.3s ease; 
}

.custom-link:hover {
  color: var(--theme-color-1);
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
#intro > .links {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.hero {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}

.image-content {
    float: none;
}

.text-content {
    float: none;
}

.nav-links {
    flex-wrap: wrap;
    justify-content: right;
}

.box1, .box2 {
    flex-direction: column;
}

.img-container > img {
    max-width: 100%;
    height: auto;
    margin-bottom: 25px;
}

.img-container {
    margin-left: 0px;
    margin-right: 0px;
    width: 100%;
}

.txt-container {
    margin-left: 0px;
    margin-right: 0px;
    width: 100%;
    padding: 10px;
    text-align: left;
}

:root {
    --header-font-size: 2.25rem;
    --header-margin-bottom: 20px;

    --header-nav-padding: 15px;

    --nav-links-margin-left: 15px;

    --hero-padding-top: 50px;
    --hero-padding-bottom: 50px;

    --text-content-margin-right: 0px;
    --text-content-margin-left: 50px;

    --image-margin-left: 50px;

    --button-padding-top: 10px;
    --button-padding-right: 20px;

    --button-margin-top: 20px;
}
}


/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {}


.fade-in {
  animation: fadeIn 0.5s;
}

.fade-out {
  animation: fadeOut 0.5s;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
/* smooth page switching part end*/