* {
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #353935;
    --text-color: #f4f4f4;
    /* --header-bg: #1B1212; */
    --header-bg: #18121b;
    --footer-bg: #202020;
    --link-color: lavender;
    --button-bg: #333;
    --button-text: white;
    --bs-nav-link-color: aliceblue;
}



body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    transition: all 1s ease-out;
}


.nav-underline .nav-link.active,
.nav-underline .show>.nav-link {
    color: aliceblue;
}

.nav-link {
    color: lavender;
    --bs-nav-link-hover-color: rgb(211, 211, 254);
}

.cp {
    padding: 20px;
}

ul,
nav {
    list-style: none;
    align-items: center;
}

html {
    scroll-behavior: smooth;
}

header {
    text-align: center;
    padding: 20px;
    background-color: var(--header-bg);
    color: var(--text-color);
}

#skills {
    width: 70vw;
}

section {
    margin-bottom: 20px;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    width: 100vw;
    background-color: #202020;
}


nav a,
footer a {
    color: lavender;
}

a {
    color: var(--link-color);
    text-decoration: none;
}


button {
    background-color: var(--button-bg);
    color: var(--button-text);
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #ff7e5f;
    color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.table {
    max-width: 600px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    grid-auto-rows: minmax(50px, auto);
}

.table>div {
    border: 2px solid azure;
    border-radius: 5px;
    background-color: aliceblue;
    padding: 1em;
    color: #202020;
}

.table a {
    color: blueviolet;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 2s ease-in;
}

.nav-phone {
    display: none;
}

footer {
    position: fixed;
    bottom: 0;
}

@media screen and (max-width: 768px) {
    body {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
    }

    header {
        flex-direction: column-reverse;
    }

    .two {
        display: none;
    }

    nav {
        gap: 5px;
    }

    footer {
        display: flex;
        flex-direction: column;
    }

    .right-el {
        display: none;
    }

    .com-n {
        display: flex;
        flex-direction: column;
    }

    .nav-default {
        display: none;
    }

    nav {
        justify-content: space-between;
    }

    .nav-phone {
        display: block;
    }

    .no-phone {
        display: none;
    }

    .oc-p {
        max-width: 95vw;
    }

}