* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica, Arial, sans-serif;
}
html{
  height: 100%;
  width: 100%;
}

body{
  color: #edf0f1;
  background-color: #000000;
  font-family: "Helvetica", Arial, sans-serif;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
body.active {
  color: #edf0f1;
  background-color: #000000;
}


  /* Navigation */

.navbar ul {
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 0.2vw solid #cd2727;
  text-decoration: none;
  color: inherit;
}

.navbar li {
  list-style-type: none;
  padding: 1rem;
}

.navbar a {
  font-size: 21px;
  text-decoration: none;
  color: inherit;
}


.navbar-logo {
  color: #cd2727;
  flex: 1;
  user-select: none;
  cursor: pointer;
}

.logo {
  max-width:100%;
  margin: auto;
}

.navbar-toggle {
  font-size: 24px;
  display: none;
  cursor: pointer;
  transition: 0.5s;
}

.navbar-toggle:hover,
.navbar-links:hover,
.navbar-links:hover a {
  transition: all 0.3s ease 0s;
  color: #cd2727;
}

@media (max-width: 600px) {
    .navbar ul {
        flex-wrap: wrap;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-links {
        display: none;
        width: 100%;
        text-align: center;
    }
    .active {
        display: block;
    }
}


  /* light/dark toggle */

  #toggle {
    position: relative;
    display: inline-flex;
    width: 50px;
    height: 25px;
    border-radius: 30px;
    background-color: #a09e9e;
    transition: 0.5s;
    cursor: pointer;
    box-shadow: inset 0 8px 60px rgba(0,0,0,0.1),
                inset 0 8px 8px rgba(0,0,0,0.3),
                inset 0 -4px 4px rgba(0,0,0,0.3);
  }
  
  #toggle.active {
    background: #a09e9e;
    box-shadow: inset 0 2px 60px rgba(0,0,0,0.1),
                inset 0 2px 8px rgba(0,0,0,0.3),
                inset 0 -4px 4px rgba(0,0,0,0.3);
  }
  
  #toggle .indicator {
    content: url("data:image/svg+xml,%3Csvg version='1.1' id='sunny_day' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='600px' height='600px' viewBox='0 0 600 600' style='enable-background:new 0 0 600 600;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .sun%7Bfill:orange;stroke:%23000000;stroke-width:12;stroke-miterlimit:10;%7D%0A%3C/style%3E%3Cg%3E%3Ccircle class='sun' cx='303.4' cy='302.1' r='136.8'/%3E%3Cg%3E%3Cline class='sun' x1='425.1' y1='179.8' x2='473.4' y2='131.3'/%3E%3Cline class='sun' x1='183.8' y1='422.2' x2='135.6' y2='470.7'/%3E%3Cline class='sun' x1='183.3' y1='180.4' x2='134.8' y2='132.1'/%3E%3Cline class='sun' x1='425.7' y1='421.7' x2='474.1' y2='469.9'/%3E%3C/g%3E%3Cline class='sun' x1='303' y1='131' x2='303' y2='63'/%3E%3Cline class='sun' x1='303' y1='474' x2='303' y2='542'/%3E%3Cline class='sun' x1='128' y1='302' x2='60' y2='302'/%3E%3Cline class='sun' x1='471' y1='302' x2='539' y2='302'/%3E%3C/g%3E%3C/svg%3E%0A");
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;  
    background: linear-gradient(to bottom, #eaeaea8e, #f9f9f977);
    border-radius: 50%;
    transform: scale(0.9);
    box-shadow:  0 8px 40px rgba(0,0,0,0.0.5),
                inset 0 8px 8px rgba(255,255,255,0.2),
                inset 0 -4px 4px rgba(255,255,255,0.2);
    transition: 0.5s;
  }
  
  #toggle.active .indicator {
    left: 25px;
    content: url("data:image/svg+xml,%3Csvg id='moon' xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cdefs%3E%3Cstyle%3E .vi-primary %7B fill: %23ffb500; stroke: %23fff; stroke-linecap: round; stroke-width: 0; fill-rule: evenodd; %7D %3C/style%3E%3C/defs%3E%3Cpath class='vi-primary' d='M20.848,27.134A17.853,17.853,0,0,0,41,30.675,17.849,17.849,0,1,1,17.3,7,17.815,17.815,0,0,0,20.848,27.134Z'/%3E%3C/svg%3E");
    background: linear-gradient(to bottom, #444, rgba(34, 34, 34, 0.829));
    box-shadow:  0 8px 40px rgba(0,0,0,0.0.5),
                inset 0 8px 8px rgba(255,255,255,0.2),
                inset 0 -4px 4px rgba(255,255,255,0.2);
  }


  /* main header */

.middle h1 {
  overflow: auto;
  text-align: center;
  color: #7fd0f4;
}

.middle p {
  overflow: auto;
  text-align: center;
}

.mainprivacy {
  color: #7fd0f4;
  padding-bottom: 20px;
  overflow: auto;
  text-align: center;
}
.headerprivacy{
  color: #7fd0f4;
  padding-bottom: 20px;
  text-align: center;
}
.privacy{
  overflow: auto;
  text-align: left;
}
.listprivacy {
  font-size: 16px;
  list-style: disc;
  padding-left: 100px;
}
p {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 8px;
}

p a,
p strong {
  color: #cd2727;
}


  /* Painful grid layout */

.grid-img {
  border: 0.2vw solid #7fd0f4;
  width: 350px;
  height: 200px;
  background-color: #000000;
  border-radius: 20px;
  margin-right: 1.2vmin;
  margin-left: 1.2vmin;
  margin-top: 1.6vmin;
  max-width:100%;
  align-items: center;
  box-shadow: 0 0 10px #7fd0f4;
}

.grid-img:hover {
  transform: translateY(-10px);
  transition: all 0.3s ease 0s;
  color: #7fd0f4;
}

#grid-div {
  margin: auto;
  text-align: center;
  max-width:100%;
}

span {
  display: inline-block;
  margin-bottom: 20px;
  text-align: center;
  max-width:100%;
}

span hr {
  height: 2px;
  width: 115px;
  margin: auto;
  align-items: center;
  background-color: #cd2727;
  max-width:100%;
  border: none;
}

@media all and ( max-width: 800px ) {
  #grid-div{
    width: 610px;
  }
}
@media all and ( max-width: 600px ) {
  #grid-div {
    width: 390px;
  }
}

 /* Top Button */

 #TopBtn {
  display: none;
  position: fixed;
  bottom: 2vh;
  right: 3vw;
  z-index: 99;
  border: solid;
  outline: none;
  cursor: pointer;
  height: 25px;
  width: 25px;
  border-radius: 30px;
  color: #7fd0f4;
  background-color: inherit;
  font-size: 18px;
  box-shadow: 0 0 5px #7fd0f4;
}

#TopBtn:hover {
  color: #cd2727;
  box-shadow: 0 0 5px #cd2727;
}

  /* info github stats  */

.GithubStats {
  max-width:100%;
  margin: auto;
  display: flex;
  align-items: center;

}

/* Contact Section */

#contact-header {
  text-align: center;
  font-size: 20px;
  color: #7fd0f4;
}

.contact {
  text-align: center;
}

#message {
  height: 309px;
  width: 717px;
  color: #cd2727;
  background-color: #000000;
  font-size: 16px;
  border-color: #edf0f1;
  padding: 2px;
}
#name {
  width: 717px;
  color: #cd2727;
  background-color: #000000;
  font-size: 16px;
  border-color: #edf0f1;
  padding: 2px;
}
#email {
  width: 717px;
  color: #cd2727;
  background-color: #000000;
  font-size: 16px;
  border-color: #edf0f1;
  padding: 2px;
}

#contact-recaptcha {
  width: 302px;
  margin: auto;
}
#myfile {
  padding-left: 140px;
}
.send-contact-button {
  list-style-type: none;
  padding-bottom: 2px;
}

@media (max-width: 717px) {
  #email,.contact,#message, #name {
      display: block;
      width: 100%;
  }
}

  /* Bottom Footer */
  
footer {
  margin-top: auto;
  position: relative;
  width: 100%;
  text-decoration: none;
  color: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-top-style:solid;
  border-color: #cd2727;
  border-width: 0.2vw;
}

footer .social_icon,.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}
footer .social_icon li,.menu {
  list-style: none; 
}
footer .social_icon li a {
  font-size: 30px;
  text-decoration: none;
  color: inherit;
  margin: 0 10px;
  display: inline-block;
  transition: 00.5s;
}

footer .social_icon li a:hover {
  transform: translate(-10px);
}
#Facebook svg:hover path {
  fill: #1877f2;
}
#Twitter svg:hover path {
  fill: #1da1f2;
}
#Instagram svg:hover path {
  fill: #f502c8;
}
#Linkedin svg:hover path {
  fill: #0077b5;
}
#Github svg:hover path {
  fill: #cd2727;
}

footer .menu li a {
  font-size: 2.7vh;
  text-decoration: none;
  color: inherit;
  margin: 0 10px;
  display: inline-block;
  transition: 00.5s;
  text-decoration: none;
}

footer .menu li a:hover {
  color: #cd2727;
}

footer p {
  text-decoration: none;
  color: inherit;
  text-align: center;
  margin: 15px 0 10px;
  font-size: 19px;
}

  /* CBox  */

.Cbox {
  border-style: solid;
  border-color: #cd2727;
}

  /* Marquee Bottom Scroll*/

  .marquee-parent {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 30px;
  }
  
  .marquee-child {
    display: flex; /* Use flexbox for alignment */
    width: fit-content; /* Adjust width to content */
    height: 40px;
    position: absolute;
    animation: marquee 10s linear infinite;
  }
  
  .marquee-child:hover {
    animation-play-state: paused;
    cursor: pointer;
  }
  
  .message1,
  .message2,
  .message3 {
    white-space: nowrap; /* Prevent text from wrapping */
    margin-right: 20px; /* Add spacing between messages */
  }

@keyframes marquee {
  0% {
    left: 100%;
  }
  100% {
    left: -400px /* same as your text width */
  }
}