*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    overflow-x:hidden;
}

.wrapper{
    position:relative;
    width:100%;
    min-height:100vh;
    overflow:hidden;
}

/* MAIN CONTENT */

.main-content{
    background: url(../assets/banner-bg.png) no-repeat center bottom fixed;
    background-size: cover;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    transition:transform 0.4s ease;
    padding:20px;
}

.main-content img {
    width: 460px;
    mix-blend-mode: multiply;
}

/* PUSH EFFECT */
.main-content.shifted{
    transform:translateX(-10%);
}

/* BACKGROUND TEXT */

.background-text{
    position:absolute;
    top:18%;
    left:50%;
    transform:translateX(-50%);
    text-align:center;
    pointer-events:none;
}

.background-text h1{
    font-size:9vw;
    color:#dcdcdc;
    font-weight:700;
    line-height:1;
}

/* CENTER CONTENT */

.hero-content{
    text-align:center;
    z-index:2;
    position: fixed;
    bottom: 0;
    margin-bottom: 40px;
}


.hero-content h2{
    font-size:1.6rem;
    color:#777;
    font-weight:300;
    margin-bottom:10px;
}

.hero-content h3{
    font-size:1.6rem;
    font-weight:700;
    color:#555;
    margin-bottom:35px;
}

.resume-btn{
    border: 2px solid #d90000;
    color:#d90000;
    font-size:1.3rem;
    padding:15px 40px;
    border-radius:10px;
    cursor:pointer;
    background: white;
    box-shadow:0 10px 25px rgba(0,0,0,.18);
    text-decoration: none;
}

/* SIDEBAR */

.sidebar{
    position:fixed;
    top:0;
    right:-320px;
    width:320px;
    height:100vh;
    background:white;
    box-shadow:-4px 0 20px rgba(0,0,0,.15);
    transition:right 0.4s ease;
    z-index:999;
}

.sidebar.open{
    right:0;
}

.sidebar-content{
    padding:0;
}

.sidebar-content h2{
    margin-bottom:25px;
}

.sidebar-content ul{
    list-style:none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-content li{
    padding:0px;
    border-bottom:1px solid #ccc;
    height: 50vh;
    align-content: center;
}

.sidebar-content li a {
    background: #f8f8f8;
    padding: 40% 20px 20px 20px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    width: 100%;
    height: 100%;
    align-items: center;
}

.sidebar-content li a:hover {
    background: #fff;
}

.sidebar-content li img {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.sidebar-content li p {
    text-align: justify;
    color: #777;
}

/* TOGGLE BUTTON */

.toggle-btn{
    position:fixed;
    right:0;
    top:50%;
    transform:translateY(-50%);
    transition: right 0.4s ease;
    padding: 30px 15px;
    border:none;
    cursor:pointer;
    color:white;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:linear-gradient(
        to bottom,
        #ff2c2c,
        #d50000
    );
    border-radius:12px 0 0 12px;
    z-index:1000;
    box-shadow:-5px 0 15px rgba(0,0,0,.2);
}

.toggle-btn .label{
    writing-mode:vertical-rl;
    transform:rotate(180deg);
    font-size:18px;
    white-space: nowrap;
}

.toggle-btn .arrow{
    font-size:22px;
}

.toggle-btn.active{
    right:320px;
}

.toggle-btn:hover {
    border:1px solid #d50000;
    background: white;
    color: #d50000;
}

.toggle-btn:hover .label, .toggle-btn:hover .arrow {
    color: #d50000;
}

/* RESPONSIVE */

@media(max-width:768px){

    .background-text h1{
        font-size:16vw;
    }

    .hero-content h2{
        font-size:1.8rem;
    }

    .hero-content h3{
        font-size:1.8rem;
    }

    .sidebar{
        width:280px;
        right:-280px;
    }

    .toggle-btn.active{
        right:280px;
    }

    .main-content.shifted{
        transform:translateX(-280px);
    }
}

@media(max-width:480px){

    .hero-content h2{
        font-size:1.8rem;
    }

    .hero-content h3{
        font-size:1.8rem;
    }

    .resume-btn{
        padding:14px 40px;
        font-size:1.1rem;
    }

    .toggle-btn{
        width:50px;
        height:190px;
    }
}