/*
Color Palette
Base: #010080
Highlight: #4264af
Highlight2: #1b47a7
Highlight3: White
Shade: #00001f
Accent: f3001d
*/

/*___Universal Style___*/
:root{/*variables for color palette*/
    --base-color:#010080;
    --highlight:#4264af;
    --highlight2:#1b47a7;
    --highlight3:white;
    --highlight4:#a3c0ff;
    --shade:#00001f;
    --accent:#ffd51e;
}
body{
    margin:0;
    padding:0;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

/*-------------------------------------------------------*/
/*___Mobile Design___*/

@media (max-width:769px){
/*nav bar style*/

.navContainer{
    display:grid;
    background-color:var(--shade);
    color: var(--highlight3);
    width:10vw;
    height:100%;
    position:fixed;
    justify-content: center;
}
.navDropDown{
    display:none;
    justify-content: center;
    align-items: center;
    font-size: 3vh;
    border-top: 1px solid var(--accent);
    flex-flow: column;
}
#xIcon{
    display:none;
}
#logo{
    width:30px;
    margin:5px;
}
#homeButton{
    color:var(--highlight4);
    z-index: 999;
    border-radius: 10px;
}
.buttonContainer{
    display:grid;
    grid-column: 1fr;
    text-align: center;
}
.buttonContainer a{
    display:flex;
    justify-content: center;
    align-items: center;
}
#aboutDropDown{
grid-template-columns: 1fr;
}
#serviceDropDown{
grid-template-columns: 1fr;
}
#resourceDropDown{
grid-template-columns: 1fr;
}
#membershipDropDown{
grid-template-columns: 1fr;
}
.aboutDropDown-Items{
    text-decoration: none;
    color:var(--highlight3);
    background-color:var(--highlight2);
    border-bottom:1px solid var(--shade);
    padding:10px;
}
.aboutDropDown-Items:visited{
    text-decoration: none;
    color:var(--highlight3);
}
.serviceDropDown-Items{
    text-decoration: none;
    color:var(--highlight3);
    background-color:var(--highlight2);
    border-bottom:1px solid var(--shade);
    padding:10px;

}
.serviceDropDown-Items:visited{
    text-decoration: none;
    color:var(--highlight3);
}
.resourceDropDown-Items{
    text-decoration: none;
    color:var(--highlight3);
    background-color:var(--highlight2);
    border-bottom:1px solid var(--shade);
    padding:10px;
}
.resourceDropDown-Items:visited{
    text-decoration: none;
    color:var(--highlight3);
}
.membershipDropDown-Items{
    text-decoration: none;
    color:var(--highlight3);
    background-color:var(--highlight2);
    border-bottom:1px solid var(--shade);
    padding:10px;
}
.membershipDropDown-Items:visited{
    text-decoration: none;
    color:var(--highlight3);
}



/*body style*/
.bodyContainer{
    display:grid;
    background-color:var(--highlight2);
    color:var(--highlight3);
    max-width: 100vw;
    width:100%;
}
.splashScreen{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 4.5vw;
    color:var(--highlight3);
    background-image:url(HomeBackground.jpg);
    background-repeat: no-repeat;
    background-size:cover;
    text-shadow:
    -1px -1px 0 var(--shade),  
     1px -1px 0 var(--shade),
    -1px  1px 0 var(--shade),
     1px  1px 0 var(--shade);
    padding-left: 12vw;
    padding-right:2vw;
}
.header{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 3vw;
    text-align: center;
    background-color:var(--highlight3);
    color:var(--shade);
    border-bottom:5px solid var(--accent);
    border-top:5px solid var(--accent);
    padding-left: 12vw;
    padding-right:2vw;
}
#announcement{
    list-style: none;
    display:flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 3vw;
    padding-bottom: 3vh;
    padding-top: 3vh;
    font-size: 5vw;
    padding-left: 12vw;
    padding-right:2vw;
    border-bottom:solid var(--highlight) 1px;
    background-color:var(--base-color);
}
.newsbutton-Item{
    list-style: none;
    display:flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 3vw;
    padding-bottom: 3vh;
    padding-top: 3vh;
    font-size: 5vw;
    padding-left: 12vw;
    padding-right:2vw;
    border-bottom:solid var(--highlight) 1px;
}
.newsbutton-Item:link{
    text-decoration: none;
    color:var(--highlight3);

}
.newsbutton-Item:visited{
    text-decoration: none;
    color:var(--highlight3);
}
.newsbutton{
    background-color:var(--base-color);
    padding:3vw;
    border-radius: 5px;
    box-shadow: 3px 3px var(--shade);
}
.newsButton-Empty{
    display:none;
}
.list{
 padding-left: 0;
 padding-right:0;
 margin:0;
}
.socialIcons{
    height:40px;
    width: 40px;
    background-color: var(--highlight3);
    padding:2px;
    border-radius: 5px;
    border:1px solid var(--shade);
}
.socialLinks{
list-style: none;
}
.socialLabel{
    display:none;
}
.footer{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    max-width: 100vw;
    padding-left: 12vw;
}
#suggestionBoxLink{
    position:relative
}
#suggestionBoxlabel{
    visibility: hidden;
    width: 130px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 85%; 
    left: 50%;
    transform: translateX(-50%);
}
#suggestionBoxLink:hover #suggestionBoxLabel{
    visibility: visible;
}
.search{
    display:flex;
    align-items: center;
    justify-content: center;
    margin:0;
    height:20vh;
    text-align: center;
    background-color: var(--highlight4);
    gap: 5px;
    padding-left:12vw;
    border-bottom:5px solid var(--accent);
}
.search form{
    margin:0;
}
#submit{
    width:80vw;
}
#submit:active{
 background-color: var(--base-color);
 color:var(--highlight3);
}
#search{
    width:80vw;
    height:30%;
    border-radius: 3px;
    border:1px solid var(--shade);
    margin:5px;

}
#searchDropDown{
    width:80vw;
}
.searchButtons{
    padding:5px;
}
/*Virtual Display*/
#vDisplayPortrait{
    height: 90vw;
    border-radius: 10px;
    margin-top: 20px;
    border: 5px solid var(--highlight2);
}
#vDisplayContainer{
    display:flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    padding-left:12vw;
    padding-right:2vw;
}
.vDisplayHeader{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    color:#00001f;

}
#vDisplayLinks{
    display:grid;
    list-style: none;
    grid-template-columns: 1fr 1fr;
    padding:0;
    margin:5px;
    gap: 10px;
    width:90%;
}
.vDLink{
    height:20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:5px;
    text-align: center;
    text-decoration: none;
    color:var(--highlight3);
    background-color: var(--base-color);
    border-radius: 5px;
}
}
/*-------------------------------------------------------*/
/*___Desktop Design___*/
@media (min-width:768px){
.buttonContainer{
    display:grid;
    grid-template-columns: 0.25fr 1fr 1fr 1fr 1fr;
    background-color: var(--shade);
    color:var(--highlight3);
    height:50px;
    position: fixed;
    width:100%;
    max-width:100vw;
    border-bottom: 3px solid var(--accent);
}
.navDropDown{
 display:flex;
 justify-content: center;
 align-items: center;
}
#hamburgerIcon{
    display:none !important;
}
#xIcon{
    display:none !important;
}
#homeButton{
    display: flex;
    justify-content: center;
    align-items: center;
    color:var(--highlight3);
    margin-left:5px;
}
#homeButton svg{
    height:50px;
}
.navDropDown{
    cursor:pointer;
    font-weight: bold;
}


/*nav drop down styles*/
#aboutDropDown{
    position:relative;
}
#aboutContainer{
    color:var(--highlight3);
}
#aboutDropDown #aboutContainer{
    position: absolute;
    top: 100%;
    left: 0;
    Color:var(--shade);
    background-color: #a3c0ff;
    z-index: 1000;
    width: 100%;
    box-shadow: 1px 1px 5px var(--shade);
}
.aboutDropDown-Items{
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color:var(--shade);
    border-top:1px solid var(--shade);
    padding:5px;
    text-align: center;
}
.aboutDropDown-Items:hover{
    background-color: var(--highlight2);
    color:var(--highlight3);
}
/*service*/
#serviceDropDown{
    position:relative;
}
#serviceContainer{
    color:var(--highlight3);
}
#serviceDropDown #serviceContainer{
    position: absolute;
    top: 100%;
    left: 0;
    Color:var(--shade);
    background-color: #a3c0ff;
    z-index: 1000;
    width: 100%;
    box-shadow: 1px 1px 5px var(--shade);
}
.serviceDropDown-Items{
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color:var(--shade);
    border-top:1px solid var(--shade);
    padding:5px;
    text-align: center;
}
.serviceDropDown-Items:hover{
    background-color: var(--highlight2);
    color:var(--highlight3);
}
/*resources*/
#resourceDropDown{
    position:relative;
}
#resourceContainer{
    color:var(--highlight3);
}
#resourceDropDown #resourceContainer{
    position: absolute;
    top: 100%;
    left: 0;
    Color:var(--shade);
    background-color: #a3c0ff;
    z-index: 1000;
    width: 100%;
    box-shadow: 1px 1px 5px var(--shade);
}
.resourceDropDown-Items{
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color:var(--shade);
    border-top:1px solid var(--shade);
    padding:5px;
    text-align: center;
}
.resourceDropDown-Items:hover{
    background-color: var(--highlight2);
    color:var(--highlight3);
}
/*membership*/
#membershipDropDown{
    position:relative;
}
#membershipContainer{
    color:var(--highlight3);
}
#membershipDropDown #membershipContainer{
    position: absolute;
    top: 100%;
    left: 0;
    Color:var(--shade);
    background-color: #a3c0ff;
    z-index: 1000;
    width: 100%;
    box-shadow: 1px 1px 5px var(--shade);
}
.membershipDropDown-Items{
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color:var(--shade);
    border-top:1px solid var(--shade);
    padding:5px;
    text-align: center;
}
.membershipDropDown-Items:hover{
    background-color: var(--highlight2);
    color:var(--highlight3);
}
/*-nav button hover styles-*/
#aboutDropDown:hover{
    background-color:var(--base-color);
    color:var(--highlight3);
    cursor: pointer;
}
#serviceDropDown:hover{
    background-color: var(--base-color);
    color:var(--highlight3);
    cursor: pointer;
}
#resourceDropDown:hover{
    background-color:var(--base-color);
    color:var(--highlight3);
    cursor: pointer;
}
#membershipDropDown:hover{
    background-color: var(--base-color);
    color:var(--highlight3);
    cursor: pointer;
}

/*body styles*/
/*---------*/
/*welcome screen*/
.splashScreen{
    display:flex;
    height: 100vh;
    width:100%;
    max-width:100vw;
    background-image: url(HomeBackground.jpg);
    background-size: cover;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.splashScreen h1{
    font-size: 5vw;
    color:var(--highlight3);
    animation-name:fadeIn;
    animation-duration: 4s;
}
@keyframes fadeIn{
 0%{color:#00001f00;}
 100%{color:var(--highlight3);text-shadow: 1px -1px 3px var(--shade);}
}
/*---------*/
/*Library News*/
.header{
    display:flex;
    align-items: center;
    justify-content: center;
    border-top:5px solid var(--accent);
    border-bottom:5px solid var(--accent);
    background-color:var(--highlight3);
    color:var(--shade);
}
.list{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr ;
    height:120vh;
    padding:0;
    margin:0;
    place-content: center;

}
.newsButton-Item{
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    height:60vh;
    text-decoration: none;
    color:var(--highlight3);
    font-weight: bold;
    font-size: 1.5vw;
}
.newsButton-Item a{
    text-decoration: none;
    color:var(--shade);
    padding:15px;

}
.newsbutton{
    padding:5px;
}

.newsButton-Item:nth-child(3n+1){
    background-color: var(--base-color);  
}
.newsButton-Item:nth-child(3n+2){
    background-color: var(--highlight2);  
}
.newsButton-Item:nth-child(3n){
    background-color: var(--highlight);  
}
.newsButton-Item:hover{
    background-color: #a3c0ff;  
    color:var(--shade);
}


.footer{
    display:grid;
    display:flex;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    list-style: none;
    border-top:5px solid var(--accent);
    margin:0;
    padding:0;
    justify-content: center;
    align-items: center;
}
.socialIcons{
    height:40px;
    width: 40px;
    padding:15px;
}


#facebookLink{
    position:relative
}
#facebooklabel{
    visibility: hidden;
    width: 130px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 85%; 
    left: 50%;
    transform: translateX(-50%);
}
#facebookLink:hover #facebookLabel{
    visibility: visible;
}
#youtubeLink{
    position:relative
}
#youtubelabel{
    visibility: hidden;
    width: 130px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 85%; 
    left: 50%;
    transform: translateX(-50%);
}
#youtubeLink:hover #youtubeLabel{
    visibility: visible;
}
#pinterestLink{
    position:relative
}
#pinterestlabel{
    visibility: hidden;
    width: 130px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 85%; 
    left: 50%;
    transform: translateX(-50%);
}
#pinterestLink:hover #pinterestLabel{
    visibility: visible;
}
#instagramLink{
    position:relative
}
#instagramlabel{
    visibility: hidden;
    width: 130px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 85%; 
    left: 50%;
    transform: translateX(-50%);
}
#instagramLink:hover #instagramLabel{
    visibility: visible;
}
#googleTranslateLink{
    position:relative
}
#googleTranslateLabel{
    visibility: hidden;
    width: 130px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 85%; 
    left: 50%;
    transform: translateX(-50%);
}
#googleTranslateLink:hover #googleTranslateLabel{
    visibility: visible;
}
#suggestionBoxLink{
    position:relative
}
#suggestionBoxlabel{
    visibility: hidden;
    width: 130px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 85%; 
    left: 50%;
    transform: translateX(-50%);
}
#suggestionBoxLink:hover #suggestionBoxLabel{
    visibility: visible;
}
.search{
    display:flex;
    align-items: center;
    justify-content: center;
    margin:0;
    height:20vh;
    text-align: center;
    background-color: #a3c0ff;
    gap: 5px;
}
.search form{
    margin:0;
}
#submit{
    width:30vw;
}
#submit:active{
 background-color: var(--highlight);
 color:var(--highlight3);
}
#search{
    width:40vw;
    height:30%;
    border-radius: 3px;
    border:none;
    margin:5px;

}
#searchDropDown{
    width:30vw;
}
.searchButtons{
    padding:5px;
}

/*---virtual display style---*/
#vDisplayContainer{
    display:grid;
    grid-template-columns:0.5fr 1fr;
}
#vDisplayPortrait{
    height:100vh;
    width:100%;
    object-fit:cover;
    grid-row:span 2;
    
}
#vDisplayLinks{
    display:grid;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    margin:10px;
    padding:0;
    gap:10px
}
.vDLink{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: var(--base-color);
    text-decoration: none;
    color:#fff;
    text-align: center;
    font-size: 1.5vw;
    font-weight: bold;
}
.vDLink:hover{
    background-color: var(--highlight);
    color:var(--shade);
    box-shadow:3px 3px 10px var(--shade);
}
.vDisplayHeader{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding:10px;
}
}