.dark-theme {
  --bg-color: rgba(10, 9, 10, 0.918);
  --wrapper-color: rgba(27, 31, 34, 0.7);
  --wrapper-shadow: white;
  --text-color: white;
  --main-border-color: whitesmoke;
  --image-shadow: rgb(250, 205, 137, 1);
  --video-shadow: red;
}
.dark-new-theme {
  --bg-color: #393939;
  --wrapper-color: rgba(27, 31, 34, 0.7);
  --wrapper-shadow: #00ffff;
  --text-color: white;
  --main-border-color: whitesmoke;
  --image-shadow: rgb(250, 205, 137, 1);
  --video-shadow: red;
}

.color1-theme {
  --bg-color: #ffae90;
  --wrapper-color: #ff4666;
  --wrapper-shadow: Black;
  --text-color: whitesmoke;
  --main-border-color: whitesmoke;
  --image-shadow: #ffdcdc;
  --video-shadow: red;
}
.color2-theme {
  --bg-color: #ffae6b;
  --wrapper-color: #ff4e4e;
  --wrapper-shadow: Black;
  --text-color: white;
  --main-border-color: whitesmoke;
  --image-shadow: #ffdddd;
  --video-shadow: #ffe15b;
}
.color3-theme {
  --bg-color: #ff906b;
  --wrapper-color: #ff4d4d;
  --wrapper-shadow: Black;
  --text-color: white;
  --main-border-color: whitesmoke;
  --image-shadow: #ffdddd;
  --video-shadow: red;
}

.color4-theme {
  --bg-color: #88498f;
  --wrapper-color: #ff6542;
  --wrapper-shadow: Black;
  --text-color: #f6f7f8;
  --main-border-color: #f6f7f8;
  --image-shadow: #e0cba8;
  --video-shadow: #e0cba8;
}
.color5-theme {
  --bg-color: #073b4c;
  --wrapper-color: #ff166e;
  --wrapper-shadow: #ffd166;
  --text-color: #f6f7f8;
  --main-border-color: #f6f7f8;
  --image-shadow: #f6fff8;
  --video-shadow: #f6fff8;
}

.color6-theme {
  --bg-color: #161B22;
  --wrapper-color: #222831;         /* Wrapper: Deep neutral grey */
  --wrapper-shadow: #FF4ECD;        /* Soft mint accent as shadow highlight */
  --text-color: #D3D3D3;            /* Light gray for readability */
  --main-border-color: #FF6B6B;     /* Coral red for visual pops (borders/buttons) */
  --image-shadow: #FF4ECD;          /* Slight mint glow for images */
  --video-shadow: #4ECDC4;          /* Matches image shadow for consistency */
}

.color7-theme {
  --bg-color: #161B22;             /* Dark navy - dev-friendly aesthetic */
  --wrapper-color: #222831;        /* Soft container bg */
  --wrapper-shadow: #00FFF7;       /* Electric cyan glow */
  --text-color: #D3D3D3;           /* Light gray for readability */
  --main-border-color: #FF6B6B;    /* Bright coral accent */
  --image-shadow: #4ECDC4;         /* Mint glow around images */
  --video-shadow: #4ECDC4;         /* Matching glow */
}

.color8-theme {
--bg-color: #0E0E0E;
--wrapper-color: #1C1C1E;
--wrapper-shadow: #00FFF7;
--text-color: #E0E0E0;
--main-border-color: #3DE5A3;
--image-shadow: #23D5AB;
--video-shadow: #23D5AB;

}

.color9-theme {
  --bg-color: #121212;
  --wrapper-color: #1E1E1E;
  --wrapper-shadow: #2C2C2C;
  --text-color: #CCCCCC;
  --main-border-color: #888888;
  --image-shadow: #444444;
  --video-shadow: #444444;
}

.color10-theme {

  --bg-color: #1A120F;
--wrapper-color: #2C1E1C;
--wrapper-shadow: #FFB347;
--text-color: #F2E9E4;
--main-border-color: #FF6B6B;
--image-shadow: #FFD166;
--video-shadow: #FFD166;

}


/* 
*{
  transition: all 800ms;
} */

h1 {
  font-size: 35px;
  letter-spacing: 3px;
  text-align: center;
  text-transform: capitalize;
  margin: 20px auto;
}
#wrapper h2 {
  /* float: left; */
  width: fit-content;
  max-width: 90%;
  box-sizing: border-box;
  display: block;
  margin: 20px 20px;
  padding: 0px 20px 10px 10px;
  letter-spacing: 4px;
  font-size: x-large;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 2px solid currentColor;
}
h3 {
  text-align: left;
  width: fit-content;
  /* border-bottom: 2px solid currentColor; */
  padding: 10px;
  text-transform: capitalize;
  margin: 10px 18px;
  letter-spacing: 1px;
  font-size: 20px;
}
h4 {
  text-align: left;
  text-transform: capitalize;
  margin: 10px 18px;
  letter-spacing: 1px;
  font-size: 18px;
}
ul {
  list-style: disc inside none;
  color: var(--text-color);
  text-decoration: none;
  padding: 20px;
  padding-top: 0px;
  padding-bottom: 50px;
  text-align: left;
}
li {
  margin-top: 30px;
  margin-left: 20px;
}

#wrapper {
  transition: 3s;
  width: fit-content;
  max-width: 500px;
  min-width: 360px;
  border-radius: 8px;
  min-height: 500px;
  margin: 50px auto;
  display: none;
  visibility: hidden;
  box-shadow: 0 0 10px 10px var(--wrapper-shadow);
  box-sizing: border-box;
  /*height:80vh;
    background-color: rgba(245 ,222 , 179 , 0.9);*/
  background-color: var(--wrapper-color);
  text-align: center;
  padding: 20px 10px 20px 10px;
  color: var(--text-color);
  transition: all 500ms;
  
}

body {
  width: 100%;
  box-sizing: border-box;
  min-height: 100vh;
  height: auto;
  margin: auto;
  background-color: var(--bg-color);
  /* background-color: #1d1b26; */
  /* background-image: url(../../images/bg.jpg); */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
#headermain {
  width: 50%;
  max-width: 470px;
  min-height: 400px;
  min-width: 330px;
  margin: 10% auto;
  text-align: center;
  display: none;
  visibility: hidden;
}
#logo {
  margin: auto;
  padding: auto;
  display: block;
  box-shadow: 0px 0px 9px 2px var(--main-border-color);
  border-radius: 100%;
  border-style: solid;
  border-color: var(--main-border-color);
  border-width: 2px;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  font-size: 40px;
  color: var(--text-color);
}
#headermain h1 {
  font-size: xx-large;
  text-transform: uppercase;
  letter-spacing: 10px;
  margin-top: 30px;
}
#headermain ul {
  margin: 0px auto;
  padding: 0px;
  text-align: center;
  display: inline-block;
  width: fit-content;
  text-transform: capitalize;
  line-height: 40px;
  border-radius: 10px;
  /* box-shadow: 0px 0px 9px 2px whitesmoke; */
  border-style: solid;
  border-color: var(--main-border-color);
  border-width: 1.5px;
  overflow: hidden;
}
#headermain ul li {
  content: none;
  text-decoration: none;
  list-style: none;
  display: inline-block;
  margin: 0;
  padding: 0;
  text-align: center;
  transition: background-color 0.25s ease-in-out;
}
#headermain ul :not(:last-child) {
  border-right: solid 1.5px var(--main-border-color);
}
#headermain ul li:hover {
  background-color: rgba(255, 255, 255, 0.7);
}
#headermain ul li a {
  text-decoration: none;
  display: inline-block;
  width: 100%;
  color: var(--text-color);
  text-transform: uppercase;
  font-size: larger;
  box-sizing: border-box;
  padding-left: 8px;
  padding-right: 8px;
}

#contentinner {
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
  box-sizing: border-box;
  color: var(--text-color);
  border-top: solid 2px var(--main-border-color);
  border-bottom: solid 2px var(--main-border-color);
  line-height: 40px;
}
#contentinner p {
  text-transform: capitalize;
  letter-spacing: 2px;
}

#content {
  display: block;
}
#content::before {
  content: "";
  margin: auto;
  height: 80px;
  display: block;
  border-left: solid 2px var(--main-border-color);
  width: 0px;
}
#content::after {
  content: "";
  margin: auto;
  height: 80px;
  display: block;
  border-left: solid 2px var(--main-border-color);
  width: 0px;
}
#mainbuttons {
  cursor: pointer;
  width: 100%;
  height: 30px;
  display: block;
  margin-top: 2px;
  margin-bottom: 4px;
  padding: auto;
}
#mainbuttons a {
  border-radius: 100%;
  border-style: solid;
  border-color: var(--text-color);
  border-width: 2px;
  color: var(--text-color);
  display: block;
  float: left;
  width: 30px;
  height: 30px;
  line-height: 30px;
  margin-left: 20px;
  margin-right: 20px;
  transition: transform 0.25s ease-in-out;
}
#mainbuttons a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.2);
}

.sections {
  width: 100%;
  display: none;
  padding: 5px 0px 0px 0px;
  visibility: hidden;
  box-sizing: border-box;
  
}

.sections p {
  text-decoration: none;
  display: inline-block;
  padding: 10px 30px 10px 30px;
  letter-spacing: 1px;
  text-align: left;
  color: var(--text-color);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 18px;
  font-size: 13px;
}

/* .sections p:last-child {
  margin-bottom: 20px;
} */

.github-buttons{
  background-color: black;
  border-radius: 10px;
  vertical-align: middle;
  padding-left:15px !important;
  margin: 8px 8px 8px 8px !important;
  padding-right:15px !important;
  transition: transform 0.25s ease-in-out,
    box-shadow 0.25s ease-in-out;
  transform-origin: center;
  /* outline: none; */
  

}
.github-buttons:hover{
  box-shadow:  0 0 2px 2px white;
  /* outline: 2px solid white; */
  transform: scale(1.1);
}

.github-buttons a{
  text-decoration: none !important;
  vertical-align: middle;
}

.github-buttons i{
  vertical-align: -22%;
  font-size:xx-large !important;
  margin-right: 8px;
}

.sections a {
  text-decoration: underline;
  color: var(--text-color);
}

#avtar {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin: 10px auto;
  padding-top: 0px;
}
#avtar img {
  border-radius: 100%;
  width: 200px;
  height: 200px;
  text-align: center;
  display: block;
  margin: 10px auto;
  box-shadow: 0 0 8px 4px var(--image-shadow);
  /* border :2px solid rgb(200, 70, 0); */
  transition: transform 0.25s ease-in-out, border-radius 0.25s ease-in-out,
    box-shadow 0.25s ease-in-out;
}

#avtar img:hover {
  margin: 10px auto;
  transform: scale(1.1);
  /*border-radius: 0;*/
  box-shadow: 0 0 8px 4px rgb(255, 205, 255);
}
#contact ul {
  text-align: center;
  margin: auto;
  line-height: 50px;
  padding-top: 20px;
  padding-left: 10px;
  padding-right: 10px;
}
#contact h3 {
  text-align: center;
  margin: auto;
  border: none;
}
#contact ul li {
  width: 35px;
  line-height: 35px;
  height: 35px;
  display: inline-block;
  margin: 0 5px;
  border-radius: 100%;
}

#contact ul li a {
  border-radius: 100%;
  margin-bottom: 10px;
  box-shadow: inset 0 0 2px 2px var(--text-color);
  text-decoration: none;
  color: var(--text-color);
  display: block;
  transition: transform 0.25s ease-in-out, background-color 0.25s ease-in-out,
    box-shadow 0.25s ease-in-out, color 0.25s ease-in-out;
}
#contact ul li a:hover {
  color: rgb(250, 205, 137);
  box-shadow: inset 0 0 2px 2px red;
  transform: scale(1.3);
  background-color: #fa75ba;
}

.imagemain {
  margin: 0;
  display: block;
  text-align: center;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 10px;
  box-sizing: border-box;
  width: 100%;
  border-radius: 8px;
  /* box-shadow:  0px 0px 5px 5px rgba(255, 255, 255, 0.308); */
}

.imagemain img {
  width: 100%;
  border-radius: 8px;
  /* box-shadow:  0px 0px 5px 5px rgba(255, 255, 255, 0.308); */
  box-shadow: 0px 0px 5px 5px var(--image-shadow);
}

.imagemain img:not(:last-child) {
  margin-bottom: 15px;
}
.imagemain img:hover {
  cursor: pointer;
}

.imagemain img:last-child {
  margin-bottom: 10px;
}

.imagemain iframe,
.imagemain embed,
.imagemain object {
  width: 100%;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 5px 5px var(--video-shadow);
}

.column {
  box-sizing: border-box;
  width: 40%;
  display: inline-block;
  margin: 2px;
  vertical-align: top;
}

.imagegallery {
  width: 100%;
  vertical-align: top;
  padding-bottom: 30px;
  padding-top: 20px;
}

.imagegallery img {
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  border-radius: 8px;
  /* box-shadow: 0px 0px 4px 4px rgba(255, 255, 255, 0.7); */
}
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 60px; /*Location of the box */
  box-sizing: border-box;
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: 20px;
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.85); /* Black w/ opacity */
}
.modal img {
  cursor: auto;
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}
.modal a {
  position: absolute;
  top: 15px;
  right: 45px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

#footer {
  color: var(--text-color);
  text-align: center;
  width: 100%;
  text-transform: capitalize;
  margin-top: 10px; /* although no use because collapsable margins*/
  margin-bottom: 8px;
}

@media only screen and (max-width: 795px) {
  #headermain ul li {
    display: block;
  }
  #headermain ul li:not(:last-child) {
    border-bottom: solid 1.5px var(--main-border-color);
    border-right: none;
  }

  #headermain h2 {
    font-size: x-large;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  #headermain {
    /* min-width: 310px; just specifying that it can  decrase the width it doesnt have to fit all text in one line */
    width: auto;
    margin: 5em auto;
  }
  body {
    padding: 20px;
    min-width: min-content;
  }
  #content::before {
    height: 35px;
  }
  #content::after {
    height: 35px;
  }

  #wrapper {
    margin-top: 5%;
  }

  #wrapper h2 {
    margin-left: 10px;
  }
  .imagemain,
  .sections p {
    padding-left: 15px;
    padding-right: 15px;
  }

  #mainbuttons a {
    margin-left: 10px;
    margin-right: 10px;
  }

  .modal img {
    width: 100%;
  }
  .modal a {
    right: 10px;
  }
}

@media only screen and (max-width: 380px) {
  #wrapper {
    margin-top: 0;
  }

  #wrapper h2 {
    margin-left: 10px;
  }
  .imagemain {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@keyframes fade-in
{
  0%{
    opacity: 0;
    visibility: visible;
    transform: scale(0,0);
    display: block;
    
  }
  100%{
    opacity: 1;
    transform: scale(1,1);
    visibility: visible;
    display: block;
  }
}
@keyframes fade-out
{
  0%{
    opacity: 1;
    visibility: visible;
    display: block;
  }
  99%{
    opacity: 0.01;
    visibility: visible;
    display: block;
  }
  100%{
    opacity:0;
    visibility: hidden;
    display: none;
  }
}