@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200..700&display=swap");

:root {
    /* colors */
    --lightest-purple: #f8f7ff;
    --light-purple: #bec0ff;
    --medium-blue: #3543d9;
    --dark-blue: #191c78;
    --deep-navy: #080d27;

    /* shadows */
    --drop-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    color: var(--deep-navy);
    background: var(--lightest-purple);
    font-family: "poppins", sans-serif;
}
.navbar {
    position: absolute;
    width: 100%;
    height: 70px;
    z-index: 999;
    background: var(--light-purple) /* rgba(255, 255, 255, 0.3) */;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.navbar > img {
    width: 45px;
    height: 45px;
    position: relative;
    margin-left: 20px;
    border-radius: 50px;
}
.navview {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: -110vh;
    left: 0px;
    height: 100vh;
    width: 100%;
    background: var(--light-purple);
}
.links {
    display: flex;
    position: relative;
    top: 70px;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.links > a {
    margin: 20px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    color: var(--deep-navy);
    text-shadow: var(--drop-shadow);
}
.navic {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    display: flex;
    align-items: center;
}
.m,
.x {
    font-size: 35px;
}
.x {
    display: none;
    z-index: 1;
    color: var(--deep-navy);
}
#navck {
    display: none;
}
#navck:checked + .navic .x {
    display: flex;
}
#navck:checked + .navic .m {
    display: none;
}
#navck:checked ~ .navview {
    position: absolute;
    display: flex;
    top: 0vh;
    transition-duration: 0.6s;
    transition-timing-function: ease-out;
}

/* MAIN CONTENT CSS */

button {
  width: 140px;
    background-color: #007bff;
    color: #ffffff;
    padding: 15px 20px;
    margin: 10px 10px;
    font-size: 15px;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

button:hover {
    transform: rotateX(15deg) rotateY(-15deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
