@font-face {
    font-family: "saintcarellclean";
    src: url("../font/SaintCarellClean.otf") format("truetype")
}

@font-face {
    font-family: "cronde";
    src: url("../font/CRONDE.otf") format("truetype")

}

@font-face {
    font-family: "ztnature-bold";
    src: url("../font/ZTNature-Black.ttf") format("truetype")

}

@font-face {
    font-family: "ztnature-med";
    src: url("../font/ZTNature-Medium.ttf") format("truetype")

}

@font-face {
    font-family: "ztnature-thin";
    src: url("../font/ZTNature-Thin.ttf") format("truetype")

}

@font-face {
    font-family: "creato-reg";
    src: url("../font/CreatoDisplay-Regular.otf") format("truetype")

}

::-webkit-scrollbar {
    display: none;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    background-color: #0e0827;
    font-family: "ztnature-med", sans-serif;
    color: #7151A9;
    font-size: 50px;
}

.header{
    display: flex;
    width: 100%;
    top: 0;
    opacity: 0;
    position: absolute;
    z-index: 100;
    transition: opacity 0.5s ease-in-out;
    align-items: center;
}

.header.loaded{
    opacity: 1;
}

.top-bar{
    display: flex;
    width: 92%;
    height: 5vw;
    margin: auto;

}

.name{
    display: flex;
    font-size: 2.5vw;
    margin: auto;
    margin-left: auto;
    font-family: "ztnature-thin";
}

.tab-list{
    display: flex;
    width: 40%;
    height: 95%;
    margin-left: 40vw;
    justify-content: space-between;
    align-items: center;
}

.home, .about, .contact{
    display: flex;
    font-size: 1.5vw;
    font-family: "ztnature-thin";
    text-decoration: none;
    color: #DAC7FF;
    border: none;
    
    padding: 5px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 7px;
    background-color: rgb(255, 255, 255, 0);
    box-shadow: 0 0 20px rgb(0, 0, 0, 0);

    transition: all 0.2s ease-in-out;
}

.home:hover, .about:hover, .contact:hover{
    background-color: rgb(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgb(0, 0, 0, 0.4);
    color: white;
    cursor: pointer;
}

.home{
    color:white;
}

.hero{
    position: relative;
    font-family: "ztnature-med";
    height: 100vh;
    gap: 0;
    background: linear-gradient(to bottom, #100027 40%, #655798 100%);
    align-content: center;
    background-image: url('../html/images/background2.jpg');
    backdrop-filter: blur(4px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    backdrop-filter: blur(0px); 
    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(0, 0, 0, 0.1); 
    
    z-index: -1;
    transition: backdrop-filter 1s ease-in-out;
}

.overlay.loaded{
    backdrop-filter: blur(6px);
}

.hero-box{
    display: flex;
    padding-top: 30vh;
    padding-bottom: 35vh;
    width: 60%;
    margin: auto;
    flex-direction: column;
}

.hero-title{
    opacity: 0;
    display: flex;
    font-size: 6.5vw;
    align-items: center;
    justify-content: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 20px rgb(255, 255, 255, 0.2);
    transition: opacity 1.25s ease-in-out;

    /* 1. Create a larger, linear gradient background for the shimmer */
    background: linear-gradient(
        90deg, 
        rgb(255, 255, 255) 0%, 
        rgb(136, 88, 207) 50%, 
        rgb(255, 255, 255) 100%
    );

    background-size: 200% 100%; 
    -webkit-background-clip: text; 
    background-clip: text;
    color: transparent; 
    animation: shimmer 2s infinite linear;
}

.hero-title.loaded{
    opacity: 1;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0; 
    }
    100% {
        background-position: -100% 0; 
    }
}

.hero-desc{
    display: flex;
    opacity: 0; 
    margin: 0 auto;
    justify-content: center;

    font-size: 50%;
    font-family: "creato-reg";
    color: white;
    text-shadow: 0 0 20px black;
    transition: opacity 1.5s ease-in-out;
}

.hero-desc.loaded{
    opacity: 1;
}

.hero-cta{
    display: flex;
    height: 3vw;
    width: 12vw;

    border: none;

    border-radius: 7px;
    font-size: 1.5vw;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    opacity: 0;
    background-color: rgb(255, 255, 255, 0);
    box-shadow: 0 0 20px rgb(0, 0, 0, 0);
    color: #DAC7FF;
    font-family: "ztnature-thin";
    transition: all 0.2s ease-in-out,
        opacity 1s ease-in-out;

}

.hero-cta.loaded{
    opacity: 1;
}

.hero-cta:hover{
    cursor:pointer;
    background-color: #ebe0ff;
    color: white;
    background-color: rgb(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgb(0, 0, 0, 0.4);
}

.port1, .port2, .port3, .port4, .port5, .port6{
    font-family: "ztnature-med";
    display: flex;
    height: 3vw;
    z-index: 1;
    box-shadow: 0 0 20px rgb(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.port1{ background-color: #3f2569; }
.port2{ background-color: #37205e; }
.port3{ background-color: #311b54; }
.port4{ background-color: #2a164a; }
.port5{ background-color: #241441; }
.port6{ background-color: #1c113b; }


.port1:hover, .port2:hover, .port3:hover, .port4:hover, .port5:hover, .port6:hover{
    height: 6vw;
    cursor: pointer;
    color: #ebe0ff;
}

.port-title1, .port-title2, .port-title3, .port-title4, .port-title5, .port-title6 {
    display: flex;
    padding-left: 2vw;
    align-items: center;

    font-size: 2vw;
    color: #7151a9;
    text-shadow: 0 0 3px rgb(0, 0, 0, 0.35);
    transition: all 0.3s ease-in-out;
}
.port-desc1, .port-desc2, .port-desc3, .port-desc4, .port-desc5, .port-desc6{
    display: flex;
    margin: 0 auto;
    align-items: center;

    font-size: 2vw;
    color: rgb(113, 81, 169, 0);
    transition: all 0.3s ease-in-out;
}
.port1:hover > .port-title1, .port2:hover > .port-title2, .port3:hover > .port-title3, .port4:hover > .port-title4, .port5:hover > .port-title5, .port6:hover > .port-title6{
    color: white;
    text-shadow: 0 0 10px rgb(255, 255, 255, 0.3);
}
.port1:hover > .port-desc1, .port2:hover > .port-desc2, .port3:hover > .port-desc3, .port4:hover > .port-desc4, .port5:hover > .port-desc5, .port6:hover > .port-desc6{
    color: white;
    text-shadow: 0 0 10px rgb(255, 255, 255, 0.15);
}

footer{
    display: flex;
    height: 3vw;
    font-family: "ztnature-thin";
    font-size: 1.25vw;
    box-shadow: 0 0 25px rgb(0, 0, 0, 0.4);
    background-color: #100027;
}

.cpyrt{
    display:flex;
    margin-left: 1vw;
    align-items: center;
}
