@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&family=Poppins&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
}
:root{
    --text-color: #000000;
    --red-color: #cb0000;
    --background-color: #ffffff;
}
html{
    font-size: 62.5%;
}
body{
    overflow: hidden;
}
.Home .img{
    width: 50%;
    position: absolute;
    right: 2rem;
    transform: scale(0);
    animation: loadAnimation_img 1s ease forwards 1s;
}
.Home{
    position: relative;
    min-height: 100vh;
    background-color: var(--background-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10rem;

}
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    padding: 3rem 10rem;
    font-size: 2.2rem;
    animation: loadAnimation 1s ease;
}
header nav a{
    text-decoration: none;
    color: var(--text-color);
    margin-left: 4rem;
    font-size: 2.4rem;
    transition: .2s;
    font-weight: 600;
}
header nav a:hover,
header nav .active{
    color: var(--red-color);
}
.text-box{
    color: var(--text-color);
    width: 45%;
}
.text-box h1{
    font-size: 6rem;
    color: var(--text-color);
    animation: loadAnimation 1s ease forwards .2s;
}
.text-box h1:nth-child(2){
    color: var(--red-color)
}
.text-box p{
    margin: 0.5rem 0;
    font-size: 1.4rem;
    animation: loadAnimation 1s ease forwards .6s;
}
.text-box .Btn{
    color:var(--red-color);
    padding: .8rem 4.5rem;
    border: .2rem solid var(--red-color);
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
    border-radius: .4rem;
    transition: .3s;
    margin-top: 2rem;
    animation: loadAnimation 1s ease forwards .8s;
}
.text-box .Btn:hover{
    background-color: var(--red-color);
    box-shadow: 0 0 1.5rem var(--red-color);
    color: var(--background-color);
}
.text-box *{
    opacity: 0;
}
@keyframes loadAnimation{
    0%{
        opacity: 0;
        transform: translateY(-10rem) ;
    }
    100%{
        opacity: 1;
        transform: translateY(0) ;
    }
    
}
@keyframes loadAnimation_img{
    0%{
        transform: scale(0);
    }
    100%{
        transform: scale(1);
    }
    
}