/* CSS3 File for New Development :: mfouria */

html * {
	margin: 0;
	padding: 0;
    scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  user-select: none;
}

@font-face {
    font-family: roboto;
    src: url(roboto.ttf);
  }

@font-face {
    font-family: RacingSansOne;
    src: url(RacingSansOne.ttf);
  }

@media only screen and (min-width: 1020px){

body {
    font-family: roboto, sans-serif;
    background-color: #a1b5d0;
    background-image: url('hex.webp');
    background-repeat: no-repeat;
    background-size: contain cover;
    background-position: 80% 20%;
}

#container {
    width: 800px;
    height: 600px;
    background-color: dimgray;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 60px;
    box-shadow: 5px 5px 1px rgb(226, 229, 226);
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #888888; 
}

::-webkit-scrollbar-thumb {
    background: #555555;
}
  
::-webkit-scrollbar-thumb:hover {
    background: #000000; 
}

#conflex {
    display: flex;
    flex-direction: row;
    flex: 100%;
}

#conleft {
    width: 280px;
    height: 600px;
    background-color: rgb(230, 189, 8);
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
}

#innleft {
    height: 300px;
    width: 280px;
    position: relative;
    top: 150px;
    text-align: center;
}

#mkb {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

#mkb:hover {
    filter: sepia(50%);
}

h1 {
    font-size: 120%;
    color: antiquewhite;
    padding: 10px;
}

#social {
    padding-top: 40px;
}

#social img {
    border: 0;
}

img.grayscale {
    filter: grayscale(100%);
}

img.grayscale:hover, #logo:hover {
	filter: none;
}

#logo {
    width: 120px;
    height: auto;
    padding-top: 40px;
    filter: grayscale(100%);
}

nav {
    display: flex;
    flex-direction: column;
    width: 50px;
    height: 304px;
    position: relative;
    top: -450px;
    left: 850px;
    border-radius: 25px;
    border: 2px solid rgb(56, 55, 55);
    background-color: rgb(56, 55, 55);
}

nav div {
    border: 2px solid rgb(56, 55, 55);
    background-color: rgb(20, 19, 19);
    width: 46px;
    height: 50px;
}

a:link, a:visited, a:active {
    text-decoration: none;
    color: #a1b5d0;
}

a:hover {
    text-decoration: underline;
    color: antiquewhite;
}

#tbtn {
    border-top-left-radius: 23px;
    border-top-right-radius: 23px;
}

#bbtn {
    border-bottom-left-radius: 23px;
    border-bottom-right-radius: 23px;
}

nav div img {
    padding: 5px;
}

#switch {
    display: flex;
    flex-direction: row;
    width: 100px;
    height: 50px;
    position: relative;
    top: -400px;
    left: 751px;
}

#switch div {
    background-color: rgb(20, 19, 19);
    width: 43px;
    height: 43px;
    margin: auto;
    opacity: 0.7;
    user-select: none;
}

h2 {
    text-align: center;
    font-size: 180%;
    color: azure;
    line-height: 1.5;
}

nav div img:hover, #switch div:hover {
    cursor: pointer;
    filter: opacity(30%);
}

#innright {
    padding: 100px 20px 100px 20px;
    width: 520px;
    height: 600px;
    display: flex;
    flex-direction: row;
}

@keyframes turnPage {
    from {opacity:0;}
  to {opacity:1;}
}

#sec1, #sec2, #sec3, #sec4, #sec5, #sec6 {
    height: 100%; 
    width: 480px;
    overflow-y: auto;
    overflow-x: hidden;
    animation-name: turnPage;
    animation-duration: 0.8s;
}

#sec2, #sec3, #sec4, #sec5, #sec6 {
    display: none;
}

#sec1 {
    text-align: center;
    padding-top: 120px;
}

#hihold {
    display: flex;
    flex-direction: row;
    width: 30%;
    position: relative;
    left: 170px;
    align-items:center;
}

#hihold div {
    width: 33%;
}

h3 {
    color: white;
    font-weight: lighter;
}

#rac {
    font-family: RacingSansOne;
    font-size: 200%;
    padding-bottom: 10px;
}

#hand {
    animation-name: handy;
    animation-duration: 0.8s;
    transform-origin: 30% 95%;
    animation-iteration-count: infinite;
}

@keyframes handy {
    0% {transform: rotate(20deg);}
    50% {transform: rotate(-20deg);}
    100% {transform: rotate(20deg);}
}

#desipart {
    display: flex;
    flex-direction: row;
    width: 45%;
    position: relative;
    left: 140px;
    align-items: first baseline;
}

#des {
    width: 30%;
    background-color: black;
}

#dess {
    width: 70%;
}

#desig {
    text-align: left;
    display: flex;
    flex-direction: column;
}

#des, #desig>div {
    color: antiquewhite;
    padding: 5px;
    box-shadow: 5px 5px 10px black;
    position: relative;
}

#dn1 {
    background-color: orangered;
    animation: an1 16s infinite;
}

#dn2 {
    background-color: green;
    top: -29px;
    opacity: 0;
    animation: an2 16s infinite;
}

#dn3 {
    background-color: #0c6be9;
    top: -58px;
    opacity: 0;
    animation: an3 16s infinite;
}

#dn4 {
    background-color: rgb(212, 158, 7);
    top: -87px;
    opacity: 0;
    animation: an4 16s infinite;
}

#dn5 {
    background-color: rgb(8, 136, 72);
    top: -116px;
    opacity: 0;
    animation: an5 16s infinite;
}

#dn6 {
    background-color: rgb(156, 7, 124);
    top: -145px;
    opacity: 0;
    animation: an6 16s infinite;
}

@keyframes an1 {
    0% {opacity: 1;}
    15% {opacity: 1;}
    17% {opacity: 0;}
    98% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes an2 {
    0% {opacity: 0;}
    15% {opacity: 0;}
    17% {opacity: 1;}
    32% {opacity: 1;}
    34% {opacity: 0;}
    100% {opacity: 0;}
}

@keyframes an3 {
    0% {opacity: 0;}
    32% {opacity: 0;}
    34% {opacity: 1;}
    48% {opacity: 1;}
    50% {opacity: 0;}
    100% {opacity: 0;}
}

@keyframes an4 {
    0% {opacity: 0;}
    48% {opacity: 0;}
    50% {opacity: 1;}
    65% {opacity: 1;}
    67% {opacity: 0;}
    100% {opacity: 0;}
}

@keyframes an5 {
    0% {opacity: 0;}
    65% {opacity: 0;}
    67% {opacity: 1;}
    82% {opacity: 1;}
    84% {opacity: 0;}
    100% {opacity: 0;}
}

@keyframes an6 {
    0% {opacity: 0;}
    82% {opacity: 0;}
    84% {opacity: 1;}
    98% {opacity: 1;}
    100% {opacity: 0;}
}

.ttl {
    color: rgb(53, 53, 49);
    font-size: 130%;
    background-color: rgb(230, 189, 8);
    width: 110px;
    border-radius: 10px;
    padding: 5px;
    text-align: center;
    box-shadow: 5px 5px 10px black;
    position: relative;
    left: 4px;
}

/*Profile Section*/

#pcard {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#pcard>div {
    width: 50%;
    padding-top: 20px;
    padding-bottom: 10px;
}

#edtime {
    padding-top: 5px;
    width: 98%;
    display: flex;
    flex-direction: row;
    position: relative;
    left: 5px;
}

#edtime>div {
    width: 16.3%;
    text-align: center;
    padding: 2px;
    box-shadow: 2px 2px 5px rgb(7, 7, 7);
}

#sec2 p {
    font-size: 90%;
}

#ed1 {
    background-color: green;
}

#ed2 {
    background-color: skyblue;
}

#ed3 {
    background-color: rgb(216, 145, 13);
}

#ed4 {
    background-color: rgb(204, 204, 17);
}

#ed5 {
    background-color: royalblue;
}

#ed6 {
    background-color: burlywood;
}

#res {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-top: 10px;
}

#res>div {
    width: 50%;
}

li {
    font-size: 90%;
}

hr {
    width: 95%;
    border: 1px solid rgb(95, 93, 93);
}

#Instrument, #ressoft {
    padding-top: 10px;
}

#svis {
    font-size: 70% !important;
    font-style: italic;
    text-align: center;
    color: #a1b5d0;
}

#resii {
    display: flex;
    flex-direction: row;
}

#cv {
    border: 1px solid rgb(248, 246, 246);
    position: relative;
    background-color: #e2cd93;
    border-radius: 10px;
    font-size: 70%;
    padding: 5px;
    top: 100px;
    left: -40px;
    text-align: center;
    color: rgb(44, 2, 2);
    opacity: 0.7;
    box-shadow: 5px 5px 5px rgb(8, 8, 8);
}

/*Contact Section*/

.cnct {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 0px;
    width: 100%;
}

.cnct>div {
    padding: 5px 5px 2px 5px;
    font-size: 90%;
}

#googleMap {
    width: 100%;
    overflow: hidden;
    padding: 2px;
}

/*Photo Section*/
img {
    vertical-align: middle;
}

.piccontainer {
    position: relative;
    padding: 5px;
}

.mySlides {
    display: none;
}

.cursor {
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 5px;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.caption-container {
    font-size: 90%;
    text-align: center;
    background-color: #070707;
    padding: 2px 16px;
    color: rgb(90, 81, 51);
    opacity: 0.7;
}
  
.row:after {
    content: "";
    display: table;
    clear: both;
}
  
.column {
    float: left;
    width: 11.11%;
}
  
.demo {
    opacity: 0.3;
}
  
.active,
.demo:hover {
    opacity: 1;
}

#navcover {
    display: none;
}

#navi {
    display: none;
}

#tline {
    display: none;
}

}












@media only screen and (max-width: 1020px){

    body {
        font-family: roboto, sans-serif;
        background-color: dimgray;
        overflow-x: hidden;
    }
    
    #container {
        width: 100%;
        height: 100%;
        background-color: dimgray;
    }
    
    ::-webkit-scrollbar {
        width: 5px;
    }
    
    ::-webkit-scrollbar-track {
        background: #888888; 
    }
    
    ::-webkit-scrollbar-thumb {
        background: #555555;
    }
      
    ::-webkit-scrollbar-thumb:hover {
        background: #000000; 
    }
    
    #conflex {
        display: flex;
        flex-direction: column;
        flex: 100%;
    }
    
    #conleft {
        width: 100%;
        height: auto;
        background-color: rgb(230, 189, 8);
    }
    
    #innleft {
        height: 300px;
        width: 280px;
        position: relative;
        top: 15px;
        text-align: center;
    }
    
    #mkb {
        width: 100px;
        height: 100px;
        border-radius: 50%;
    }
    
    #mkb:hover {
        filter: sepia(50%);
    }
    
    h1 {
        font-size: 120%;
        color: antiquewhite;
        padding: 10px;
    }
    
    #social {
        padding-top: 20px;
    }
    
    #social img {
        border: 0;
    }
    
    img.grayscale {
        filter: grayscale(100%);
    }
    
    img.grayscale:hover, #logo:hover {
        filter: none;
    }
    
    #logo {
        width: 120px;
        height: auto;
        padding-top: 10px;
        filter: grayscale(100%);
    }
    
    nav {
        display: none;
    }
    
    #tbtn {
        border-top-left-radius: 23px;
        border-top-right-radius: 23px;
    }
    
    #bbtn {
        border-bottom-left-radius: 23px;
        border-bottom-right-radius: 23px;
    }
    
    nav div img {
        padding: 5px;
    }
    
    #switch {
        display: flex;
        flex-direction: row;
        width: 100px;
        height: 50px;
        position: absolute;
        top: 275px;
        right: 10px;
    }
    
    #switch div {
        background-color: rgb(20, 19, 19);
        width: 43px;
        height: 43px;
        margin: auto;
        opacity: 0.7;
        user-select: none;
    }
    
    h2 {
        text-align: center;
        font-size: 180%;
        color: azure;
        line-height: 1.5;
    }
    
    nav div img:hover, #switch div:hover {
        cursor: pointer;
        filter: opacity(30%);
    }
    
    #innright {
        padding: 50px 20px 20px 20px;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
    }
    
    @keyframes turnPage {
        from {opacity:0;}
      to {opacity:1;}
    }
    
    #sec1, #sec2, #sec3, #sec4, #sec5, #sec6 {
        height: auto; 
        width: 100%;
        overflow-y: hidden;
        overflow-x: hidden;
        animation-name: turnPage;
        animation-duration: 0.8s;
    }
    
    #sec2, #sec3, #sec4, #sec5, #sec6 {
        display: none;
    }
    
    #sec1 {
        text-align: center;
        padding-top: 120px;
    }
    
    #hihold {
        display: flex;
        width:100%;
        flex-direction: row;
        position: relative;
        justify-content: center;
        align-items: baseline;
    }
    
    h3 {
        color: white;
        font-weight: lighter;
    }
    
    #rac {
        font-family: RacingSansOne;
        font-size: clamp(100%, 25px, 200%);
        padding-bottom: 10px;
    }
    
    #hand {
        animation-name: handy;
        animation-duration: 0.8s;
        transform-origin: 30% 95%;
        animation-iteration-count: infinite;
    }
    
    @keyframes handy {
        0% {transform: rotate(20deg);}
        50% {transform: rotate(-20deg);}
        100% {transform: rotate(20deg);}
    }
    
    #desipart {
        display: flex;
        flex-direction: row;
        width: 90%;
        position: relative;
        align-items: first baseline;
        justify-content: center;
        margin: auto;
    }
    
    #des {
        background-color: black;
    }
    
    #desig {
        text-align: left;
        display: flex;
        flex-direction: column;
    }
    
    #des, #desig>div {
        color: antiquewhite;
        padding: 5px;
        box-shadow: 5px 5px 10px black;
        position: relative;
    }
    
    #dn1 {
        background-color: orangered;
        animation: an1 16s infinite;
    }
    
    #dn2 {
        background-color: green;
        top: -29px;
        opacity: 0;
        animation: an2 16s infinite;
    }
    
    #dn3 {
        background-color: #0c6be9;
        top: -58px;
        opacity: 0;
        animation: an3 16s infinite;
    }
    
    #dn4 {
        background-color: rgb(212, 158, 7);
        top: -87px;
        opacity: 0;
        animation: an4 16s infinite;
    }
    
    #dn5 {
        background-color: rgb(8, 136, 72);
        top: -116px;
        opacity: 0;
        animation: an5 16s infinite;
    }
    
    #dn6 {
        background-color: rgb(156, 7, 124);
        top: -145px;
        opacity: 0;
        animation: an6 16s infinite;
    }
    
    @keyframes an1 {
        0% {opacity: 1;}
        15% {opacity: 1;}
        17% {opacity: 0;}
        98% {opacity: 0;}
        100% {opacity: 1;}
    }
    
    @keyframes an2 {
        0% {opacity: 0;}
        15% {opacity: 0;}
        17% {opacity: 1;}
        32% {opacity: 1;}
        34% {opacity: 0;}
        100% {opacity: 0;}
    }
    
    @keyframes an3 {
        0% {opacity: 0;}
        32% {opacity: 0;}
        34% {opacity: 1;}
        48% {opacity: 1;}
        50% {opacity: 0;}
        100% {opacity: 0;}
    }
    
    @keyframes an4 {
        0% {opacity: 0;}
        48% {opacity: 0;}
        50% {opacity: 1;}
        65% {opacity: 1;}
        67% {opacity: 0;}
        100% {opacity: 0;}
    }
    
    @keyframes an5 {
        0% {opacity: 0;}
        65% {opacity: 0;}
        67% {opacity: 1;}
        82% {opacity: 1;}
        84% {opacity: 0;}
        100% {opacity: 0;}
    }
    
    @keyframes an6 {
        0% {opacity: 0;}
        82% {opacity: 0;}
        84% {opacity: 1;}
        98% {opacity: 1;}
        100% {opacity: 0;}
    }
    
    .ttl {
        color: rgb(53, 53, 49);
        font-size: 130%;
        background-color: rgb(230, 189, 8);
        width: 110px;
        border-radius: 10px;
        padding: 5px;
        text-align: center;
        box-shadow: 5px 5px 10px black;
        position: relative;
        left: 4px;
    }
    
    /*Profile Section*/
    
    #pcard {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    #pcard>div {
        width: 50%;
        padding-top: 20px;
        padding-bottom: 10px;
    }
    
    #edtime {
        padding-top: 5px;
        width: 98%;
        display: flex;
        flex-direction: row;
        position: relative;
        left: 5px;
    }
    
    #edtime>div {
        width: 16.3%;
        text-align: center;
        padding: 2px;
        box-shadow: 2px 2px 5px rgb(7, 7, 7);
    }
    
    #sec2 p {
        font-size: 90%;
    }
    
    #ed1 {
        background-color: green;
    }
    
    #ed2 {
        background-color: skyblue;
    }
    
    #ed3 {
        background-color: rgb(216, 145, 13);
    }
    
    #ed4 {
        background-color: rgb(204, 204, 17);
    }
    
    #ed5 {
        background-color: royalblue;
    }
    
    #ed6 {
        background-color: burlywood;
    }
    
    #res {
        display: flex;
        flex-direction: row;
        width: 100%;
        padding-top: 10px;
    }
    
    #res>div {
        width: 50%;
    }
    
    li {
        font-size: 90%;
    }
    
    hr {
        width: 95%;
        border: 1px solid rgb(95, 93, 93);
    }
    
    #Instrument, #ressoft {
        padding-top: 10px;
    }
    
    #svis {
        font-size: 70% !important;
        font-style: italic;
        text-align: center;
        color: #a1b5d0;
    }
    
    #resii {
        display: flex;
        flex-direction: row;
    }
    
    #cv {
        border: 1px solid rgb(248, 246, 246);
        position: relative;
        background-color: #e2cd93;
        border-radius: 10px;
        font-size: 70%;
        padding: 5px;
        top: 100px;
        left: -40px;
        text-align: center;
        color: rgb(44, 2, 2);
        opacity: 0.7;
        box-shadow: 5px 5px 5px rgb(8, 8, 8);
    }
    
    /*Contact Section*/
    
    .cnct {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 8px 0px;
        width: 100%;
    }
    
    .cnct>div {
        padding: 5px 5px 2px 5px;
        font-size: 90%;
    }
    
    #googleMap {
        width: 100%;
        overflow: hidden;
        padding: 2px;
    }
    
    /*Photo Section*/
    img {
        vertical-align: middle;
    }
    
    .piccontainer {
        position: relative;
        padding: 5px;
    }
    
    .mySlides {
        display: none;
    }
    
    .cursor {
        cursor: pointer;
    }
    
    .prev,
    .next {
        cursor: pointer;
        position: absolute;
        top: 40%;
        width: auto;
        padding: 16px;
        margin-top: -50px;
        color: white;
        font-weight: bold;
        font-size: 20px;
        border-radius: 0 3px 3px 0;
        user-select: none;
        -webkit-user-select: none;
    }
    
    .next {
        right: 5px;
        border-radius: 3px 0 0 3px;
    }
    
    .prev:hover,
    .next:hover {
        background-color: rgba(0, 0, 0, 0.8);
        text-decoration: none;
    }
    
    .numbertext {
        color: #f2f2f2;
        font-size: 12px;
        padding: 8px 12px;
        position: absolute;
        top: 0;
    }
    
    .caption-container {
        font-size: 90%;
        text-align: center;
        background-color: #070707;
        padding: 2px 16px;
        color: rgb(90, 81, 51);
        opacity: 0.7;
    }
      
    .row:after {
        content: "";
        display: table;
        clear: both;
    }
      
    .column {
        float: left;
        width: 11.11%;
    }
      
    .demo {
        opacity: 0.3;
    }
      
    .active,
    .demo:hover {
        opacity: 1;
    }

    #navcover {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        z-index: 990;
        display: none;
        overflow: hidden;
    }

    #navi {
        position: relative;
        background-color: rgb(0, 0, 0);
        width: 70vw;
        height: 100vh;
        z-index: 999;
        opacity: 0.9;
    }

    #tline {
        font-size: 200%;
        font-weight: bold;
        position:fixed;
        top: 10px;
        left: 10px;
        color: #000000;
    }

    #cross {
        font-size: 250%;
        font-weight: bold;
        position: relative;
        top: 10px;
        left: 60vw;
        color: #a09a9a;
    }

    #cntnr {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        height: auto;
        padding: 20px;
    }

    #cntnr div{
        padding: 5px;
        border-radius: 10px;
        background-color: rgb(255, 255, 255);
        border: 2px solid rgb(5, 5, 5);
    }
    
    }




    .pubholder {
        width: 100%;
        padding: 10px;
        font-size: 90%;
    }

    .pubhead {
        display:flex;
        flex-direction: row;
        font-weight: bold;
        width: 100%;
        background-color: rgb(170, 170, 170);
        border-radius: 10px 10px 0px 0px;
    }
    
    .pubhead div {
        width: 50%;
        padding: 1px 5px;
        color: #555555;
    } 

    .nrow {
        text-align: left;
    }

    .pdate {
        text-align: right;
    }
    
    .doi {
        width: 100%;
        background-color: rgb(170, 170, 170);
        border-radius: 0px 0px 10px 10px;
        text-align: center;
        color: #c2c4c5;
    }

    .pubtitle, .pubauthor, .pubref {
        width: 100%;
        padding: 2px 5px;
        border-left: 1px solid rgb(170, 170, 170);
        border-right: 1px solid rgb(170, 170, 170);
        color: #999999;
    }

    a:link, a:visited, a:active {
        text-decoration: none;
        color: #c2c4c5;
    }
    
    a:hover {
        text-decoration: none;
        color: rgb(240, 151, 43);
    }
