@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100..900;1,100..900&family=Geo:ital@0;1&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Skranji:wght@400;700&display=swap');
*, *::before, *::after {
    margin:0;
    padding:0;
    transition:all 0.5s ease-in-out;
}
@font-face {
    font-family: "Kindred";
    src: url(/kindred-fonts/Kindred.ttf);
}
@font-face {
    font-family: "Kindred-Italic";
    src: url(/kindred-fonts/KindredItalic.ttf)
}

:root {

    /*Nav-colors*/
    --base: #ffffff;
    --text:#d3d3d3;
    --grey: #494849;
    --sub:  rgba(32, 40, 83, 0.429);
    --dark: #101010;

    /*Glow Effects*/
    --cyan: #2cfdefb3;
    --blue-glow: #287eff;
    --card-color: rgb(36, 37, 50);
    --glass-card: rgba(255, 255, 255, 0.027);
    --light-blue: rgba(0, 255, 255, 0.75);

    /*Fonts*/
    --main-text: 'Exo', Arial, sans-serif;
    --sub-text: 'Roboto Condensed', sans-serif;
    --kind: 'Kindred', sans-serif;
    --kindItalic: 'Kindred-Italic', Arial, sans-serif;
    --Geo-font: 'Geo',sans-serif;
    --mideval:'Skranji',sans-serif;

    /*Background*/
    --hero: url(/landing-page-images/kindred-home-bg.png);
    --background-body: url(/landing-page-images/bilgewater.webp);
}

.darkmode{
    --base: #550dff;
    --text:#fea8eb;
    --grey: #7700ff;
    --sub: rgba(251, 152, 230, 0.284);

    /*Glow Effects*/
    --cyan: rgb(127, 21, 248);
    --blue-glow: #b361ff;
    --card-color: rgb(173, 149, 228);
     --glass-card: rgba(241, 170, 243, 0.399);
    --light-blue: rgba(255, 165, 255, 0.75);


    /*Background*/
    --hero: url(/landing-page-images/kindred-home-light.jpg);
    --background-body: url(/landing-page-images/ionia.jpg);
}

html{
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 120px;
}

#icons{
    width:30px;
    cursor: pointer;

}
body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgb(18, 18, 18)), var(--background-body);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}


header {
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: var(--sub);
    backdrop-filter: blur(6px);
    position: fixed;
    top:0;
    left:0;
    width:100%;
    box-sizing: border-box;
    z-index: 1000;
}

nav ul {
    flex:1;
    text-align: right;
}

.logo {
    font-family: var(--kindItalic);
    display: flex;
    padding: 0 10px;
}

.logo h2 {
    font-weight: 700;
    padding: 20px;
    color: var(--base);

}

.logo img {
    border-radius: 50%;
    width: 90px;
    padding: 0 2px;
    gap: 15px;
    filter: drop-shadow(0 0 15px var(--light-blue));
}




.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    font-family: var(--kindItalic);
    font-size: 15px;
    font-weight: 400;
}

.nav-links li a {
    text-decoration: none;
    color: var(--base);
    position: relative;
}

.nav-links li a::before {
    content: '';
    height: 3px;
    width: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.4s;
    background: var(--blue-glow);
}

.nav-links li a:hover::before {
    width: 100%;
}

/*Hero-section*/
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), var(--hero);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 800px;
    margin-bottom: 60px;
    padding-top: 120px;
}



.hero-logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
    filter: drop-shadow(0 0 15px var(--light-blue));
}


.hero-title {
    color: var(--base);
    font-family: var(--kind);
    font-weight: 300;
    margin-bottom: 20px;
    text-align: center;
}

.hero-box {
    color: var(--text);
    font-size: 19px;
    text-align: center;

}

.hero-box p {
    font-size: 20px;
    padding: 12px;
    font-weight: 400;
    text-transform: uppercase;
    font-family:var(--kindItalic);
}

.hero-box span {
    color: var(--blue-glow);
    font-family: var(--kind);
    font-weight: 900;
    text-transform: uppercase;
}

.btn{
    margin:30px;
    display:flex;
    justify-content: center;
    align-items: center;
}

.btn button{
    cursor: pointer;
    border-style: none;
    color:var(--text);
    border-radius: 20px;
    padding: 15px;
    width:100%;
    background-color: var(--cyan);
    font-family: var(--main-text);
    font-weight: 700;
    font-size: 25px;
    transition: box-shadow 0.2s ease transform 0.2s ease;
    box-shadow: 0 4px 6px var(--blue-glow);
}

.btn button:hover{
    color:var(--grey);
    transform: translateY(-3px);
    box-shadow: 0 7px 14px var(--cyan);
  
}


/*About-us section*/

.about-title{
    font-size: 30px;
    font-family: var(--mideval);
    text-align: center;
    color: rgba(0, 0, 0, 0.5);
    font-size: 7vw;
    letter-spacing: 0.2rem;
    text-shadow: 2px 2px 8px var(--text);
    text-transform: uppercase;
}
.container {
    display: grid;
    place-items: center;
    padding-block: 5rem;
    margin-inline: 1.5rem;
}

.card {
    display: grid;
    row-gap: 3.5rem;
}

.article_card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 24px var(--cyan);
    border-radius: 30px;
}

.article_card:hover .card_data{
  animation:show-data 1s forwards;
  opacity:1;
  transition: opacity .3s;
}

.article_card:hover{
    animation:remove-overflow 2s forwards;
}

.article_card:not(:hover){
    animation:show-overflow 2s forwards;
}

.article_card:not(:hover) .card_data{
    animation:remove-data 1s forwards;
}
.card-img {
    width: 328px;
    border-radius: 1.5rem;
}

.card_data {
    width: 280px;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    background-color: var(--card-color);
    box-shadow: 0 8px 24px hsla(0, 100%, 98%, 0.652);
    position: absolute;
    bottom: -8rem;
    margin-inline: auto;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 1s 1s;
}

.discription{
    display:block;
    font-family: var(--sub-text);
    font-size: small;
    color: var(--base);
    margin-bottom: .25rem;
}

.name{
  font-size: large;
  font-family: var(--kindItalic);
  color:var(--base);
  font-weight: 500;
  margin-bottom: .75rem;
}

.learn_more{
    text-decoration: none;
    font-size: small;
    font-weight: 600;
    font-family: var(--main-text);
    color:var(--cyan);
}

.learn_more:hover{
    text-decoration: underline;
}
@keyframes show-data{
    50%{
        transform:translateY(-10rem);
    }
    100%{
        transform:translateY(-7rem);
    }
}

@keyframes remove-overflow{
    to{
        overflow:initial;
    }
}

@keyframes remove-data{
   0%{
    transform:translateY(-7rem);
   }
   50%{
    transform:translateY(-10rem);
   }
   100%{
    transform:translateY(-5rem);
   }
}
@keyframes show-overflow{
    0%{
        overflow:initial;
        pointer-events: none;
    }
    50%{
        overflow:hidden;
    }
}

/*Contacts Section*/
#contacts{
    margin-top:60px;
    padding:80px 35px;
    border-radius: 15px;
    text-align: center;
    background-color: var(--glass-card);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.089);
}
.contacts-title{
    font-family: var(--kindItalic);
    color:var(--base);
    text-transform: uppercase;
    margin-bottom: 40px;
    font-size: 2.8rem;
    text-shadow: 0 0 15px var(--cyan);

}


.contacts-container{
    display:flex;
    margin-bottom:40px;
    flex-wrap: wrap;
    justify-content: center;
    gap:20px;
}

.contact-box{
    font-family: var(--sub-text);
    width:250px;
    padding:25px;
    color:var(--base);
    background-color: var(--sub);
    border-radius: 12px;
    border: solid 1px var(--grey);
    transition: transform 0.3s ease box-shadow 0.3s ease;
    letter-spacing: 1.6;
    cursor:pointer;
}

.contact-box:hover{
    transform: translateY(-6px);
    box-shadow: 0 8px 20px var(--cyan);
    border:1px solid var(--cyan);
}

.contact-box h2{
    font-family: var(--main-text);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cyan);
    margin-bottom: 8px;
}

.contact-box p {
    font-size: 15px;
}

.contact-img-container{
   display:flex;
   flex-direction: row;
   justify-content: center;
   align-items: center;
   gap:20px;
}

.cont-image {
    color: var(--base);
    font-size: 20px;
    font-family: var(--kind);
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
}

.cont-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--sub);
    margin: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cont-image img:hover {
    transform: translateY(-6px);
    box-shadow: 0 7px 14px var(--light-blue);
}

/*Footer*/
.web-footer {
    background-color: var(--sub);
    color: var(--base);

}

.footer-container {
    display: flex;
    justify-content: space-between;
    font-family: var(--kind);
    text-align: center;
    margin: 0 auto;
    padding: 20px;
}

.footer-content {
    font-weight: 300;
    font-size: small;
    line-height: 1.6;
}
.footer-content p {
  text-transform: uppercase;
  font-family: var(--sub-text);
  font-weight: 600;
}

.footer-content ul {
    list-style: none;
    padding:10px;
}

.footer-content li a {
    padding: 2px 5px;
    border-radius: 20px;
    font-family: var(--sub-text);
    color: var(--cyan);
    text-decoration: none;
    transition: box-shadow 0.4 ease;

}

.footer-content li a:hover{
    background-color: var(--base);
    color:var(--blue-glow);
    box-shadow: 0 0 6px var(--cyan);
}

.bottom-footer{
    font-family: var(--sub-text);
    font-weight: 400;
}

.bottom-footer p{
    text-align: center;
}