:root {
  --main-color-light: #de9eb5;
  --main-color-dark: #8B0000;
  --main-color-hover: #D2B48C;
  --nav-bg: rgb(225, 181, 199);
  --nav-bg-hover: #8B0000;
  --vintage-text-shadow-color: rgba(139, 0, 0, 0.4);
}
#myVideo {
  position: fixed;
  top: 20%;
  left: 2%;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  transform: scale(1.50);
  filter: grayscale(1.0);
}

/* --- Fonts (Assuming correct font files are present in the same directory) --- */
@font-face { 
  font-family: 'MAIN'; 
  src: url('birds.ttf') format('truetype'); 
}
@font-face { 
  font-family: 'AMIGH'; 
  src: url('amigh.ttf') format('truetype'); 
}
@font-face { 
  font-family: 'SUB'; 
  src: url('MAIN.otf') format('opentype'); 
}
@font-face { 
  font-family: 'bold-font'; 
  src: url('theboldfont.ttf') format('truetype'); 
}
@font-face { 
  font-family: 'CIN'; 
  src: url('cinema sunday demo font.otf') format('opentype'); 
}

/* --- General --- */
body {
  margin: 0;
  overflow-x: hidden; /* This prevents horizontal scrolling */
}

/* --- Headings --- */
h1 {
  font-family: 'CIN', sans-serif; /* Fixed font name */
  text-align: center;
  margin: auto;
  margin-top: 4%;
  padding-top: 2%;
  transform: scale(3.0);
  color:#ffffff;
  font-size: xx-large;
  text-shadow: 0 0 10px #fff, /* Inner white glow */
               0 0 20px #fff, /* Middle white glow */
               0 0 30px #a05772, /* Outer pink glow */
               0 0 40px #772d48; /* Wider pink glow */
}

p {
  font-family: 'CIN', sans-serif; /* Fixed font name */
  color: var(--main-color-dark);
  line-height: 2.0;
}

.pink-paragraph {
  font-family: 'bold-font', sans-serif; /* Fixed font name */
  background-color: #d87a96;
  color: white;
  width: 40%;
}

/* --- Navigation --- */
nav {
  background-color: rgb(225, 181, 199);
  padding: 0;
  border-radius: 10px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}
ul {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 0;
  flex-wrap: wrap; /* Added flex wrap for responsiveness */
}
nav > ul > li > a {
  font-family: 'bold-font', sans-serif; /* Fixed font name (was SUB) */
  color: rgb(171, 34, 71);
  text-decoration: none;
  display: block;
  text-shadow: 1px 1px 2px rgb(255, 255, 255);
  padding: 10px;
  transition: color 0.4s ease;
}
nav > ul > li > a:hover {
  color: rgb(255, 255, 255);
  background-color: transparent;
}

/* Added specific hover effects for about and projects */
.about a:hover,
.projects > a:hover {
  color: rgb(255, 255, 255);
  background-color: transparent;
}


/* --- Dropdown --- */
.dropdown { position: relative; }
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background-color: rgb(255, 235, 197);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 10px;
}
.dropdown-content a {
  color: rgb(182, 157, 111);
  font-family: 'AMIGH', sans-serif; /* Fixed font name */
  padding: 12px 16px;
  display: block;
  text-shadow: none;
  transition: background-color 0.3s, padding 0.3s;
}
.dropdown-content a:hover {
  background-color: #bfc1d7;
  color: white;
  border-radius: 10px;
}
.dropdown:hover .dropdown-content { display: block; }


/* --- Email --- */
.email {
  display: flex;
  align-items: center;
}
.email a {
  font-family: 'bold-font', sans-serif; /* Fixed font name (was SUB) */
  color: rgb(171, 34, 71);
  text-decoration: none;
  transition: color 0.4s ease;
  padding: 10px;
}
.email a:hover { 
    color: rgb(255, 255, 255);
    background-color: transparent;
}


/* --- Layout --- */
.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 90%;
  margin: 20px auto;
  padding-top: 60px;
  gap: 20px;
  flex-wrap: wrap;
  min-height: 50vh;
  position: relative; /* Add position relative for the h1 absolute positioning */
}

/* --- Skills Table --- */
.skills-table {
  order: 1;
  flex: 0 0 30%;
  padding: 20px;
  border-radius: 20px;
  color: white;
  background-color: #b25c75;
  font-family: 'CIN', sans-serif; /* Fixed font name */
  line-height: 2.0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow */
   border: 5px solid white;
   transition: transform 0.3s ease-in-out, border-radius 0.3s ease-in-out;
}
.skills-table:hover{
 transform: scale(1.05) rotate(-10deg); /* Use spaces to separate transforms */
}
.skills-table th {
  background-color: #d87a96;
  padding: 6px;
  text-align: center;
  border-radius: 10px;
}
.skills-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

/* --- Image --- */
img {
  order: 2;
  flex-shrink: 0;
  width: 450px;
  height: 450px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow */
  transition: transform 0.3s ease-in-out, border-radius 0.3s ease-in-out; /* Add a transition for a smooth effect */
 border: 5px solid white;
}
img:hover {
  transform: scale(1.1); /* Corrected transform syntax */
  border-radius: 10%;
}

/* --- Main Text --- */
.main {
  order: 3;
  flex: 0 0 40%;
  min-width: 0;
  padding: 6%;
  border-radius: 10px;
  background-color: #de9eb5;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in; /* Add a transition for a smooth effect */
   border: 5px solid white;
}
.main:hover {
  transform: scale(1.05) rotate(10deg); /* Use spaces to separate transforms */
}

.skills {
  text-align: right;
}

.about-me-text {
  order: 3;
  flex: 1;
  min-width: 0;
}
