/* © Copyright 2024 Pixiebell. All rights reserved. */



header {
    top: 0;
    height: 5vh;
    display: flex;
    justify-content: flex-end;
    background: linear-gradient(90deg, rgba(28,5,5,1) 0%, rgba(91,25,25,1) 26%, rgba(28,5,5,1) 52%, rgba(91,6,6,1) 100%);
    box-shadow: 5px -1px 8px 5px grey;
}

/****** right top menu **********/

.header-nav {
    height: 5vh;
    width: 30%;
    color: white;
    border-left: 4vh solid transparent ;
    border-bottom: 4vh solid black;
}


.header-nav nav {
    position: relative;
    display: flex;
    height: 4vh;
    margin-top: 1vh;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    white-space:nowrap;
}

@media print, screen and (orientation: portrait) {
    .header-nav {
        width: 70%;
    }
    
    .header-nav nav {
        font-size: 1rem;

    }
}


.header-nav nav a {
    display: flex;
    position: relative;
    align-items: center;
    color: grey;
    margin-right: 5%;
}

    .header-nav nav a:link {
        text-decoration: none;
        color: grey;
    }

    .header-nav nav a:visited {
        text-decoration: none;
    }

    .header-nav nav a:active {
        text-decoration: underline;
    }

    .header-nav nav a:hover {
        color: lightgrey;
        text-decoration: underline;
    }


/****** middle menu **********/

.menu {
    display: flex;
    position: relative;
    margin: 2%;
    background: #d8d8d89f;
    border: 0.2rem solid #d8d8d8;
    border-radius: 1rem;
    padding: 1%;
}



.menu nav, .menu-mobile nav {
    width: 100%;
}

.menu nav a {
    margin-right: 1%;
}

.menu nav a img {
    width: 6vw;
    background-color: #e8e8e8;
    border-radius: 10px;
    padding:0.2%;
    border-bottom: 4px solid #c8c8c8;
}

    .menu nav a img:hover {
        border-image: radial-gradient(circle at 50%, #e8e8e8 45%, #6e0d0d var(--angle)) 1;
        animation: 2s rotate alternate infinite ease-out;
    }


.menu-mobile {
    display: none;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #d8d8d89f;
    border: 0.2rem solid #d8d8d8;
    border-radius: 1rem;
    padding: 1%;
}

.menu-mobile nav a {
    margin-right: 2%;
}

.menu-mobile nav a img {
    width: 16vw;
    background-color: #e8e8e8;
    border-radius: 10px;
    padding: 0.2%;
    border-bottom: 4px solid #c8c8c8;
}


@media print, screen and (orientation: portrait) {
    .menu {
        display: none;
    }

    .menu-mobile {
       display: flex;
    }
}

@keyframes rotate {
    to {
        --angle: 110%;
    }
}
@property --angle {
    syntax: "<percentage>";
    initial-value: 0%;
    inherits: false;
}

.menu nav a[data-menu="selected"]{
    background-color: rgba(91,6,6,1);
}

.separator {
    display: inline-flex;
    position: relative;
    width: 0.5vw;
    height: 100%;
    background-color: black;
    margin-right: 1%;
}


.title {
    margin-left:1%;
    width: 70%;
}

@media print, screen and (orientation: portrait) {
    .title {
        width: 100%;
        margin-top: 5%;
    }
}

/******** Article blocks *************/
article {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin: 2%;
}

.ArticleBlocks {
    background: grey;
    width: 20vw;
    height: auto;
    margin: 1%;
    text-decoration: none;
    border-radius: 20px;
    filter: drop-shadow(1px 1px 5px rgba(0, 0, 0, .25));
}

.ArticleBlocks img {
    width: 100%;
    height: auto;
}

.ArticleBlocks div {
    overflow: hidden;
    
}

.ArticleBlocks p {
    background: grey;
    color: white;
    font-size: 1.5rem;
    margin:0;
    padding:5%;
    height: auto;
    border-radius: 20px;
}

.ArticleBlocks:hover img{
    transition: transform .4s; /* Animation */
    transform: scale(1.2);
}

@media print, screen and (orientation: portrait) {
    .ArticleBlocks {
        width: 40vw;
        margin-right: 5%;
    }
    
    .ArticleBlocks p {
        font-size: 1rem;
    }
}



/****** Sponsor **********/

.Sponsor {
    position: relative;
    display: flex;
    justify-content: center;
}

    .Sponsor b {
        position: relative;
        left: 7%;
        color: #780422;
        font-size: 1.2rem;
    }

    .Sponsor img {
        width: 30%;
        filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .7));
    }

/****** Tooltip PopOver API **********/

.tooltip {
    position: fixed;
    inset: auto;
    margin:0;
    font-family: system-ui, sans-serif;
    font-size: 1rem;
    background: linear-gradient(90deg, rgba(20,20,20,1) 0%, rgba(42,41,41,1) 100%);
    padding:1rem;
    color: white;
    max-width: 20%;
    border: 1px solid grey;
    z-index:999;
}

/************ Mobile Layout *******************/
@media print, screen and (orientation: portrait) {
    .tooltip {
        font-size: 0.8rem;
        max-width: 40%;
    }
}