@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
/*@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;700&display=swap");*/

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

@import "navbar.css";

:root {
  --accent: #A5BC09;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  margin:0;
  width:100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  /*font-family: "Instrument Sans", Helvetica, Arial, sans-serif;*/
  line-height: 1.6;
  color: black;
  background-color: white;
}

.content {
  max-width: 100%;
  margin: 0 auto;
}

.centered-heading{
  text-align: center;
}

.main-heading {
  font-size: 4rem;
  font-weight: 700;
  margin: 80px 0 20px 0;
  padding: 60px 0px;
  display: inline-block;
  position: relative;
}

.main-heading::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0;
  bottom: 50px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.green-part {
  color: var(--accent);
}
.black-part {
  color: black;
}

.Patents {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4%;
}

.patent {
  width:100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
}

.patent:nth-child(odd) {
    flex-direction: row;
}

.patent:nth-child(even) {
    flex-direction: row-reverse;
}

.patent-image {
  max-width: 40%;
  height: auto;
  object-fit: cover;
}

.patent-info {
  max-width: 56%;
}

.patent-info h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--accent);
  margin-bottom: 1rem;
  text-decoration: none;
}

.patent-info strong {
  font-weight: 550;
}

.patent-info p {
  line-height: 120%;
  text-align: justify;
}

.patent-info a {
  text-decoration: underline;
  color: grey;
}

footer {
  margin-top: auto;
  background-color: var(--accent);
  color: white;
  height: 40px;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

footer p{
  padding: 10px 0px;
}

@media (max-width: 768px) {
  .patent {
    flex-direction: column;
  }

  .patent-image,
  .patent-info {
    max-width: 100%;
    margin-bottom: 20px;
  }
}


:root{
    --green-color:#9AC22C;
    --black-color:#0000;
    --white-color:#fff;
}
.whiteMode{
    margin:0;
   /* font-family: "Instrument Sans", sans-serif;*/
    background-color: white;
    color: black;
}

    
 .blackMode{
        margin:0;
    /*font-family: "Instrument Sans", sans-serif;*/
    background-color: black !important;
    color: white;
}


header{
    background-color: #9AC22C;
    height: 10  vh;
    width: 100%;
}
nav{
    padding-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;    
}

nav .logo{    
    padding-left:100px;
    color: black;
    line-height: 1.15;
    padding-top: 8px;
}
nav .logo .cmpName {
    font-weight: bold;
    font-size: 31px;
}

nav .logo .catchLine {
    font-style: italic;
    font-size: 16px;
}
nav ul{
    padding-left: 3%;
    display: flex;
    align-items: center;
    list-style: none;
    gap: 60px;
    padding-right: 135px;
    padding-top: 9px;
    
}

nav ul li a{
    padding-top: 3px;
    font-family: "Jost", sans-serif;
    font-size: 25px;
    font-weight: 300;
    text-decoration: none;
    color: black;
}

nav .mode{
    padding-right: 2%;
}

nav .mode .modeImg{
    height: 44px;
    width: 44px;
}


.footer{

    text-align: center;
   
    position: relative;
     background-color: #9AC22C;
     padding: 1em 0;
     color: black;
     padding: 0px 0px 0px 0px;
     padding: 0px;
     margin-top: 0;
     
}

.uline {
    text-decoration-line: underline;
    text-decoration-color: #9AC22C;
}

.pageHeading{
    margin-bottom: 20px;
    text-align: center;
}

.pageHeading h2{
    font-size: 40px;
    margin-top: 30px;
    font-weight: bold;
}
.greenHeading .uline{
    color: #9AC22C;
}
.greenHead{
color: #9AC22C;
}

.wrapper{
  height: 73.5px;
}


@font-face {
    font-family: "Computer Modern";
    src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunss.otf');
}

@font-face {
    font-family: "Computer Modern";
    src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunsx.otf');
    font-weight: bold;
}

@font-face {
    font-family: "Computer Modern";
    src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunsi.otf');
    font-style: italic, oblique;
}

@font-face {
    font-family: "Computer Modern";
    src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunbxo.otf');
    font-weight: bold;
    font-style: italic, oblique;
}


body {
    font-family: 'Computer Modern', sans-serif;
    height: 100%;
    margin: 0;
}

.mobile .type2 .patent-image { order: 1; }
.mobile .type2 .patent-info { order: 2; }

@media (max-width: 768px) {
  .main img {
    width: 85%;
  }
  nav img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

  .type1, .type2 {
    display: flex;
    flex-direction: column;
  }
  .type1 .patent-image,  .type1 .patent-info {
    width: 100%;
    padding: 0%;
    text-align: center;
}
.type2 .patent-image, .type2 .patent-info {
    width: 100%;
    padding: 0%;
    text-align: center;
}
.patent:nth-child(odd){
  flex-direction: column;
}
.patent:nth-child(even){
  flex-direction: column;
}
.patent-info h2{
  line-height: 32px;
  font-size: 23px;
  text-align: justify;
}
.pageHeading h2{
  font-size: 30px;
}
}

.m_ham { width: 20%; }
.m_logo { width: 60%; text-align: center; }
.m_mode { width: 20%; }
.m_ham img { width: 75%; }
.m_mode img { margin-top: -9%; }
.m_logo .cmpImg { 
    width: 25%;   
    float: left;
    margin: 0% 3% 0% 20%;
}
.m_logo .cmpName {
    margin-top: 2%;
    font-size: 23px;
    margin-left: -13%;
}
.m_logo .catchLine {
    font-size: 20px;
    font-style: italic;
    margin-top: -10px;
}
#m_nav #navlinks {
    display: block;
    z-index: 100;
    position: absolute;
    background-color: #9AC22C;
    width: 100%;    
}
#m_nav ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0px;
    margin: 0px;
    gap: 0px;
}
#m_nav ul li {
    border-bottom: 2px solid black;
    width: 100%;
    text-align: center;
}
#m_nav ul li:first-child {
    border-top: 2px solid black;
}
.mwrapper {
    padding-bottom: 0px;
    margin-bottom: -4px;
}