/*
 * ========================================
 * Global reset and box-sizing
 * ========================================
 */
@font-face {
    font-family: CUR;
    src: url('cur.ttf') format('type');
    font-weight: lighter;
}
@font-face {
    font-family: SUB;
    src: url('MAIN.otf') format('opentype');
    font-weight: normal;
}
@font-face {
    font-family: MAIN;
    src: url('birds.ttf') format('truetype');
    font-weight: normal;
}
@font-face {
    font-family: AMIGH;
    src: url('amigh.ttf') format('truetype');
    font-weight: normal;
}
@font-face {
    font-family: CIN;
    src: url('cinema sunday demo font.otf') format('opentype');
    font-weight: normal;
}
@font-face {
    font-family: bold;
    src: url('theboldfont.ttf') format('truetype');
    font-weight: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
 * ========================================
 * Body styles
 * ========================================
 */
body {
    padding-top: 150px;
    background-image: radial-gradient(#bccbbb,#ffffff);
    background-position: center;
    background-size: cover;
    margin: auto;
    min-height: 100vh;
    position: relative;
}

/*
 * ========================================
 * Universal list styles
 * ========================================
 */
ul {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
}

/*
 * ========================================
 * Main navigation bar styles
 * ========================================
 */
.mainnav {
    background-color: rgb(225, 181, 199);
    border-radius: 0 0 10px 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: none;
     font-family: bold;
}

.mainnav > ul > li > a {
    color: rgb(146, 37, 75);
    text-decoration: none;
    display: block;
    text-shadow: 1px 1px 2px rgb(255, 255, 255);
    padding: 15px 10px;
    transition: color 0.4s ease;
    position: relative;
    font-family: bold;
}

.mainnav .email h4 {
    font-family: AMIGH, sans-serif;
    color: rgb(146, 37, 75);
    text-shadow: 1px 1px 2px rgb(255, 255, 255);
    margin: 0;
    padding: 15px 10px;
    transition: color 0.4s ease;
}

.mainnav .about > a,
.mainnav .projects > a {
     font-family: bold;
    transition: color 0.4s ease;
}

/* Updated hover effects for non-touch devices */
@media (hover: hover) {
  .mainnav .about a:hover,
  .mainnav .projects > a:hover {
      color: rgb(255, 255, 255);
      background-color: transparent;
  }
}

.mainnav .dropdown {
    position: relative;
}

.mainnav .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background-color: rgb(236, 203, 203);
    box-shadow: 0 8px 16px 0 rgba(255, 255, 255, 0.2);
    z-index: 101;
    border-radius: 10px;
    font-family: SUB, sans-serif;
}

.mainnav .dropdown-content a {
    color: rgb(133, 54, 54);
    padding: 12px 16px;
    text-align: left;
    display: block;
    margin: 5px 10px;
    text-shadow: none;
    transition: background-color 0.3s, padding 0.3s;
}

.mainnav .dropdown-content a:hover {
    background-color: #975363;
    color: white;
    border-radius: 10px;
    padding: 12px 16px;
}

/* Control dropdown on touch */
.mainnav .dropdown:hover .dropdown-content,
.mainnav .dropdown.open .dropdown-content {
    display: block;
}

/*
 * ========================================
 * Sub navigation bar styles
 * ========================================
 */
.subnav {
    background-color: #cfa3ae;
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    z-index: 99;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    font-family: amigh;
}

.subnav ul {
    justify-content: center;
    padding: 10px 0;
}

.subnav li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.subnav li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/*
 * ========================================
 * Video background styles
 * ========================================
 */
#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    object-fit: cover;
}

/*
 * ========================================
 * Mobile adjustments
 * ========================================
 */
@media (max-width: 768px) {
    .mainnav > ul,
    .subnav > ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .mainnav > ul > li,
    .subnav > ul > li {
        width: 100%;
        text-align: center;
    }

    .mainnav > ul > li a,
    .subnav > ul > li a {
        padding: 10px 10px;
    }

    .subnav {
        position: relative;
        top: 0;
    }

    body {
        padding-top: 115px;
    }

    #myVideo {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
    }
}
p{
    color: white;
   text-align: center;
   margin-top: 7%;
   font-family: CIN;
  text-shadow: 0 0 10px #fff, /* Inner white glow */
               0 0 20px #fff, /* Middle white glow */
               0 0 30px #d6bfc8, /* Outer pink glow */
               0 0 40px #e0bfcb; /* Wider pink glow */
}
h1{
    color: white;
    text-align: center;
    margin-top: 7%;
    font-family: CIN;
    text-shadow: 0 0 10px #fff, /* Inner white glow */
               0 0 20px #fff, /* Middle white glow */
               0 0 30px #d6bfc8, /* Outer pink glow */
               0 0 40px #e0bfcb; /* Wider pink glow */
}
