@import url('https://fonts.googleapis.com/css2?family=Edu+VIC+WA+NT+Hand:wght@400..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

html {
  scroll-behavior: smooth;
}

* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    
    font-family: 'Lato', sans-serif;
    background-color: #999999;
}

.navbar a{
    color: white;
    font-size: 19px;
    text-decoration: none;
    font-weight: 400;
    margin-left: 35px;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: rgb(140, 140, 246);
}

.logo{
    color: white;
    position: relative;
    font-size: 23px;
    text-decoration: none;
    font-weight: 600;
}

.logo::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: black;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

.header {
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    padding: 20px 10%;
    background-color: black;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    display: flex;

}

.home{
    height: 100vh;
    /* background: url('./components/IMG_20250604_231201.jpg') no-repeat; */
    /* background-size: cover; */
    /* background-position: center; */
    display: flex;
    align-items: center;
    padding: 10%;
    text-align: left;
    text-decoration: none;
    /* color: azure; */

}

.home-content{
    max-width: 750px;
    color: black;
    
}

.home-content h1{
    font-size: 50px;
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    color: black;
}

.home-content h1::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #999999;
    animation: showRight 2s ease forwards;
    animation-delay: 1s;
}

.home-content h3{
    color: rgb(140, 140, 246);
    font-size: 40px;
    font-weight: 500;
    position: relative;
}

.home-content h3::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #999999;
    animation: showRight 1s ease forwards;
    animation-delay: 2s;
}

.home-content p{
    font-size: 25px;
    font-weight: 300;
    margin: 20px 0 40px;
    position: relative;
    text-align: justify;
    /* text-justify: inter-word; */
    
}

.home-content p::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #999999;
    animation: showRight 1s ease forwards;
    animation-delay: 3s;
}

.home-content .contact{
    display: flex;
    justify-content: space-between;
    width: 350px;
    height: 50px;
    position: relative;
}

.home-content .contact::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #999999;
    animation: showRight 1s ease forwards;
    animation-delay: 2.9s;
    z-index: 2;
}

.contact a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background-color: azure;
    border: 2px solid azure;
    border-radius: 8px;
    font-size: 19px;
    text-decoration: none;
    color: azure;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .3s;
}

.contact a::before{
    content: '';
    position: absolute;
    top: 0%;
    left: 0%;
    width: 0;
    height: 100%;
    background: azure;
    z-index: 1;
    transition: .5s;
}

.contact a:hover::before{
    width: 100%;

}

.contact a:nth-child(1) {
    background: black;
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: 0.3s;
}

.contact a:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: white;
    z-index: -1;
    transition: 0.5s;
}

.contact a:nth-child(1):hover::before {
    width: 100%;
}

.contact a:nth-child(1):hover {
    color: black;
}


.contact a:nth-child(2){
    background: white;
    color: black;  
    position: relative;
    z-index: 1;
}

.contact a:nth-child(2)::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: black;
    z-index: -1;
    transition: 0.5s;
}

.contact a:nth-child(2):hover::before{
    width: 100%;  
}

.contact a:nth-child(2):hover{
    color: white;
    
}

.home-sci{
    position: absolute;
    bottom: 40px;
    width: 170px;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
     z-index: 1;
}

.home-sci::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #999999;
    animation: showRight 1s ease forwards;
    animation-delay: 3.2s;
    z-index: 2;
}

.home-sci a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    color: azure;
    border: 2px solid azure;
    border-radius: 50%;
    text-decoration: none ;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.home-sci a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: black;
    z-index: -1;
    transition: .5s;
    color: azure;
}

.home-sci a:hover:before{
    width: 100%;
}

.home-sci a:hover{
    color: black;
}

.page{
    display: flex;
    padding: 1px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    
}

.image-box{
    width: 600px;
    height: 600px;
    /* border: 2px solid black; */
    
    background-color: transparent;
    box-shadow:  #999999;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    position: relative;
    
    
}

.image-box img{
    padding-top: 20px;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* filter: grayscale(100%); */
    position: relative;
    z-index: 1;
    display: block;
}

.image-box img:hover{
    transform: scale(1.04);
    /* filter: grayscale(0%); */
    box-shadow: #999999;

}

.image-box::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #999999;
    animation: showRight 1s ease forwards;
    animation-delay: 3.5s;
    z-index: 50;
}



/* keyframes animation */

@keyframes showRight {
    100% {
        width: 0;
    }
}