*{
    margin: 0;
    padding: 0;
}
html{
    font-size: 100%;
    scroll-behavior: smooth;
    background: #f2eeb7;
}
#hero{
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#hero::before{
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(src/section\ 13.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: brightness(50%);
}
#hero_content{
    position: absolute;
}
#hero_content h1{
    color: #fff;
    font-size: 2.8rem;
}
#hero_content h2{
    color: #fff;
    font-size: 2rem;
    font-family: cursive;
    margin-top: 1rem;
    margin-bottom: 4rem;
}
#hero_content a.talis{
    color: #000;
    padding: 9px 25px;
    background: #139cd7;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    margin-right: 10px;
}

#hero_content a.mask{
    padding: 9px 25px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    margin-left: 10px;
}
#hero_content a.mask:hover{
    color: #000;
    padding: 9px 25px;
    background: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: 6px;
}
#hero_content a.talis:hover{
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}
#header{
    position: fixed;
    top: 0;
    width: 100vw;
    height: 70px;
    line-height: 70px;
    z-index: 100;
}
#navbar{
    display: flex;
    justify-content: space-between;
    background: rgb(0,0,0,0.5);
    margin-left: 25px;
    margin-right: 25px;
}
#navbar h1{
    color: orange;
    font-size: 1.8rem;
    text-shadow: 2px 2px 2px #000;
    font-family: cursive;
   
}
#navbar ul{
    display: flex;
}
#navbar ul li{
    list-style: none;
    padding: 3px 15px 3px 15px;
}
#navbar ul li:hover{
    cursor: pointer;
}

#navbar ul li:hover a{
    color: rgb(251, 255, 0);
}

#navbar ul li a{
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
}
#mobile_menu{
    display: none;
    padding: 10px 0;
    background-color: rgb(0,0,0,0.8);
}
#mobile_menu ul{
    display: flex;
    justify-content: center;
}
#mobile_menu ul li{
    list-style: none;
    padding: 0 5px 0 5px;
}
#mobile_menu ul li a{
    text-decoration: none;
    color: #fff;
    font-size: 0.95rem;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

#mobile_menu ul li a:hover{
    background: rgba(255,255,255,0.15);
    color: rgb(255, 255, 0);
}
#contain{
    display: flex;
    flex-wrap: wrap ;
    justify-content: space-around;
    z-index: 1;
}
.cont{
    height: 250px;
    width: 250px;
    overflow: hidden;
    margin: 50px;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(45deg, #7b00e0 , #ae31de);
}
.cont:hover{
    height: 420px;
    width: 350px;
    border-radius: 5px;
}
.cont .wrap img{
    position: relative;
    z-index: 20;
    border-radius: 50%;
    display: block;
    height: 200px;
    width: 200px;
    border: 5px solid #fff;
    object-fit: cover;
    margin: 20px auto;
}
.wrap .title{
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    margin-top: 10px;
}
.wrap .description{
    font-size: 1rem;
    color: #fff;
    text-align: center;
    margin-top: 5px;
    margin: 15px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.flip-card {
  background-color: transparent;
  width: 250px;
  height: 350px;
  perspective: 1000px; 
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back, .dude, .du {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; 
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.summa{
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; 
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  background: #fff;
}
.summa img{
    margin-top: 25%;
}
.summa p{
    margin-left: 10px;
    margin-right: 10px;
}
.dude{
  width: 220px;
  height: 320px;
  background: linear-gradient(135deg, #7b00e0, #ae31d9);
  color: white;
  transform: rotateY(180deg); 
  padding: 20px;
}
.dude img{
    margin-top: 25%;
}
.du{
  width: 220px;
  height: 320px;
  background: linear-gradient(135deg, #7b00e0, #ae31d9);
  color: white;
  transform: rotateY(180deg); 
  padding: 20px;
}
.du img{
    margin-top: 25%;
    width: 80%;
}
.flip-card-front {
  background-color: #fff;
}

.flip-card-front img {
  width: 50%;
  margin-bottom: 15px;
  margin-top: 15px;
}
.flip-card-back img{
  width: 50%;
  margin-bottom: 15px;
}

.flip-card-back {
  width: 220px;
  height: 320px;
  background: linear-gradient(135deg, #7b00e0, #ae31d9);
  color: white;
  transform: rotateY(180deg); 
  padding: 20px;
}

#mask{
    display: flex;
    flex-wrap: wrap ;
    justify-content: space-around;
    
}

#about{
    text-align: center;
}
#about p{
    display: flex;
    margin: 30px;
    font-size: 1.5rem;
} 

.mystic-footer {
    background: #000;
    color: #b0b0b0;
    padding-bottom: 20px;
    border-top: 2px solid #ffcc00; 
    font-family: 'Segoe UI', Roboto, sans-serif;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.mystic-footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 100px;
    background: rgba(255, 204, 0, 0.15);
    filter: blur(50px);
    border-radius: 50%;
}

.footer-title {
    color: #ffcc00;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
    margin-top: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffcc00;
    transform: translateX(8px); 
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
}

.dev-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 204, 0, 0.2);
    color: #ffcc00;
    font-size: 0.85rem;
    margin-right: 10px;
    transition: 0.3s;
}

.dev-badge:hover {
    background: #ffcc00;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom strong {
    color: #fff;
}

.uncle-quote {
    font-style: italic;
    color: #666;
    margin-top: 10px;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
@media screen and (max-width: 768px){
    #header{
        position: absolute;
    }
    #mobile_menu{
        display: block;
    }
    #navbar{
        justify-content: space-around;
    }
    #navbar ul{
        display: none;
    }
    html{
        font-size: 95%;
    }
}
@media screen and (max-width: 360px){
    html{
        font-size: 70%;
    }
}