@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 51.5%;
    scroll-behavior: smooth;
}

body {
    background: rgb(2, 0, 36);
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(16, 9, 121, 1) 46%, rgba(0, 212, 255, 1) 100%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.loaded {
    opacity: 1;
}

h1,
h3 {
    color: yellow;
    text-transform: uppercase;
}

.header nav ul {
    display: flex;
    justify-content: right;
    margin: 5px 35px;
}

.header nav ul li {
    margin: 15px 30px;
    text-decoration: none;
    list-style: none;
    font-size: 2.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    position: relative;
}

nav a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform 0.3s ease;
}

nav a:hover::before {
    transform: scaleX(1);
}

#navhl::before {
    transform: scaleX(1);
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    flex-wrap: wrap;
}

.left,
.right {
    font-size: 2.5rem;
    margin: 20px;
    padding: 20px;
    text-align: left;
    width: 40%;
}

.left .text-area h1 {
    font-size: 6rem;
}

.text-area {
    margin-bottom: 10px;
}

.text-area h3 {
    color: white;
}

.text-area p {
    margin-top: 20px;
    width: 100%;
    font-size: 1.5rem;
    color: white;
    text-transform: capitalize;
}

#newsletter-subscribe-form input {
    padding: 15px;
    margin: 15px 0;
    width: 100%;
    border: none;
    outline: none;
}

#ebook-subscribe-form input {
    padding: 15px;
    margin: 15px 0;
    width: 100%;
    border: none;
    outline: none;
}

button {
    background-color: yellow;
    padding: 15px 40px;
    text-transform: uppercase;
    color: blue;
    font-size: 2rem;
    cursor: pointer;
    border: none;
    outline: none;
}

.newsletter-button,
.ebook-button {
    margin: 20px 0;
}

.newsletter-form a,
.ebook-form a {
    color: white;
    text-decoration: none;
    position: relative;
}

.newsletter-form a::before,
.ebook-form a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: lightyellow;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.newsletter-form a:hover::before,
.ebook-form a:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}



.container .right img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    margin: 0 auto;
}


.right {
    text-align: center;
    width: 40%;
}

.right h3 {
    color: white;
    margin-bottom: 10px;
}

button:hover {
    background-color: lightyellow;
    color: navy;
    transition: background-color 1s ease-in-out, color 1s ease-in-out;
}



@media screen and (max-width: 768px) {

    .container .left,
    .container .right {
        width: 100%;
    }
}