* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Risque", serif;
    font-weight: 400;
    font-style: normal;
}
html {
    font-size: 60%;
    overflow-x: hidden;
}
:root {
    --bg-color:black;
    --second-bg-color:black;
    --text-color:white;
    --main-color:#00ff51;
}


body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

body {
    cursor: url(cr3.png), auto;
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 2rem 12%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur (10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    background-image: url(b1.jpg);
}



#menu-icon {
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}
.logo {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 800;
    transition: 0.3s ease;
}
.logo:hover {
    transform: scale(1.1);
}

span {
    color: var(--main-color);
    background-clip: text;
    text-shadow: 0 0 12px var(--main-color);
}

.navbar a {
    font-size: 1.7rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 40px;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border: none;
    padding: 7px;
    color: whitesmoke;
}
.navbar a:hover {
    border: none;
    color: #00ff51;
}

.navbar a:nth-child(2) {
    color: whitesmoke;
    border: none;
    width: 30px;
}

.navbar a:nth-child(3) {
    color: #00ff51;
    border: none;
    width: 30px;
    text-decoration: line-through;
}

.navbar a:nth-child(2):hover {
    color: #00ff51;
    border: none;
    width: 30px;
}

.navbar a:nth-child(4) {
    color: gold;
    border: none;
    width: 30px;
}

.navbar a:nth-child(4):hover {
    color: #00ff51;
    border: none;
    width: 30px;
}





section {
    min-height: 100vh;
    padding: 10rem 12px;
}
.home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}

/*home background*/
.home {
    background: url(2.jpg);
}


.home-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}
.home-content h1 {
    font-size: 8rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}
.home-content h3 {
    font-size: 4rem;
    margin: 1rem 0;
}
.home-content p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
}



/* || project */ 

.projects {
    background-color: var(--second-bg-color);
}
.projects-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    place-items: center;
    gap: 3rem;
    row-gap: 5rem;
}


.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-color);
    border: 2px solid var(--main-color);
    border-radius: 3rem;
    gap: 2rem;
    padding: 5rem 2rem;
    overflow: hidden;
    box-shadow: 0 0 5px var(--main-color);
    transition: 0.3s ease;
    
}

.project-card:hover {
    box-shadow: 0 0 25px var(--main-color);
    transform: scale(1.02);            
}



.project-card img {
   max-width: 250px;
   border-radius: 1rem;
   object-fit: cover; 
}

.projects-box .popup-image {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    height: 100%;
    width: 100%;
    z-index: 1000;
    display: none;
}

.projects-box .popup-image span {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 60px;
    font-weight: bolder;
    color: #00ff51;
    cursor: pointer;
    z-index: inherit;
}


.projects-box .popup-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid black;
    box-shadow: 8px 7px 9px #00ff51;
    border-radius: 15px;
    width: 400px;
    object-fit: cover;
}


.project-card h3 {
    font-size: 2rem;
    color: rgb(17, 252, 0);
}
.project-card a {
    font-size: 19px;
} 

::-webkit-scrollbar {
    width: 17px;
}
::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
}
::-webkit-scrollbar-track {
    background-color: rgb(2, 99, 1);
}
.heading {
    text-align: center;
    font-size: 4rem;
    margin: 3rem 0;
}




::selection {
    background-color: #1c6715;
    color: rgb(0, 255, 30);
}

/* || footer */
.footer {
    background-color: var(--bg-color);
    padding: 50px 0;
}
.footer .social-icon {
    text-align: center;
}



.footer .social-icon p {
    text-align: center;
    font-size: 1.6rem;
    color: whitesmoke;
}

.footer .social-icon img {
    width: 180px;
    height: 60px;
    margin: 1rem;
}



.footer ul {
    text-align: center;
    font-size: 1.8rem;
}
.footer ul li {
    display: inline-block;
    margin-left: 20px;
    background: linear-gradient(45deg,rgb(20, 108, 0), rgb(47, 255, 0));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 1rem;
    transition: all 0.5s ease-in-out;
}

.footer ul li:hover {
    transform: scale(1.2);
}

.footer .copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    background: linear-gradient(45deg, rgb(255, 0, 0), rgb(255, 247, 0));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* || rensponsive */
@media screen and (max-width:1024px) {
    #menu-icon {
        display: block;
    }
    .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    width: 50%;
    padding: 1rem 3rem;
    background-color: rgba(0, 0, 0, 0.8);
    border-left: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
    border-bottom-left-radius: 2rem;
    display: none;
}
   .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
    color: var(--text-color);
}
.navbar.active {
    display: block;
}
.home {
    flex-direction: column-reverse;
    margin: 5rem 0;
    gap: 5rem;
}
.home-content {
    align-items: center;
    text-align: center;
}
.home-img img {
    width: 52vw;
}
.about {
    flex-direction: column-reverse;
    text-align: center;
}
.about h2 {
    text-align: center;
    margin: 2rem 0;
}
.about img {
    width: 52vw;
}
.contact form {
    flex-direction: column;
}
.project-card {
    margin: 0 auto;
}

}



/* || scroll and details */
#neww {
    color: red;
    font-size: 17px;
}

details {
    color: #00ff51;
    font-size: 17px;
}
summary::marker {
    content: '';
}

.included {
    color: rgb(252, 252, 252);
}
.standart {
    color: whitesmoke;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
}

@supports (background-clip: text) or 
(-webkit-background-clip: text) {}

.standart {
    background-image: 
    linear-gradient(
        to left,
        #00ff51,
        whitesmoke,
        whitesmoke,
        whitesmoke,
        whitesmoke,
        whitesmoke,
        whitesmoke,
        whitesmoke,
        #00ff51
    ) ;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
    background-size: 200%;
    animation: animate 2s steps(7) infinite;
    animation: animate 2s linear infinite;
}

@keyframes animate {
    to {
        background-position: 200%;
    }
}









.link {
    color: #00ff51;
}

.link:hover {
   color: rgb(255, 0, 0);
   transition: 0.5s ease;
}

.social-icon img {
    border: 2px solid var(--main-color);
    border-radius: 2rem;
    transition: 0.5s ease;
}
.social-icon img:hover {
    transform: scale(1.1);            
}

#newww {
   color: red;
}

#newwww {
    color: red;
}



.project-card .rating {
    position: absolute;
    top: 15px;
    padding: 6px;
    border-radius: 10px;
    color: #00ff51;
    transform: scale(1.1);
}

.project-card video {
    padding: 5px 5px;
    width: 320px;
}

.project-card .rating {
    display: flex;
    align-items: center;
    right: 15px;
    background: transparent;
}

.project-card .rating span { 
    color: rgb(255, 255, 255);
    font-size: 13px;
    font-weight: 500;
    margin-left: 5px;
}

.project-card i {
    font-size: 16px;
    display: block;
    --i-stroke-width: 50px;
}

.project-card:hover :is(.rating) {
    --scale: 1;
}



.modal {
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 0.3s ease-in-out;
    z-index: -1;

    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.open {
    opacity: 1;
    z-index: 999;
}

.modal-inner {
    background-color: #000000d6;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(4, 92, 4, 0.774);
    padding: 15px 25px;
    text-align: center;
    width: 450px;
    border: 2px solid #00ff51;
    box-shadow: 3px 3px 15px #00ff51;
}

.modal-inner h3 {
    margin: 0;
    color: rgb(254, 1, 1);
    font-size: 17px;
}

.modal-inner p {
    line-height: 24px;
    margin: 10px 0;
    color: whitesmoke;
    font-size: 15px;
}

button {
    background-color: gold;
    border-radius: 20px;
    border: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    color: rgb(0, 0, 0);
    padding: 10px 25px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    color: rgb(0, 0, 0);
    background-color: goldenrod;
}



#new {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-color);
    border: 2px solid red;
    border-radius: 3rem;
    gap: 2rem;
    padding: 5rem 2rem;
    overflow: hidden;
    box-shadow: 0 0 5px red;
    transition: 0.3s ease;
}
 #new:hover {
    box-shadow: 0 0 25px red,
                0 0 50px red;
    transform: scale(1.02);            
}

.project-card .resolucion {
    position: absolute;
    top: 10px;
    padding: 6px;
    border-radius: 10px;
}

.project-card .resolucion {
    left: 17px;
}

.project-card .resolucion {
    display: flex;
    align-items: center;
    left: 18px;
}
.project-card .resolucion span {
    color: rgb(255, 0, 0);
    font-size: 18px;
    font-weight: var(--fw-4);
    margin-left: 2px;
}




#snackbar {
  visibility: hidden; 
  min-width: 230px; 
  margin-left: -122px; 
  background-color: #000000; 
  color: #00ff51; 
  text-align: center;
  border-radius: 7px; 
  padding: 16px; 
  position: fixed; 
  z-index: 1000; 
  left: 50%; 
  bottom: 30px; 
  font-size: 17px;
  font-weight: 600;
  border: 2px solid #00ff51;
}


#snackbar.show {
  visibility: visible; 
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}


@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}



.count {
    padding: 50px 0;
}

.count h3 {
    color: var(--text-color);
    text-align: center;
    font-size: 17px;
    color: #00ff51;
    display: grid;
}

.count .num {
    padding: 5px;
    color: gold;
    margin-top: 1rem;
    font-size: 20px;
}




.callout {
  position: fixed;
  bottom: 90px;
  right: 20px;
  margin-left: 20px;
  max-width: 300px;
  z-index: 999;
}


.callout-header {
  padding: 25px 15px;
  background: rgba(0, 0, 0, 0.79);
  font-size: 30px;
  color: #00ff51;
}


.callout-container {
  padding: 15px;
  background-color: #00ff51;
  color: black;
  font-size: 12px;
}


.closebtn {
  position: absolute;
  top: 5px;
  right: 15px;
  color: #00ff51;
  font-size: 30px;
}


.closebtn:hover {
  color: gold;
}











