* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: rgb(194, 206, 211);
}

html {
    scroll-behavior: smooth;
}

#sidebar {
    width: 170px;
    height: 100vh;
    background-color: #2c3e50;
    color: white;
    position: fixed;
    z-index: 10;
    top: 0;
    left: -170px;
    /* Hide by default */
    transition: 0.4s ease-out;
    padding-top: 20px;
}

#sidebar a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: white;
}

#sidebar a:hover {
    background-color: #34495e;
}

#openBtn {
    position: fixed;
    top: 0;
    z-index: 5;
    padding: 15px 7px;
    background-color: #2c3e50;
    color: white;
    border: none;
    cursor: pointer;
}

#closeBtn {
    margin-left: 20px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
}

.sep {
    height: 5px;
    background-color: black;
}

nav {
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

nav h1 {
    background-image: url(neon.jpeg);
    background-size: cover;
    background-position: center;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    opacity: 0;
    animation: navh1 1s linear .5s forwards;
    font-family: "Caprasimo", serif;
    font-weight: 400;
    font-style: normal;
}

@keyframes navh1 {
    100% {
        opacity: 1;
        transform: scale(1.1) rotate(360deg);
    }
}

header {
    background: url(bg.jpg);
}

header .box {
    height: 70vh;
    background-color: rgba(0, 0, 0, 0.427);
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 25px;
    overflow: hidden;
}

header h1,
header p {
    color: white;
    text-align: center;
    animation: headerT 1.5s ease forwards;
    animation-direction: reverse;
}

@keyframes headerT {
    from {}

    to {
        transform: translateX(100vw);
        color: black;
    }
}

.aboutme {
    margin: 10% 10%;
    padding: 90px 50px;
    background-color: white;
    display: flex;
    gap: 25px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 16px 24px rgba(0, 0, 0, 0.1);
}

.aboutme section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aboutme img {
    height: 200px;
    border: 0;
    border-radius: 50%;
    margin-top: 40px;
}

.tinfo {
    background-color: rgb(205, 226, 247);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 0px;
}

.tinfo section {
    width: 300px;
    margin: 20px;
    background-color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 16px 24px rgba(0, 0, 0, 0.1);

}

.tinfo section:hover {
    animation: tsect 1s ease forwards;

}

@keyframes tsect {
    100% {
        transform: rotateY(360deg);
    }
}

.tinfo ul {
    padding-left: 45px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.messenger {
    background-color: rgb(255, 211, 218);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;

}

.messenger a {
    display: inline-block;
    background-color: #0084FF;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.messenger a:hover {
    transform: scale(1.1);
}

footer {
    padding: 50px;
    height: 80vh;
    background-color: black;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

footer section {
    display: flex;
    align-items: center;
    gap: 15px;

}

footer section img {
    transition: all .3s ease;
}

footer section img:hover {
    transform: scale(1.1) rotate(360deg);
}