/*CSS Reset */
body, header, nav, ul, main, footer, h1, div, img, span {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

/* ROOT styles */
:root {
    color-scheme: light dark;
  }

/* Body element styles */
body {
    background-color: #000d4a;
    background-image: linear-gradient(light-dark(#61004c, #39002d), light-dark(#af008a, #74005c), light-dark(#0023c4, #001889), light-dark(#001889, #000e4e), light-dark(#000d4a, #000314));
    font-family: "Red Hat Display", sans-serif;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: normal;

    
}

/*container styles */
#container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: light-dark(#f0f0f0,#000d4a); /* For browsers that do not support gradients */
    background-image: linear-gradient(light-dark(#ffffe7, #001576), light-dark(#f0f0f0, #000e4e), light-dark(#d8dfff, #39002d) light-dark(#c4cfff, #4d003d) );    
    background-repeat: no-repeat;
    box-shadow: 0px 0px 25px; 
}

/* Nav Styles */
.navbar {
  display: flex;
  align-items: center;
  font-family: "Red Hat Display", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  height: 75px;
  background-color: #001c9d; 
  background-image: linear-gradient(light-dark(#143dff, #002aeb) 10%, light-dark(#001c9d, #001576) 85%, light-dark(#001162, #000e4e) 95%);
  box-shadow: 7px 7px 15px  rgba(0, 10, 59, 0.5);
  top: 0;
  left: 0;
  right: 0;  
  z-index: 99999999; 
    
}

nav.sticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
}

.navbar .biggernav  {
    list-style-type: none;
    display: flex;
    width: 100%;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    gap: 2.5%;

    
}

.navbar li {
    flex: 1;
   


}

.navbar li:first-child {
    padding-left: 1%
}

.navbar li:last-child {
    display: flex;
    justify-content: flex-end;
    padding-right: 1%;
}


/* nav Anchor styles */
.navbar .biggernav li a {

    display: flex;
    white-space: nowrap;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.25rem;
    line-height: 75px;
    text-shadow: 2px 2px 2px #88006b;
    color: light-dark(#fffdd0, #fffdd0e7);
    
    
}

#currentPage {
    color: #000727;
    background-image: linear-gradient(
        light-dark(#ea00b8, #c30099) 30%, light-dark(#c30099, #9b007b) 60%, light-dark(#9b007b, #74005c) 80%);
    text-shadow: 1px 1px light-ark(#88006b, #61004c);
    box-shadow: 7px 7px 10px light-dark(#fffdd0, #61004c);
    padding: 0 auto;
    transition: background-image 0.2s ease-in-out;
    
}


.navbar a:link {
    color:light-dark(#fffdd0, #fffdd0e7);
    font-weight: 300;
}

.navbar a:visited {
    opacity: .78;
    color: light-dark(#fffdd0, #fffdd0e7);
}

.navbar .navlink/*  a */:hover {
    color: #000e4e;
    background-image: linear-gradient(
    light-dark(#ea00b8, #c30099), light-dark(#ff12cd, #ea00b8), light-dark(#ff61dd, #ff26d1));
    text-shadow: 1px 1px light-dark(#88006b, #61004c);
    box-shadow: 5px 5px 10px light-dark(#74005c, #4d003d);
    padding: 0 auto;
    transition: background-image 0.2s ease-in-out;
   
}



.navbar a:active {
    color: aqua;
}

/*Nav Images */
.navbar img {
    height: 50px;
}

/* dark mode button*/
.ldm {
    padding: 2px 5px;
    background-color: #acacac;
    background-image: linear-gradient(#c4cfff 10%, #3b5dff 20%, #0026d8 30%, #001889 60%, #000e4e 80% );
    border-radius: 10px;
    display: flex;
    justify-content: flex-end;
    box-shadow: 4px 4px 5px #000e4e;
}


/* dark mode hover */
.navbar .ldm:hover {
    background-image: linear-gradient( #000e4e 1%, #001889 10%,  #0026d8 20%,#3b5dff 30%, #c4cfff 80% );
    box-shadow: inset 4px 4px 5px #000e4e;
}

button {
    background-color:rgba(0, 0, 0, 0);
    border: rgba(0, 0, 0, 0);
    cursor: pointer;
}

/* main styles */
main {
    padding: 1%;
    font-size: 1.1em;
}

a:link {
    color: light-dark(#000e43, #fffdd0);
}

a:visited {
    color: light-dark(#000f4388, #fffdd082);
}

a:hover {
    color: light-dark(#74005c, #ea00b8);
}
/* FIVE YEARS LIST Main*/
                                                                /* Dark Colors fixed until here */

.category {
    list-style-type: none;
    background: linear-gradient(#61004c, #9b007b);
    color: #fffdd0;
    padding: 1%;
    margin-top: 20px;
    border-radius: 5px;
}

.w3 {
    
    margin-left: 5%;
    padding: 3px;
    list-style-type: none;
    
    
}

.w3 li {
    padding: 5px;
}

.w3 li::before {
    content: "\25A3";
    margin-right: 8px;
}

.w3 li:hover, p a.w3:hover {
    background: linear-gradient(light-dark(#002aeb, #001c9d), light-dark(#001fb1, #001576));   
    padding: 5px;
    box-shadow: 3px 3px 7px;
    border-radius: 10px;
    color: #fffdd0;
    text-decoration: none;
}

.w3 li:hover a {
    color: #fffdd0;
    
}

.grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 3 columns */
    grid-gap: 40px; /* Gap between items */
}

#family, #ai {
    box-shadow: 10px 10px 20px #000e4e;
    border-radius: 10px;
    float: right;
    margin: 0 0 10px 10px;
}

#certifications {
    float: right;
}



#listContainer {

    background-color: light-dark(#c4cfff, #001fb1);
    padding: 0 2%;
    border-radius: 10px;
    box-shadow: 10px 10px 20px #000e4e;
    margin-bottom: 60px;
/*     z-index: 0; 
    position: relative;  */
    margin-top: 40px; 
}

/* TEN YEAR Main styles */
dd {
    margin: 3% 0;
}

dt {
    font-weight: 700;
}



/* ABOUT ME MAP Main styles */
.tt_sm{
    border-radius: 5px;
    box-shadow: 3px 3px 4px rgba(0,0,0,.5); 
    z-index: 1000000;   
    background-color: white;   
    padding: 7px; 
    opacity:0.9; 
    font: 14px/1.5 Verdana, Arial, Helvetica, sans-serif; 
    color: black;
}

 .tt_custom_sm {
    display: grid;
    grid-template-columns: auto auto;
 }

 .tt_custom_sm img {
    margin-right: 20px;
    grid-column-start: 1;
    grid-column-end: 1;
    
    
}
.tt_custom_sm p {
   position: relative; 
   bottom: 18px;
   width: 100%;
   grid-column-start: 2;
   grid-column-end: 2;
    
   
}
    

.tt_name_sm{
    float: left;
    font-weight: bold;
    

    
} 


.xmark_sm{
    margin-left: 5px; 
    cursor: pointer; 
}  

#xpic_sm_map {
    display: none;
}


.tt_mobile_sm{
    margin-top: 5px;
} 

/* MAP BUTTONS */
#zoomButtonContainer {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    align-items: center;
    
    
}

.zoomButton {
    flex: 1;
    height: 32px;
    border-radius: 10px;
    padding: 0 4px;
    color: #fffdd0;
    text-align: center; 
    line-height: 32px; 
    font-family: "Red Hat Display", sans-serif;
    box-shadow: 4px 4px 5px #000e4e;
    text-shadow: 1px 1px #88006b;

}

.zoomButton:hover {
    transform: translateY(2px);
    box-shadow: 0px 0px 0px rgba(0,0,0,0);
    
}

#ORIDLoc {
    background-image: linear-gradient(to right, #61004c, #af008a);
}

#ORLoc {
    background-image: linear-gradient(to right, #af008a, #0023c4);
}

#TNLoc {
    background-image: linear-gradient(to right, #0023c4, #001889);
}

#INLoc {
    background-image: linear-gradient(to right, #001889, light-dark(#000d4a, #001162));
}

#MNLoc {
    background: light-dark(#000d4a, #001162);
}

#PALoc {
    background-image: linear-gradient(to right, light-dark(#000d4a, #001162), #001889);
}

#VALoc {
    background-image: linear-gradient(to right, #001889, #0023c4);
}

#SCLoc {
    
    background-image: linear-gradient(to right, #0023c4, #af008a);
    
}

#LALoc {
    background-image: linear-gradient(to right, #af008a, #61004c);
   
}

/* CONTACT ME Main Styles */
/* The container must be positioned relative: */
.custom-select {
    position: relative;
  }
  
  .custom-select select {
    display: none; /*hide original SELECT element: */
  }
  
  .select-selected {
    border: 10px black;
   }
  
  /* Style the arrow inside the select element: */
  .select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #000 transparent transparent transparent;
  }
  
  /* Point the arrow upwards when the select box is open (active): */
  .select-selected.select-arrow-active:after {
/*     border-color: transparent transparent #fff transparent;
 */    top: 7px;
  }
  
  /* style the items (options), including the selected item: */
  .select-items div,.select-selected {
/*     color: #ffffff;
 */    padding: 8px 16px;
       border: 1px solid black;
/*     border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
 */    cursor: pointer;
  }
  
  /* Style items (options): */
  .select-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;

  }
  
  /* Hide the items when the select box is closed: */
  .select-hide {
    display: none;
  }
  
  .select-items div:hover, .same-as-selected {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5), 2px 2px 5px rgba(0, 0, 0, 0.5);
    border: 2px; 
    /* padding: 500px; */
    background-color: rgba(0, 0, 0, 0.1);
  }

 /* icon styles for contact page */
 
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 30;
}

/* CONTACT ME MAIN CONTAINERS */


.formAndContactContainer {
    display: flex;
    gap: 20px;
    z-index: 2;
    
}

.formContainer {
    flex: 2;
    margin-top: 20px;
    padding: 5%;
    border-radius: 10px;
    box-shadow: 10px 10px 20px #000e4e;
    background-color: light-dark(#c4cfff, #001fb1);
    z-index: 2;
    position: relative;
}

.contactContainer {
    background-color: light-dark(#c4cfff, #001fb1);
    padding: 2%;
    border-radius: 10px;
    box-shadow: 10px 10px 20px #000e4e;
    margin-bottom: 60px;
    margin-top: 20px; 
    flex: 1;
    position: relative;
    z-index: 2;
}

.contactInfo {
    margin-top: -10px;
}

.contactInfo p{
    margin-top: 0px;
}

label {
    margin-left: -2px;
}
input { 
    margin-right: 2px;
}

h4 {
    margin: 2% 0px;
}

.formButton {
    background-color: #001c9d; 
    background-image: linear-gradient(#143dff 10%, #001c9d 85%, #001162 100%);
    color: #fffdd0;
    font-size: 1.25em;
    padding: 2%;
    border-radius: 10px;
    box-shadow: 10px 10px 20px #000e4e;
    text-shadow: 2px 2px 5px #000e4e;
    text-decoration: none;
}

.formButton:hover {
    transform: translateY(2px);
    box-shadow: 0px 0px 0px rgba(0,0,0,0);
}

#formOutput {
    margin-left: 5%;
    font-size: 1.25em;
    padding: 2% 0;
    font-weight: 400;
    border: 1px slid #fffdd0;
    color: #fffdd0;

}

.formOutput {
    position: absolute;
    right: 10px;
    bottom: 5px;
}

#message {
    width: 300px;
    height: 150px;
}

.yourMessage {
    background-color: light-dark(#fffdd0, #000e4e);
    padding: 2%;
    border-radius: 10px;
    box-shadow: inset 3px 3px 10px light-dark(#000e4e, #000727);
    color: light-dark(#000e4e, #fffdd0);

}

 .imgContainer{
        width: 100%;  
        height: 100px;  
       
} 

.petFish {
    position: absolute;
    left: 0px;
    bottom: -25px;
    width: 300px;
}

.petDog {
    position: absolute;
    left: 1px;
    bottom: -87.5px;
    object-fit: cover;
}

.petRabbit {
    position: absolute;
    right: 0px;
    bottom: -30px;
    width: 300px;
}

.petCat {
    position: absolute;
    left: 0px;
    bottom: -70px;
    width: 300px;
}


.petBuffer {
    margin-bottom: 75px;
}

/* INDEX Main styles */
.articleAnchor {
    display: block;
    text-decoration: none;
}

.indexArticle {
    background-color: light-dark(#c4cfff, #001fb1);
    padding: 2%;
    border-radius: 10px;
    box-shadow: 10px 10px 20px #000e4e;
    margin-bottom: 10px;
    width: 350px; 
    min-height: 280px;
    /* flex-grow: 1;  Allow items to grow equally 
    flex-shrink: 0;  Prevent items from shrinking */
    transition: opacity 0.5s;
    opacity: 1;
    overflow: hidden;
    

}



.articleContainer {
    display: flex;
    gap: 20px;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

   /* article hover styles */
.articleContainer:hover .indexArticle{
    opacity: 0.25;
    box-shadow: 5px 5px 10px #000e4e;

}

.articleContainer .indexArticle:hover {
    opacity: 1;
    background-color: light-dark(#b1beff, #002aeb);
    box-shadow: 15px 15px 25px #000727;
    color: light-dark(#000e4e, #fffdd0);

}

   /* index  images */
#usmap {
    max-width: 300px;
}   

#contactimg {
    opacity: .25;
    height: 180px;

}

.ai {
    display: block;
    margin: 0 auto;
    box-shadow: 5px 5px 10px #000e4e;
    border-radius: 10px;
    
}

.cert {
    display: block;
    margin-left: 240px;

}

/* Footer styles */
footer {
    font-size: .85rem;
    text-align: center;
    background-color: light-dark(#768eff, #0023c4);
    padding: 3px 0px;
}


/* MOBILE */
@media only screen and (max-width: 532px), print {
    .mobileOnly, .mobileTablet {
        display: inline;
    }

    .ifNotMobile, .biggerThanTablet {
        display: none;
    }

    /* BODY MARGINS - MOBILE*/
    body {
        margin: 0px 0 75px 0;
    }


    /* Mobile Navigation */

    
    .navbar {
        display: none;
    }



    
    .mobilenav {
       /* display: block; */
        padding: 0px;
        margin: 0px;
        margin-top: 55px;
        position: fixed;
        font-family: "Red Hat Display", sans-serif;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: normal;
        height: 75px;
        background-color: #001c9d; 
        background-image: linear-gradient(#143dff 10%, #001c9d 85%, #001162 100%);
        box-shadow: 0 0  3px  rgba(0, 10, 59, 0.5);
        bottom: 0;
        left: 0;
        display: flex;
        align-items: center;
        width: 100%;
        margin: 0;
        z-index: 100; 
        overflow-x: auto;
        justify-content: space-evenly;
    }

    .mobilenav li {
        list-style-type: none;
    }

    .mobilenav a{ 
        display: flex;
        flex-grow: 1;
        min-width: 50px;
        overflow: hidden;
        white-space: nowrap;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-shadow: 2px 2p 2px #88006b;
        font-size: 13px;
        text-decoration: none;
        color: #fffdd0;

    }

    #colorSchemeText {
        color: #fffdd0;
        font-size: 13px;
        font-family: "Red Hat Display", sans-serif;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: normal;

    }



    .mobilenav img {
        height: 50px;
    }

    .mobilenav .ldm {
        padding: 2px 5px;
         color: #fffdd0;
         font-size: 13px;
         text-shadow: 2px 2p 2px #88006b;
    }

    .ldm:hover {
        background-image: linear-gradient( #000e4e 1%, #001889 10%,  #0026d8 20%,#3b5dff 30%, #c4cfff 80% );

    }
    
    /* ABOUT ME MAP - MOBILE*/
    .tt_custom_sm {
        overflow-y: scroll !important;
        max-height: 400px;
    }



    .tt_custom_sm img {
        width: 100px;
    }

    

    .xmark_sm{
       height: 10px;
    }
    
    .closeContainer {
        position: relative;
    }

    .closeme{
        position: absolute;
        top: 150px;
        left: 16px;
        display:inline;
        padding: 4px;
        background-color: #88006b;
        border-radius: 3px;
        box-shadow: 3px 3px 5px;
        color: #fffdd0;
        text-shadow: 2px 2px 2px #88006b;
        text-decoration: none;
        cursor: pointer;
        
       
    }


    #spaceFiller {
        height: 125px;
    }    

    /* ZOOM BUTTONS - MOBILE*/
    #zoomButtonContainer {
        display: flex;
        justify-content: space-evenly;
        gap: 10px;
        align-items: center;
        
        
    }
    
    .zoomButton {
        flex: 1;
        height: 32px;
        border-radius: 5px;
        padding: 0 4px;
        color: #fffdd0;
        text-align: center; 
        line-height: 32px; 
        font-family: "Red Hat Display", sans-serif;
    }

    /* FIVE YEAR GRID - MOBILE*/
    .grid-container {
        display: grid;
        grid-template-columns: auto; /*1 columns */
       /* grid-gap: 40px;  Gap between items */
    }

    #family, #ai { /* family from FIVE, ai from TEN */
        box-shadow: 10px 10px 20px #000e4e;
        border-radius: 10px;
        float: right;
        margin: 0 0 10px 10px;
        width: 150px;
    }
    
    #certifications {
        float: right;
        width: 150px;
    }

 
/* CONTACT ME Main styles - Mobile */
  
.formButton{
    display:block;
    margin-bottom: 10px;
    min-width: 270px;
    text-align: center;
    color: #fffdd0;
}






#formOutput{
    margin:0px;
    display: inline-block;
}

    

#message {
    max-width: 75%;
}

/*   Mobile 1 columns */
    .formAndContactContainer {
        flex-direction: column-reverse;
        margin-bottom: 0px;
        z-index: 2;
    } 

    #reverse {
        flex-direction: column;
    }

    .contactContainer {
        margin-bottom: 0px;
        z-index: 2;
    }

    .formContainer {
        z-index: 2;
    }



}

/* Only tablet, landscape mobile */
@media only screen and (min-width: 533px) and (max-width: 1000px), print {
    /*All but mobile */
    .mobileOnly, .mobilenav, .closeme, .aligned, .biggerThanTablet {
        display: none;
    }
  

    .mobileTablet {
        display: inline;
    }

    .tt_custom_sm p{
        width: 100%;
    }
    .tt_custom_sm img {
        width: 150px;
    }
    #spaceFiller {
        height: 100px;
    }

    /* ZOOM BUTTONS */
    #zoomButtonContainer {
        display: flex;
        justify-content: space-evenly;
        gap: 10px;
        align-items: center;   
        
    }



    /*   Tablet 1 columns */
    .formAndContactContainer {
        flex-direction: column-reverse;
        margin-bottom: 0px;
        z-index: 2;
    } 

    #reverse {
        flex-direction: column;
    }

    .contactContainer {
        margin-bottom: 0px;
    }
    
    .formContainer {
        z-index: 2;
    }

    

    
   
}


/* Only desktop */
@media only screen and (min-width: 1001px) and (max-width: 1920px), print {

    /* HIDE MOBILE */
    .mobileOnly, .mobileTablet, .mobilenav, .closeme {
        display: none;
    }
  
}

/* Only large desktop */
@media only screen and (min-width: 1921px), print {

    /* HIDE MOBILE */
    .mobileOnly, .mobileTablet, .mobilenav, .closeme {
        display: none;
    }

}

