@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}



:root {

    --COLOR1: rgb(9, 48, 89);
    --COLOR2: rgb(91, 73, 143);
    --COLOR3: rgb(0, 173, 181);
    --COLOR4: rgb(238, 238, 238);


    --COLOR: var(--COLOR1);
    --LINKHOVERCOLOR: rgb(41, 44, 48);
    --GRADIENTBGCOLORMERGE: linear-gradient(#2228318a, #2228318a);
    --GRADIENTBGCOLOR: linear-gradient(#EEEEEE, #00ADB5);
    --BORDERCOLOR: var(--COLOR);
    --TEXTCOLOR: rgb(34, 40, 49);
    --TEXTCOLOR2: #EEEEEE;
    --TEXTSHADOW: rgb(34, 40, 49);
    --TEXTSHADOWTRANSPARENT: rgba(0, 0, 0, 0.2);
    --CHECKMARKCOLOR: rgb(69, 217, 69);
    --RADIALGRADIENTCOLOR: radial-gradient(white,#00ADB5);
    --RADIALGRADIENTCOLOR2: radial-gradient(#00ADB5, #EEEEEE);
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.5;

}

.nowrap {
    white-space: nowrap;
}

.text-shadow {
    text-shadow: 1px 1px var(--TEXTSHADOW);
}

.center {
    text-align: center;
}


.header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5)), url('../img/tarot.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    text-align: center;
    background-size: cover;
    padding-bottom: 1rem;
    color: var(--COLOR4);
}



.header__section {
    background-color: var(--COLOR4);
    font-size: 3rem;
    animation: fadeIn 2s forwards;

}


.header__nav ul{
    display: flex;
    list-style-type: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    
    
}

.header__nav a{
    text-decoration:  none;
    color: inherit;
    margin: 0.5rem;
}

.header__nav a:hover{
    border-bottom: 3px solid white;
}

.header h1{
    font-size: 3rem;
    margin-top: 0;
    padding-top:  0;
}

.header h2{
    font-size: 2rem;
}


.header h3{
    font-size: 1.5rem;
}

.header h4{
    font-size: 1.2rem;
}


.header__links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.header__links a {
    font-size: 1.7rem;
    background-color: var(--COLOR);
    text-decoration: none;
    color: var(--TEXTCOLOR2);
    margin-inline: 1rem;
    border-radius: 10px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0.5rem;
    box-sizing: border-box;
    border: 1px solid black;


}

.header__links a:hover {
    background-color: var(--LINKHOVERCOLOR);
    border: 1px solid white;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: 2px 2px black;
    font-size: 1.7rem;
    color: var(--COLOR4);
    background-color: var(--COLOR1);
}

.hero ul{
    padding-left: 2rem;
}

.container{
    padding-left: 3rem;
}

.hero p i{
    color: var(--CHECKMARKCOLOR);
}

.certificate{
    text-align: center;
    background-image: var(--RADIALGRADIENTCOLOR);
}

.certificate img{
    max-width: 100%;
    height: auto;


}

.asimimage img{
    max-width: 100%;
    height: auto;
}

.services{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px; /* Space between cards */
    margin: 1rem;
}

.card{
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    font-size: 1.5rem;

}

.tarotsection{
    text-align: center;
    font-size: 2.5rem;
}

.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-repeat: no-repeat;
    background-position: center center;
    text-align: center;
    background-size: cover;
    padding-bottom: 1rem;
    color: var(--COLOR4);
    height: 500px;
    font-size: 2rem;
}

.clients {
    
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5)), url('../img/ritual.jpg');
    
}


.love {
  
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5)), url('../img/love.jpg');
    
}

.curse {
  
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5)), url('../img/curse.jpg');
    
}

.services__section {
    font-size: 1.2rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services__section img {
    width: 50%;
    height: auto;
    border-radius: 5%;
    border: 3px solid var(--BORDERCOLOR);
    margin: 1rem;
}

.services__section h2 {
    border-bottom: 2px solid var(--BORDERCOLOR);
}

.servicescontainer{
    text-align: center;
}

.servicescontainer h2{
    font-size: 3rem;
}
.image {
    margin: 0 auto;
    text-align: center;
}
.image img{
    max-width: 100%;
    height: auto;
}


.description{
    text-align: center;
    font-size: 2rem;
    color: var(--COLOR4);
}

.description{
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/tarot2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
}


.testimonials {
    font-size: 1.5rem;
    color: var(--TEXTCOLOR);
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonials__list{
    display: grid;        /* Enables grid layout */
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); /* Creates a responsive grid */
    gap: 20px;            /* Adds space between grid items */
}
.testimonials ul{
    list-style-type: none;
}

.testimonials__section {
    margin: auto;
    width: 80%;
    border: 3px solid var(--TEXTSHADOW);
    box-shadow: 0 8px 8px var(--TEXTSHADOWTRANSPARENT);
    border-radius: 15px;
    padding: 0.5rem;


}

.video{
    background: var(--RADIALGRADIENTCOLOR2);
    font-size: 2rem;
    text-align: center;
}

.callout{
    text-align: center;
    background-image: var(--COLOR4);
}

.footer {
    text-align: center;
    color: var(--TEXTCOLOR2);
    background-color: var(--COLOR);

}

.popup{
    text-align: center;
    border-radius: 10px;
    width: 80%;
    border: 1px solid rgb(255, 255, 255);
    position: fixed;
    top: 0;
    left: 50%;
    padding: 0 10px 10px;
    font-size: 1.5rem;
    transform: translate(-50%, -50%) scale(0.1);
    background-color: rgba(0, 0, 0, 0.894);
    color: white;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;

}

.popup h2{
    font-size: 3rem;
}

.popup button{
    font-size: 0.8em;
    border-radius: 10px;
    border: 2px solid white;
    color: white;
    background-color: black;
    padding: 0.5em;

}

.popup button:hover{
    background-color: var(--COLOR);
}

.open-popup{
    visibility: visible;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
}


.image-container {
    position: relative;
}

.fade-in {
    opacity: 0; /* Initially hidden */
    transition: opacity 3s ease; /* Fade effect */
}

.fade-in-visible {
    opacity: 1; /* Visible */
}

.testimonial{
    border-bottom: 1px solid black;
    padding: 1.5rem;
}


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