
html {
    height: 100%;
}

body {
    background-color: #37cf34; 

    height: 100%;
    margin: 0;
    
}
main {
    flex: 1;
    background-color: #0a0a0a;
    position: relative;
    z-index: -1;
    margin-top: -50px;
    
 
}


header {
    background: linear-gradient(to bottom, #0a0a0a 90%, rgba(17, 27, 173, 0) 10%);
    display: flex;
    justify-content: flex-end;
}

article {
    color: #0a0a0a;

    padding: 10px;
    text-align: center;
}

footer {
    background-color: rgb(17, 17, 17);
    color: rgba(255, 255, 255, 0.192);

    padding: 10px;    
}

h1 {
    margin-bottom: 4px;
}




                                                    /* ------- */

                                                    /* ID */

                                                    /* ------- */
#PageHeadingH1 { 
    flex: 1;
    color: #f5f5f5;
    padding-bottom: 15px;
    
}

#AboutMeDiv {
    background-color: #f5f5f5;
    color: #0a0a0a;
    display: flex;
    padding-top: 20px;
    
}

#half-split-backgorund-div {
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, #0a0a0a 50%, rgba(162, 131, 131, 0) 50%);
    align-content: center;
    
}

                                                    /* ------- */

                                                    /* Classes */

                                                    /* ------- */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.tight-hr {
    margin: 4px auto;          
    border: none;              
    height: 1px;               
    background-color: #999;    
    width: 50%;                
}


/* down below is the dropdown menus in the header */
.projectsDropdown {
    display: inline-block;
    order: 1;
   
}
.projectsDropdown button {
    background-color: #00000000;
    color: #f5f5f5;
    padding: 10px 10px;
    cursor: pointer;
    border: none;
    transition: color 0.2s ease;


}

.projectsDropdown a {
    display: block;
    color: #f5f5f5;
    text-decoration: none;
    padding: 3px 10px;
    transition: color 0.2s ease, background-color 0.2s ease;

}
.projectsDropdown .dropdownContent {
    visibility: hidden; 
    opacity: 0;
    background-color: #af0d0d;
    position: absolute;
    min-width: 150px;
    box-shadow: 1px 1px 5px rgba(61, 7, 7, 0.567);
    padding: 20px;
    left: auto;
    right: 0;
    border-radius: 2px;
    transition: opacity 0.2s ease 0s, visibility 0.2s linear 0s;
    pointer-events: none;
    
}
.projectsDropdown:hover .dropdownContent {
    opacity: 1;
    visibility: visible;
    transition-timing-function: 0s;
    pointer-events: auto;
    

} 

.projectsDropdown:hover button{
color: #af0d0d;

}
.projectsDropdown a:hover {
    
    color: #ffffffc7;
    

}
/* flipping yusuf image Classes */
/* .ysf_img{
    width: 300px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid;
    border-color: #999;
    transition: transform 0.6s ease;
    backface-visibility: hidden;
    
} */
 .ysf_img_container {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden; /* keeps it circular */
  z-index: 1;
}

.ysf_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.ysf_img_text_div {
  position: absolute;
  inset: 0; /* fill container */
  background-color: rgba(0, 0, 0, 0.6); /* dark overlay */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  text-align: center;
  opacity: 0; /* hidden initially */
  transition: opacity 0.3s ease;
}

.ysf_img_container:hover .ysf_img_text_div {
  opacity: 1; /* fade in on hover */
}




/* ------------------------------------------------------------- */

.MainArticle {
    display: flex;
    flex-direction: column;
    padding-right: 30%;
    padding-left: 15%;
    align-items: center;
}














