﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.2s linear;
}


main {
    margin-top: 10rem;
    margin-left: 1rem;
    padding: 20px;
}

:root {
    --yellow: #F4BB44;
    --purple: #a020f0;
    --mode: white;
}

.darkmode {
    --yellow: #F4BB44;
    --purple: #a020f0;
    --mode: #262626;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.logo{
    font-size: 3rem;
    color: var(--purple);
    font-weight: bolder;
}

.logo span{
    color: var(--yellow)
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5rem;
    background: var(--yellow);
    color: white;
    padding: .9rem 3.5rem;
    cursor: pointer;
    font-size: 36px;
}


.button:hover{
    background: var(--purple);
}


.icons a{
    font-size: 2.5rem;
    color: var(--purple);
    margin-left: 1.5rem;
}

.icons a:hover {
    color: var(--yellow);
}

.icon-button {
    font-size: 2.5rem;
    color: var(--purple);
    margin-left: 1.5rem;
    background: transparent;
}

.icon-button:hover {
    color: var(--yellow);
    cursor: pointer;
}

.icon-button:focus {
    outline: none; 
}

@media only screen and (max-width: 400px) {
    main {
        margin-top: 10rem;
        margin-left: 1rem;
        padding: 20px;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 2rem 9%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 1000;
    }

    .logo {
        font-size: 1rem;
    }

    .button {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--yellow);
        color: white;
        padding: .9rem 3.5rem;
        font-size: 36px;
    }


    .icons a {
        font-size: 0.5rem;
        color: var(--purple);
        margin-left: 1.5rem;
    }

    .icon-button {
        font-size: 2.5rem;
        margin-left: 1.5rem;
    }
}
