html {
    overflow-x: hidden;
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(to right, rgb(255,255,255), rgb(254,215,173));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'open sans', sans-serif;
}

li {
    list-style: none;
}

.logo {
    width: 50px;
    height: 50px;
}

a{
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
}

a:hover {
    color: rgb(141, 76, 202);
    transition: 1s;
}

header {
    position: relative;
    padding: 0 2rem;
    background-color: #000;
}

.navbar {
    width: 100%;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .toggle-btn {
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

@media (max-width: 992px) {
    .navbar .links {
        display: none;
    }

    .navbar .toggle-btn {
        display: block;
    }
}

.dropdown_menu {
    position: absolute;
    top: 60px;
    right: 2rem;
    height: 0;
    width: 300px;
    background-color: rgba(0, 0, 0, 0.677);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    overflow: hidden;
    transition: height 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu.open {
    height: 230px;
}


.main-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.main-container .image {
    z-index: -1;
    width: 40%;
}

.main-container .image img {
    width: 100%;
}

.main-container .content {
    color: black;
    width: 40%;
    min-width: 100px;
}

.content h1 {
    font-size: 50px;
}

.content h1 span {
    color: rgb(109, 67, 0);
    text-shadow: 0 0 10px rgb(109, 67, 0);
}

.content .typewriter {
    font-weight: 600;
    font-size: 30px;
}

.content .typewriter span {
    color: rgb(109, 67, 0);
    font-size: 2.5rem;
    text-shadow: 0 0 5px rgb(109, 67, 0);
    position: relative;
    transition: 0.3s linear;
}

.typewriter span::before {
    content: "Tarot Reader";
    animation: words 15s infinite;
}

.typewriter span::after {
    content: "";
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid black;
    animation: cursor 0.6s linear infinite;
}

@keyframes cursor {
    to{
        border-left: 3px solid #b74b4b;
    }
}

@keyframes words {
    0%,23% {
        content: "Tarot Reader";
    }

    24%,56% {
        content: "Reiki Healer";
    }

    57%,79% {
        content: "Couselor";
    }

    80%,100% {
        content: "Astrologer";
    }
}

.content p {
    font-size: 20px;
    margin: 10px 0;
}

.social-links i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid purple;
    border-radius: 50%;
    color: purple;
    margin: 5px 10px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}

.social-links i:hover {
    scale: 1.3;
    color: #fff;
    background-color: purple;
    filter: drop-shadow(0 0 10px rgb(94, 7, 94));
}

@media (max-width:884px) {
    body {
        overflow-y: visible;
    }

    .main-container {
        display: flex;
        flex-direction: column;
    }

    .main-container .content {
        width: 80%;
    }

    .main-container .image {
        width: 80%;
        margin-left: 0px;
    }
}
