@font-face {
    font-family: 'Open Sans';
    src: url('OpenSans-VariableFont_wdth\,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MyFont';
    src: url('OpenSans-Italic-VariableFont_wdth\,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
    background-color:#000;
}

#blank {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 100;
    animation: fadeOut 1.8s forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: #fff;
    z-index: 20;
    margin-right: 30px;
}

.logo img {
    height: auto;
    width: auto;
}


.menu-toggle {
    cursor: pointer;
    font-size: 1.2em;
    margin-left: auto;
    margin-right: 30px;
    background: hsla(0, 0%, 50%, 0.4);
    border: none;
    padding: 15px;
    border-radius: 8px;
    -webkit-backdrop-filter: blur(15px) !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    color: #fff;
    z-index: 49;
}

#sideMenu {
    position: absolute;
    right: -250px;
    top: 0;
    width: 250px;
    max-height: 100vh;
    -webkit-backdrop-filter: blur(15px) !important;
    backdrop-filter: blur(15px) !important;
    background-color: rgba(15, 15, 15, 0.95);
    box-shadow: -8px 0px 8px hsla(0, 0%, 0%, 0.4);
    color: #fff;
    z-index: 50;
    transition: right 0.5s ease-in-out;
    padding-top: 40px;
    padding-right: 30px;
    overflow-y: auto;
}

#sideMenu ul {
    position: relative;
    list-style-type: none;
    padding: 20px;
    top: -10px;
}

#sideMenu ul li {
    margin: 20px 0;
}

#sideMenu ul li a {
    color: #bbb;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease, background-color 0.3s ease;
}

#sideMenu ul li a:hover {
    color: #fff;
}

#sideMenu ul li a:active {
    color: #ddd;
}

.menu-toggle.active + #sideMenu {
    right: 0;
}

.carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide:nth-child(1) {
    background-image: url('images/Hello.png');
}

.carousel-slide:nth-child(2) {
    background-image: url('images/mp17yrs.png');
}

.carousel-slide:nth-child(3) {
    background-image: url('images/projects.png');
}

.carousel-slide:nth-child(4) {
    background-image: url('images/miscellaneous.png');
}

.carousel-slide:nth-child(5) {
    background-image: url('images/contact.png');
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease;
    opacity: 0;
}

.carousel-slide h1 {
    color: #fff;
    font-size: 4em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.carousel-slide.active {
    opacity: 1;
    z-index: 5;
}

.dots-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    z-index: 20;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    width: 15px;
    height: 15px;
    z-index: 20;
    margin: 0 5px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot:hover, .dot.active {
    background-color: #606060;
    box-shadow: 0 0px 8px rgba(255, 255, 255, 0.5);
}

.hr {
    position: relative;
    border: 1px solid #fff; 
    width: 75%;            
    margin: 5px auto; 
    left: -30px;
}

a {
    text-decoration: none;
}

em {
    position: relative;
    bottom: 25px;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
}
#overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ver. 3.0 */
/* © Michael Rivera (Peeps40836) | 2025. All rights reserved, unless otherwise noted. */