@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;700&display=swap');

/* Global Typography and Colours (using CSS variables to make them global and easily changeable)*/
:root {
  --main-color: #bd4400;
  --bg-color: #FFEEDF;
  --heading-font: 'Instrument Serif', serif;
  --body-font: 'Inter', sans-serif;
  --hover-darken: #943802;
  --section-p-default: 4rem 0;
  --section-p-large: 10rem 0;
  --section-p-medium: 6rem 0;
  --section-p-small: 2rem 0;
}

/* setup begins */
html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}

.clearfix:after {visibility: hidden; display: block; font-size: 0; content: ''; clear: both; height: 0; }

html { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}

*, *:before, *:after {box-sizing: inherit}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; border: 0; padding: 0; white-space: nowrap; clip-path: inset(100%); clip: rect(0 0 0 0); overflow: hidden;}

body{
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

/* remove default spacing */
*,
h1{
    margin: 0;
    padding: 0;
}

/* default image styles */
img{
  width: 100%;
  height: auto;
  display: block;
}

/* focus of elements */
button:focus,
a:focus{
  outline: 2px solid var(--bg-color);
  box-shadow: 0 0 0 3px var(--main-color);
}
/* set up ends */


/* All Pages */
body {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--main-color);
  font-family: var(--body-font);
  font-weight: 400;
  background-color: var(--bg-color);
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDti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Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
  background-blend-mode: lighten;
}

/* All Headings */
h1, h2{
  font-family: var(--heading-font);
  font-weight: 400;
}

h3, h4, h5, h6{
  font-family: var(--body-font);
  font-weight: 400;
}

/* Heading Heirarchy */
h1,
.text-h1{
  font-size: 8rem;
  line-height: 1.1;
}

h2,
.text-h2{
  font-size: 4rem;
  line-height: 1.19;
}

h3,
.text-h3{
  font-size: 3rem;
  line-height: 1.19;
  margin-bottom: 0.5rem;
}

h4,
.text-h4{
  font-size: 2rem;
  line-height: 1.24;
  margin-bottom: 0.5rem;
}

h5,
.text-h5{
  font-size: 1.5rem;
  line-height: 1.39;
}

h6,
.text-h6{
  font-size: 1.25rem;
  line-height: 1.55;
}

/* Main Global Styles */

/* Container */
.wrapper{
  width: 75%;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
}

.wrapper.is-tight{
  width: 60%;
}

/* Links */
a{
  color: var(--main-color);
  text-decoration: underline;
}

a:focus,
a:hover{
  font-style: italic;
  color: var(--hover-darken);
  text-decoration: none;
}

/* Other Text Styles */
.large-quote{
  font-size: 3rem;
  font-family: var(--heading-font);
  line-height: 1.12;
}

/* Footer */
footer{
  padding: 2rem 0;
  border-top: 1px solid var(--main-color);
  text-align: center;
}

footer p{
  font-size: 0.875rem;
}

/* Nav */
.mainNav{
  padding: 1rem 0;
  border-bottom: 1px solid var(--main-color);
}

/* Nav Menu Button */
.mainNav .mobileNav {
  display: none;
  width: 60px;
  height: 60px;
  position: fixed;
  right: 10%;
  top: 5px;
  z-index: 20;
}

.mainNav .wrapper.is-nav{
  display: flex;
  justify-content: center;
  align-items: center;
}

.mainNav .mainLogo{
  font-family: var(--heading-font);
  font-size: 2.25rem;
  text-decoration: none;
}

.mainNav .mainLogo:hover,
.mainNav .mainLogo:focus{
  font-style: italic;
}

.mainNav .navLinks ul{
  list-style: none;
  display: flex;
  gap: 1rem;
}

.mainNav .navLinks a{
  font-size: 1rem;
  padding: 0 0.5rem;
  text-decoration: none;
}


/* For the diabetes-model Page */
.Results-Discussion{
  padding: var(--section-p-small);
  border-bottom: 1px solid var(--main-color); 
}

.Results-Discussion .wrapper{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.projectPoster{
  width: 90%;
}

.resultsContent{
  width: 90%;
}

.resultsList{
  padding-left: 2rem;
}

.resultsList li{
  margin-bottom: 0.5rem;
}


/* For the Blog Page */
.blogpost {
  width: 850px;
  margin: 0 auto;
  border: 1px solid #2C2C2C;
}

.blogpost aside {
  border: 1px solid #2C2C2C;
  background-color: #6ab65b;
  padding: 10px;
}

.blogpost .commentArea {
  background-color: #6ab65b;
  padding: 10px;
  border: 1px solid #2C2C2C;
}

.commentForm {
  width: 850px;
  margin: 0 auto;
}

.commentForm .wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 10px;
}

.commentForm label {
  font-style: italic;
  letter-spacing: 0.1rem;
  margin-bottom: 10px;
}

.commentForm input,
.commentForm textarea {
  width: 95%;
  margin-bottom: 30px;
  border: 1px solid #2C2C2C;
  padding: 10px;
}

.commentForm input:focus,
.commentForm textarea:focus {
  border-color: #6ab65b;
}

.commentForm input {
  height: 40px;
}

.commentForm .names {
  -webkit-columns: 2;
          columns: 2;
  -webkit-column-gap: 20px;
          column-gap: 20px;
}

.commentForm .names label {
  display: inline-block;
}

.commentForm textarea {
  resize: none;
  height: 200px;
}

.commentForm button {
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  margin: 20px 0 80px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.commentForm button:hover, .commentForm button:focus {
  background-color: #6ab65b;
  cursor: pointer;
}

/* For the CV main page !*/
/* Main hero section */
.mainHero{
  padding: var(--section-p-medium); 
  border-bottom: 1px solid var(--main-color);
}

.mainHero span{
  font-style: italic;
}

.mainHeroWrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mainHeroContent{
  width: 55%;
}

.mainHeroImage{
  width: 45%;
}

/* Intro section */
.intro {
  padding: var(--section-p-default);
  color: var(--bg-color);
  background-color: var(--main-color);
}

.intro .star-1,
.intro .star-2,
.intro .star-3{
  position: absolute;
}

.intro .star-1{
  width: 4rem;
  top: 12rem;
  left: -10rem;
}

.intro .star-2{
  width: 1.5rem;
  transform: rotate(45deg);
  top: 16rem;
  left: -7rem;
}

.intro .star-3{
  width: 5rem;
  top: -1rem;
  right: -10rem;
}

/* Education section */
.education {
  border-bottom: 1px solid var(--main-color); 
}

.resumeLayout{
  display: flex;
}

.resumeContent,
.resumeTitle{
  padding-top: 6rem;
  width: 50%;
}

.resumeTitle{
  padding-right: 2rem;
  padding-left: 12.5%;
  border-right: 1px solid var(--main-color);
}


.resumeList{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.resumeList li{
  padding: 0rem 4rem 2rem;
  border-bottom: 1px solid var(--main-color);
  display: flex;
  gap: 1.5rem;
}

.resumeList li.is-last{
  border-bottom: none;
}

.resumeDetails{
  width: 70%;
}

.resumeYear{
  width: 30%;
  padding-top: 0.25rem;
}

/* Experience section */
.experience{
  border-bottom: 1px solid var(--main-color); 
}

/* Courses Section */
.courses{
  padding: var(--section-p-small);
  border-bottom: 1px solid var(--main-color); 
}

.courses .wrapper{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.coursesImage{
  width: 20%;
}

.coursesContent{
  width: 70%;
}

.coursesList{
  padding-left: 2rem;
  -webkit-column-count: 2; /* Chrome, Safari, Opera */
  -moz-column-count: 2; /* Firefox */
  columns: 2;
  column-gap: 3rem;
}

.coursesList li{
  margin-bottom: 0.5rem;
}

/* Projects section */
.projects{
  padding: var(--section-p-medium);
}

.projects h2{
  margin-bottom: 2rem;
}

.projects .star-1_blue,
.projects .star-2_blue{
  position: absolute;
}

.projects .star-1_blue{
  width: 4rem;
  top: -4rem;
  right: -8rem;
}

.projects .star-2_blue{
  width: 1rem;
  transform: rotate(45deg);
  top: -4rem;
  right: -4rem;
}


.currentProjectWrap{
  position: relative;
}

/* .projectsList{
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
} */

/* .projectsList li{
  height: 100%;
} */


.currentProjectImg{
  width: 45%;
}

.currentProjectCont{
  width: 45%;
}

.currentProjectDesc{
  margin-bottom: 2rem;
}

.currentProjectLink{
  display: flex;
align-items: center;
  gap: 4rem;
  height: 100%;
  border: 1px solid var(--main-color);
  background-color: var(--bg-color);
  padding: 4rem 2rem;
  text-decoration: none;
}


.currentProjectBorder{
  position: absolute;
  top: 0%;
  left: 0%;
  right: 0%;
  bottom: 0%;
  z-index: -1;
  border: 1px solid var(--main-color);
  display: none;
}

.currentProjectLink:hover,
.currentProjectLink:focus{
  transform: translate3d(0.5rem, -0.5rem, 0);
  transform-style: preserve-3d;
}

.currentProjectLink:hover ~ .currentProjectBorder,
.currentProjectLink:focus ~ .currentProjectBorder{
  display: block;
}






/* Container for flexboxes */
/* section {
  display: -webkit-flex;
  display: flex;
} */

/* aside {
  display: -webkit-flex;
  display: flex;
} */

/* Style the content */
/* section {
  -webkit-flex: 3;
  -ms-flex: 3;
  flex: 3;
  padding: 10px;
} */

/* aside {
  -webkit-flex: 3;
  -ms-flex: 3;
  flex: 3;
  padding: 10px;
} */


/* @media (max-width: 800px) {
  section {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
  aside {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
} */

.contactForm {
    width: 850px;
    margin: 0 auto;
  }
  
  .contactForm .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  
  .contactForm label {
    font-style: italic;
    letter-spacing: 0.1rem;
    margin-bottom: 10px;
  }
  
  .contactForm input,
  .contactForm textarea {
    width: 100%;
    margin-bottom: 30px;
    border: 1px solid #2C2C2C;
    padding: 10px;
  }
  
  .contactForm input:focus,
  .contactForm textarea:focus {
    border-color: #c3a764;
  }
  
  .contactForm input {
    height: 40px;
  }
  
  .contactForm .names {
    -webkit-columns: 2;
            columns: 2;
    -webkit-column-gap: 20px;
            column-gap: 20px;
  }
  
  .contactForm .names label {
    display: inline-block;
  }
  
  .contactForm textarea {
    resize: none;
    height: 200px;
  }
  
  .contactForm button {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    margin: 20px 0 80px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  
  .contactForm button:hover, .contactForm button:focus {
    background-color: #c3a764;
    cursor: pointer;
  }