@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

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

a {
    text-decoration: none;
}

.hero {
    width: 100%;
    height: 100vh;
    background: url(img/bg.png);
    background-size: cover;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 100px;
}

.logo {
    max-height: 60px;
    border-radius: 80%;
}

nav ul li {
    list-style: none;
    display: inline-block;
    padding: 10px 20px;
}

nav ul li a {
    color: #1d1d24;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: #fd4766;
}

nav ul li a:after {
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    height: 3px;
    background: #fd4766;
    transition: 0.3s;
    bottom: 0;
}

nav ul li a:hover:after {
    width: 100%;
}

.btn {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 16px 40px;
    border-radius: 500px;
    display: inline-block;
    font-weight: 500;
    transition: all 0.4s ease-in-out;
    background-size: 152% 100%;
    background: #fd4766;
    border: 2px solid #fd4766;
}

.btn:hover {
    background: transparent;
    border-color: #fd4766;
    color: #fd4766;
}

.content {
    position: absolute;
    top: 35%;
    left: 8%;
}

.content .title {
    color: #0a0a0a;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: inline-block;
    margin-bottom: 20px;
    background: linear-gradient(120deg,
            #1c99fe 20.69%,
            #7644ff 50.19%,
            #fd4766 79.69%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content h1 {
    color: #1f1f25;
    font-size: 75px;
    font-weight: 700;
    line-height: 70px;
    text-transform: inherit;
    width: 70%;
}

.content h2 {
    color: #1f1f25;
    font-size: 35px;
    font-weight: 900;
    line-height: 90px;
    text-transform: inherit;
    width: 70%;
}

.logo {
    max-height: 60px;
    border-radius: 80%;
}

.content h3 {
    color: #fd4766;
    font-size: 25px;
    font-weight: 900;
    line-height: 90px;
    text-transform: inherit;
    width: 70%;
}

.content h1 span {
    color: #fd4766;
}

.content p {
    width: 55%;
    color: #202020;
    margin-top: 25px;
    margin-bottom: 30px;
}

.theme-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 64px;
    height: 32px;
    background-color: lightgrey;
    border-radius: 15px;
    border: 2px solid grey;
    cursor: pointer;
    transition: background-color 0.5s, border-color 0.5s, box-shadow 0.5s;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.theme-toggle .icon {
    width: 24px;
    height: 24px;
    transition: transform 0.5s;
    position: relative;
    left: 3px;
}

.theme-toggle.active {
    background-color: #333333;
    border-color: #333333;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.5);
}

.theme-toggle.active .icon {
    transform: translateX(30px);
}

body.dark-theme {
    background-color: #1a1a1a;
    color: #e0e0e0;
    transition: background-color 1s, color 1s;
}

body.dark-theme nav ul li a {
    color: #e0e0e0;
}

body.dark-theme .hero {
    background-color: #1a1a1a;
}

body.dark-theme .content h1,
body.dark-theme .content h2 {
    color: #e0e0e0;
}

body.dark-theme .content h1 span,
body.dark-theme .content h2 span {
    color: #aaaaaa;
}

body.dark-theme .content p {
    color: #cccccc;
}

body.dark-theme .btn {
    background: #555555;
    border: 2px solid #555555;
    color: #e0e0e0;
}

body.dark-theme .btn:hover {
    background: transparent;
    border-color: #555555;
    color: #555555;
}