/*
mohresStyle.css (unified Original style.css, mohresCircles.css,mohresProjects.css)
*/

body{
  background: linear-gradient(90deg,#ffffff, #a0f3f352); /* Example gradient */
    font-family: 'Poppins', sans-serif;
    font-style: normal;
		font-weight: 400;
    
  }

/*---------------------------------------  background: linear-gradient(90deg,#40615a, #2f8f8f52); 

    Typorgraphy              
-----------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6{
  font-weight: 600;
}

h3,
h5{
  font-weight: 500;
}

h1{
    font-size: 40px;
    letter-spacing: 2px;
}

h2{
  font-size: 30px;
  text-transform: uppercase;
}

h3{
  line-height: 36px;
}

h5{
    letter-spacing: 1px;
    padding-top: 10px;
}

p{
    color: #ffffff;
    font-size: 16px;
    line-height: 24px;
}

a{
  text-decoration: none !important;
  outline: none;
}

/*---------------------------------------
    General    #f2545f           
-----------------------------------------*/

.heading-title h2{
    
    padding-top: 40px;
}

#overview{
  padding-top: 14rem;
  padding-bottom: 14rem;
}

#detail,
footer{
padding-top: 5rem;
    padding-bottom: 3rem;
text-align: left;
}

#overview h3,
#detail h3{
    padding-bottom: 12px;
}

#intro .btn-danger{
    background: #5FCF80; 
    border-color: transparent;
}

#intro .btn-danger:hover{
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

#intro .btn-default:hover{
    background: #ffffff;
    color: #333333;
    border-color: transparent;
}

.parallax-section{
  background-attachment: fixed !important;
  background-size: cover !important;
}

/*---------------------------------------
    Preloader section              
-----------------------------------------*/

.preloader{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.sk-rotating-plane{
  width: 150px;
  height: 150px;
  background-color: #222;
  -webkit-animation: sk-rotatePlane 2s infinite ease-in-out;
          animation: sk-rotatePlane 2s infinite ease-in-out; }

@-webkit-keyframes sk-rotatePlane {
  0% {
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
            transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
  50% {
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
            transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
  100% {
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
            transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); } }

@keyframes sk-rotatePlane {
  0% {
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
            transform: perspective(120px) rotateX(0deg) rotateY(0deg); }
  50% {
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
            transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg); }
  100% {
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
            transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg); } }

/*---------------------------------------
    Navigation Links section 
color: #66ccff;
-----------------------------------------*/

.custom-navbar{
margin-bottom: 0;
    background-color: #101010;
padding: 20px 0;
        border-bottom: 0;
        background: 0 0;
}

.custom-navbar .navbar-brand{
    color: #070000;
    font-weight: 600;
    font-size: 3rem;
    line-height: 40px;
}

.custom-navbar .nav li a{
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 40px;
    transition: all 0.4s ease-in-out;
}

.custom-navbar .nav li a:hover{
    background: transparent;
    color: #5fc8cf;
}

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus{
  background-color: transparent;
}

.custom-navbar .nav li.active > a{
    background-color: transparent;
    color: #0b4999; 
}

.custom-navbar .navbar-toggle{
    border: none;
    padding-top: 10px;
}

.custom-navbar .navbar-toggle{
    background-color: transparent;
}

.custom-navbar .navbar-toggle .icon-bar{
    background: #ffffff;
    border-color: transparent;
}

@media(min-width:768px) {
.custom-navbar.top-nav-collapse{
        background: #101010;
        padding: 0;
    }
}

.custom-navbar2{
margin-bottom: 0;
    background-color: #101010;
padding: 10px 0;
        border-bottom: 0;
}


.custom-navbar2 .navbar-brand{
    color: #ffffff;
    font-weight: 600;
    font-size: 3rem;
    line-height: 10px;
}

.custom-navbar2 .nav li a{
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 10px;
    transition: all 0.4s ease-in-out;
}

.custom-navbar2 .nav li a:hover{
    background: transparent;
    color: #5fc8cf;
}

.custom-navbar2 .navbar-nav > li > a:hover,
.custom-navbar2 .navbar-nav > li > a:focus{
  background-color: transparent;
}

.custom-navbar2 .nav li.active > a{
    background-color: transparent;
    color: #2e7b9e; 
}

.custom-navbar2 .navbar-toggle{
    border: none;
    padding-top: 10px;
}

.custom-navbar2 .navbar-toggle{
    background-color: transparent;
}

.custom-navbar2 .navbar-toggle .icon-bar{
    background: #ffffff;
    border-color: transparent;
}

@media(min-width:768px) {
.custom-navbar2.top-nav-collapse{
        background: #101010;
        padding: 0;
    }
}

/*---------------------------------------
    Intro section       
color: #f2545f;
-----------------------------------------*/

#intro h3{
  letter-spacing: 2px;
}

/***********************************
Features
************************************/

h2{
	font-size: 24px;
	padding-bottom: 15px;
}

.bottom-line{
	width: 25px;
	height: 3px;
	background-color: rgb(99, 122, 145);
}

.fea{
	margin-top: 25px;
}

.fea-img{
  width: 15%;
}

.heading{
    width: 80%;
}

.fea i{
    font-size: 39px;
    color: #2e7b9e;
    margin-top: 7px;
}

.heading h4{
    font-size: 17px;
    line-height: 1;
    font-weight: 700;
    color: #000;
    margin: 10px 0;
    padding-right: 100px;
    text-align: left;
}

.heading p{
  text-align: left;
  padding-right: 100px;
}

/*---------------------------------------
   Overview  section              
-----------------------------------------*/

#overview img{
  position: relative;
  padding-bottom: 32px;
}

/*---------------------------------------
    Detail section              
-----------------------------------------*/

#detail{
    background: #222;
    color: #ffffff;
    padding-left:10px;
  }

#detail .fa .oi{
  color: #5FCF80;
  font-size: 48px;
}

.nav-tabs{
  margin-bottom: 20px;
}

.nav-tabs > li{
  float: left;
  margin-bottom: -1px;
}

.nav-tabs > li > a{
  color: #000000;
  font-weight: 600;
  margin-right: 2px;
  line-height: 1.42857143;
  border: none;
  border-radius: 0px;
}

.nav-tabs > li > a:hover{
  background-color: transparent;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus{
  color: #5FCF80; 
  cursor: default;
  background-color: transparent;
  border: 1px solid transparent;
  border-bottom-color: #999;
}

.tab-content{
  padding-top: 20px;
}

/*---------------------------------------
   Footer section              
-----------------------------------------*/

footer{
  background-attachment: fixed;
}

/* Back top */

.go-top{
  background-color: #222;
  bottom: 2em;
  right: 2em;
  color: #ffffff;
  font-size: 32px;
  display: none;
  position: fixed;
  text-decoration: none;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  transition: all 0.4s ease-in-out;
}

.go-top:hover{
    background: #29332c;
    color: #ffffff;
}

/*---------------------------------------
   Social icon             
-----------------------------------------*/

.social-icon{
    position: relative;
    padding: 0;
    margin: 0;
}

.social-icon li{
    display: inline-block;
    list-style: none;
}

.social-icon li a{
    color: #666;
    border-radius: 100px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    vertical-align: middle;
}

.social-icon li a:hover{
    background: #5FCF80;
    color: #ffffff;
}

/*---------------------------------------
   Responsive styles            
-----------------------------------------*/

@media (max-width: 980px) {
p{font-size: 13px;}
.custom-navbar .navbar-brand{
    font-size: 2rem;
  }
.custom-navbar .nav li a{
    font-size: 11px;
	line-height: 20px;
  }
}

@media (max-width: 768px) {
.custom-navbar .navbar-brand{
    line-height: 20px;
  }
#overview img,
#detail .col-md-4{
    padding-top: 32px;
  }
.nav-tabs > li > a{
    font-size: 13px;
  }
}

/* =====================================================================
   MOHRES CIRCLES (from mohresCircles.css)
   ===================================================================== */
#casePage.container-fluid,
#overview .container-fluid{
    padding-left:30px;
    padding-right:30px;
}
#container{
    display: flex;
    justify-content: flex-start; /* Align items at the top */
    align-items: flex-start; /* Align items at the top */
    height: 100%;
    padding: 1%;
    gap: 0;
    border: none; /* Ensure the border is removed */
    margin-top: 105px; /* Add this to create a gap from the top */
}

svg{
    display:block;
    margin:0 auto;
}

#circleSvg{
    flex: 1; /* Occupy 1/3 of the width */
    display: block;
    margin: 0 auto;
    height: auto; /* Keep the aspect ratio of the circles intact */
    cursor:pointer;
}

#text{
    flex: 2; /* Occupy 2/3 of the width */
    margin-top: 20px;
    padding: 20px;
    text-align: center;
    border-radius: 30px;
    background: linear-gradient(to right,#02080e, #596f85); /* Dark blue to darker blue gradient */
    background-size: 400% 400%;
    color: #fff;
    animation: gradientAnimation 10s ease infinite, textFlowIn 1s ease-out;
    transition: transform 0.3s ease, color 0.3s ease;
    transform-origin: top; /* Ensure the text expands from the top */
    overflow: visible; /* Allow the text to grow naturally */
    box-sizing: border-box; /* Include padding in the width calculation */
    height: auto; /* Allow height to adjust automatically */
}

/* Keyframe animation to slide in */

@keyframes slideIn {
    0% {
        transform: translateX(-100%); /* Start off-screen */
    }
    100% {
        transform: translateX(0); /* End at the original position */
    }
}

/* Style for circle elements */

.circle-button{
    cursor:pointer;
    transition:transform 0.3s ease, fill 0.3s ease, stroke 0.3s ease;
    fill:rgba(2, 6, 14, 0.95);
    stroke:rgba(160, 245, 255, 0.555);
    stroke-width:0;
    transform-origin:center;
    animation:slideIn 1s ease-out forwards;
}

.circle-text{
    fill:rgba(255,255,255,0.92);
    font-size:13px;
    font-weight:200;
    text-anchor:middle;
    dominant-baseline:middle;
    user-select:none;
    pointer-events:none;
    animation:slideIn 1s ease-out forwards;
}/* Hover effect for circle (enlarge by the same scale as #text div) */

.circle-button:hover{
    fill:rgba(2, 8, 14, 0.8);
    stroke:rgba(160, 245, 255, 0.555);
    stroke-width:7;
    transform:scale(1.05);
}


.circle-button.is-active{
    fill:rgba(2, 8, 14, 0.95);
    stroke:rgba(120,200,160,0.979);
    stroke-width:5;
    transform:scale(1.05);
}

/* Styling for circle text */
@media (max-width: 768px) { /* Media query for small screens */
#container{
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center align the items */
    }
#circleSvg{
        order: -1; /* Move the SVG to the top of the stack */
        margin-bottom: 20px; /* Add spacing between the SVG and text */
        width: 100%; /* Optional: Make SVG width responsive */
        max-width: 400px; /* Keep a reasonable maximum size */
    }
#text{
        margin-top: 0; /* Remove extra margin since it's now below */
        width: 100%; /* Make the text take up full width */
        max-width: 400px; /* Optional: Limit the width for readability */
    }
}

/* =====================================================================
   MOHRES PROJECTS (from mohresProjects.css)
   ===================================================================== */

#casePage{
    margin-top:105px;
    padding-bottom:30px;
}

.intro-panel{
    border-radius:15px;
    padding:14px 16px;
    background:linear-gradient(to right,#02080e,#596f85);
    background-size:400% 400%;
    color:#fff;
    margin-bottom:14px;
}

.layout-panel{
    border-radius:15px;
    padding:14px 14px;
    background:linear-gradient(to right,#02080e,#596f85);
    background-size:400% 400%;
    color:#fff;
}

.footer-note{
    color:rgb(125,125,126);
}

.header-row{
    display:flex;
    align-items:flex-start;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:10px;
}

.header-row-lens,
.header-row-focus{
    align-items:center;
}

.hdr-label{
    font-weight:600;
    color:#fff;
    white-space:nowrap;
}

.tabs-row{
    margin:0;
    border-bottom:none;
}

.tabs-row>li{
    margin:0;
}

.tabs-row>li>a{
    text-decoration:none;
}

/* Breadcrumb */

#breadcrumbLine{
    margin-top:6px;
    margin-bottom:12px;
    color:rgba(255,255,255,0.92);
    font-weight:400;
}

/* Shared tile layout */

.lens-tiles,
.focus-tiles{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

/* Fixed tile size */

.lens-tiles>li>a,
.focus-tiles>li>a{
    width:140px;
    height:86px;
    padding:10px 8px;
    border-radius:14px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    text-align:center;
    color:#fff;
}

/* Lens tiles */

.lens-tiles>li>a{
    background:rgba(160,200,255,0.10);
    border:3px solid rgba(160, 245, 255, 0.555);
}

.lens-tiles>li>a:hover{
    background:rgba(160,200,255,0.16);
    border:7px solid rgba(160, 245, 255, 0.555);
}

.lens-tiles>li.active>a{
    background:rgba(160,200,255,0.22);
    border:3px solid rgba(120, 200, 160, 0.979);
}

/* Focus tiles */

.focus-tiles>li>a{
    background:rgba(160,200,255,0.10);
    border:3px solid rgba(120, 184, 200, 0.703);
}

.focus-tiles>li>a:hover{
    background:rgba(160,200,255,0.16);
    border:7px solid rgba(120, 184, 200, 0.703);
}

.focus-tiles>li.active>a{
    background:rgba(160,200,255,0.22);
    border:3px solid rgba(120, 200, 160, 0.979);
}

.chem-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:18px;
    padding:0 6px;
    border-radius:9px;
    border:1px solid rgba(255,255,255,0.35);
    background:rgba(255,255,255,0.10);
    font-size:11px;
    line-height:18px;
    opacity:0.95;
}

/* Clamp labels */

.lens-label,
.focus-label{
    font-size:12px;
    line-height:14px;
    opacity:0.95;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    overflow:hidden;
    width:100%;
    -webkit-line-clamp:2;
    line-clamp:2;
}

/* Projects */

.project-list{
    margin-top:12px;
    text-align:left;
}

.project-item{
    border-radius:15px;
    padding:12px 14px;
    margin:10px 0;
    background:rgba(255,255,255,0.06);
    transition:transform 0.2s ease;
}

.project-item:hover{
    transform:scale(1.01);
}

.project-title{
    font-weight:600;
    cursor:pointer;
}

.project-preview{
    margin-top:8px;
    overflow:hidden;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    line-height:1.45em;
    -webkit-line-clamp:3;
    line-clamp:3;
}

.project-preview.expanded{
    display:block;
    max-height:none;
    overflow:visible;
}

.readmore-toggle{
    display:inline-block;
    margin-top:8px;
    cursor:pointer;
    text-decoration:underline;
}

.project-links{
    margin-top:8px;
}

.project-links a{
    word-break:break-word;
}

/* =====================================================================
   PUBLICATIONS PAGE (opt-in)
   Add class="page-publications" to <body> in mohresPublications.html to enable.
   ===================================================================== */

body.page-publications{
    background: #111;
}
