/*CSS FOR WEB DESIGN*/
*{/*reset muna dito yong laman bago tayo mag design (*= EVERYTHING)*/
    margin: 0;
    padding : 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;

    font-family: 'Poppins';
    scroll-behavior: smooth;
    list-style: none;

    font-family: -apple-system, sans-serif;


    font-family: 'Poppins';
    scroll-behavior: smooth;
    list-style: none;

    font-family: -apple-system, sans-serif;


}
.container {
    position: fixed;   /* stays in place as background */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;       /* pushes it behind all content */
    overflow: hidden;
}

.home {
    position: relative;
    z-index: 1;        /* ensures your text/images appear above background */
    min-height: 80vh; /* full screen height */
    padding: 6rem 9% 2rem;
    justify-content: center;
    display: flex;
    align-items: center;

   

}
.home-img img   {
    border-radius: 50%;
    width: 20vw;
    height: 20vw;

    justify-content: center;/*search lang how to move my image to the left */
}
.home-img img   {
    border-radius: 80%;
    width: 20vw;

    box-shadow: 0 0 20px var(--main-color);
    cursor: pointer;
    animation: floatImage 4s ease-in-out infinite;
    transition: 0.3s ease;
}
.home-img img:hover{
    transform: translateY(-20px);
    box-shadow: 0 0 30px var(--main-color),
                0 0 40px var(--main-color), 
                0 0 50px var(--main-color); 
}
@keyframes floatImage {
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(-2.4rem);
    }
    100%{
        transform: translateY(0);
    }
}

.container div{/*tawagin na natin yong 5 div don sa index-main html mag assign na ng color and function*/
    position:absolute; 
    border-radius: 3rem;
    animation: gradient 4s infinite;/*loop and gagamit tayo ng KEYframe*/
}
@keyframes gradient 
{
50%{/*ito ay 50% ng animation gradient natin na 4s*/
    transform: scale(1.3) translate(100px);/*making moving Hor and Vec every 2s*/
}    
}
/*tatawagin na natin ang mga anak don sa index na si container*/
.container div:nth-child(1){
    height: 100%;
    width: 100%;
    background-color: #034b0b;
}
.container div:nth-child(2){
    height: 80%;
    width: 80%;
    background-color: #162126;  
    top: 12%;
    right: 12%;
    animation-delay: 3s;
}
.container div:nth-child(3){
    height: 60%;
    width: 60%;
    bottom: 10%;
    left: -10%;
    background-color: #1b621e;
    animation-delay: 2s;
}
.container div:nth-child(4){
    height: 40%;
    width: 40%;
    background-color: #030101; 
    top: 12%;
    left: 10%;
    animation-delay: 3s; 
}
.container div:nth-child(5){
    height: 20%;
    width: 100%;
    top: 20%;
    left: 5%;
    animation-delay: 1s;
    background-color: #4c6009;
}
.container::after{/*ito ang sodo element pang over lay*/
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    backdrop-filter: blur(200px);/*gamit to tago natin yong box */
}

:root{/*GREAT FOR VARIABLES*/
    --bg-color: #fff;
    --snd-bg-color: #db4195;
    --text-color: #000;
    --main-color: #fdf9f9;
    --logo-color: #262407;
}
html{/*ELEMENT ITSELF*/
    font-size: 62.5%;
    overflow-x: hidden;
}
body{/*MAIN CONTENT SA CONTAINER*/
    background: var(--bg-color);
    color: var(--text-color);
}
select{/*DROPDOWN MENUS*/
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}


 /*Header Section Start*/

 .header{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    padding: 2rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transform: all 0.5s ease;
 }
 .logo{
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-color);
    cursor: pointer;
    transform: 0.3s ease;
 }
.logo:hover{
    transform: scale(1.5);
    font-family : 'poppins', sans-serif;
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(to right, #fcf9fb, #071715, #f9f9fa, #032703, #dee5e4, #050f03);
    background-clip: text;
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
 }
 @keyframes animate-gradient{
    to{
       background-position: 200%;
 }
 }
.navbar a{
    font-size: 1.9rem;
    color: var(--bg-color);
    margin-left: 4rem;
    font-weight: 700;
    transition: 0.3s ease;
}
.navbar a:hover,
.navbar a:active{
    color: var(--text-color);
}
#menu-icon{
    font-size: 3.6rem;
    color: var(--bg-color);
    cursor: pointer;
        display: none;
 }
 /*Header Section End*/
 /*Home Content*/   

.home-content {
    margin-left: 5rem;
}

.home-content h3 {
    font-size: clamp(2rem, 5vw, 7rem); /* flexible scaling */
    font-weight: 700;
    color: #ebd966;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 3rem;
}

span {
    color: var(--main-color);
}

.home-content h1 {
    font-size: clamp(2rem, 4.5vw, 6rem); /* flexible scaling */
    font-weight: 700; /* corrected from width: 500 */
    line-height: 1.3;
    color: #97cdc5;
}

.home-content p {
    font-size: clamp(1rem, 2vw, 1.9rem); /* flexible scaling */
    color: #a6c0bc;
}
.home-content{
    margin-left: 5rem;
}
.home-content h3{
    font-size: 7rem;
    font-weight: 700;
    color: #ebd966;
}
.home-content h3:nth-of-type(2){/*key point*/
    margin-bottom: 3rem;
}
span{
    color: var(--main-color);
}
.home-content h1{
    font-size: 6rem;
    width: 500;
    line-height: 1.3;
    color: #97cdc5;
}
.home-content p{
    font-size: 1.9rem;
    color:#a6c0bc;

}
.social-media a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 3rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
}
.social-media a:hover{
    transform: scale(1.2) translateY(-10px);/*Independent Transform Control  when hovering that transform/transition*/
    background-color: var(--logo-color);
    color: var(--bg-color);
    box-shadow: 0 0 10px var(--main-color),
                0 0 20px var(--main-color), 
                0 0 30px var(--main-color);
}
.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: var(--main-color);
    border-radius: 4rem; 
    box-shadow: none;
    font-size: 1.6rem;
    color: var(--logo-color);
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3s ease;
    
}
.btn:hover{ /*hover function again for more effect*/
       box-shadow: 0 0 1.6rem var(--snd-bg-color);
}


/*About Section Start*/
.about{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;  
}
.about-img img{
    width: 30vw;
    border-radius: 80%;
    box-shadow: 0 0 20px var(--main-color);
    transition: 0.3s ease;
}
