@import url('httpd://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    
}

body {
    background: #000000;
    color: aliceblue;
}

.header {
    position :fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content:space-between;
    align-items: center ;
    z-index: 100;
}
.logo {
    position: relative;
    font-size: 25px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 600;

}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;

}
.navbar a {
    font-size: 18px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;

}
.navbar a:hover,
.navbar a.active {
    color: #b90000;

}

.home {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;

}

.home-content {
    background: transparent ;
    max-width: 600px;

}


.home-content h1 {
    position: relative;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

.home-content h3 {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: #b90000;
}

.home-content p {
    position: relative;
    font-size: 16px;
    margin: 20px 0 40px;

}
.home-content .btn-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50px;

}

.btn-box a {

    position: relative;
    display: inline-flex; 
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: #b90000;
    border: 2px solid #b90000;
    border-radius: 8px;
    font-size: 19px;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;

}

.btn-box a:hover {
    color: #b90000;

}

.btn-box a:nth-child(2) {
    background: transparent;
    color: #b90000;
}

.btn-box a:nth-child(2):hover {
    color: #000000;
}

.btn-box a:nth-child(2)::before {
    background: #b90000;
}


.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #000000;
    z-index: -1;
    transition: .5s;
}

.btn-box a:hover::before {
    width: 100%
}
.home-sci {
position: absolute;
bottom: 40px;
width: 170px;
display: flex;
justify-content: space-between;
}

.home-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height:40px;
    background: transparent;
    border: 2px solid #b90000;
    border-radius: 50%;
    font-size: 20px;
    color: #b90000;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
}

.home-sci a:hover {
    color: #000000;
}

.home-sci a::before {
    content: '';
    position :absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background : #b90000 ;
    z-index: -1;
    transition: .5s;
}

.home-sci a:hover:before {
    width: 100%;
}



.container {
    margin: 100px 0 0 200px;
    width: 80%;
    height: 400px;
    display:flex;
    justify-content:right;
    position: absolute;
    right:200px;
    top: 70px;
    align-content:center;
    gap: 10px ;
   }
   .container img {
       width: 10%;
       height: 100%;
       object-fit: cover;
       border-radius: 10px;
       border: 2px solid rgb(180, 1, 10);
       transition: all ease-in-out 0.5s;
   }
   .container img:hover {
       width: 25%;
   }

 /*  KEYFRAMES ANIMATION*/
 @keyframes showRight {
    100% {
        width: 0;
    }
 }

 .home-content h1::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    animation: showRight 1s ease forwards;
    animation-delay: 1s;
 }

 
 .home-content h3::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    animation: showRight 1s ease forwards;
    animation-delay: 1.3s;
 }

 .home-content p::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    animation: showRight 1s ease forwards;
    animation-delay: 1.6s;
 }

 .home-content .btn-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    animation: showRight 1s ease forwards;
    animation-delay: 1.9s;
    z-index: 2;
 }

