@import "theme.css";

body {
    background: var(--background);
    color: var(--fontColor);
}

.following {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 50%;
    left: 50%;

    img {
        width: 100px;
        transform: translate(-50%, -50%);
    }
}

header {
    position: fixed;
    z-index: 20;
    background-color: var(--background);
    width: 100vw;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 20px;
    opacity: 0.8;

    @media (max-width: 550px) {
        justify-content: flex-end;
    }

    .name {
        a {
            font-size: 25px;
            letter-spacing: 3px;
        }

        @media (max-width: 550px) {
            display: none;
        }
    }

    .menus {
        display: flex;
        align-items: center;
        margin-right: 10px;

        a {
            font-size: 12px;
            padding: 2px 5px;
            margin: 10px;
        }

        a:hover {
            color: var(--background);
            background-color: var(--fontColor);
            transition: all 0.3s ease-in-out;
        }
    }

    .toggle {
        margin-left: 10px;
        width: 30px;
        height: 30px;
        background-color: var(--fontColor);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;

        .dicon {
            width: 100%;
        }
    }
}

main {
    height: 100vh;

    .home {
        display: flex;
        align-items: center;
        width: 100%;
        height: 100vh;
        background: url(https://images.pexels.com/photos/9166686/pexels-photo-9166686.jpeg) center center / cover no-repeat;
    }

    .home div {
        width: 50%;
        margin: auto;
        font-size: 24px;
        line-height: 40px;
        font-weight: 100;
        color: white;
    }

    .blink {
        font-size: 30px;
        animation: blink 1s step-end infinite;
    }
}

@keyframes blink {
    50%{
        opacity: 0;
    }
}

footer {
    height: 50vh;
    border: 1px solid yellow;
}