/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@import url("https://use.typekit.net/lzr5gvd.css");

@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

div::-webkit-scrollbar{
  width: 15px;
}

div::-webkit-scrollbar-track{
  background: #1c4084;;
}

div::-webkit-scrollbar-thumb{
  background: #4BB3B8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: white;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


.container {
  height: auto;
}

.row-hp {
  width: 100%;
  margin: auto;
}

.homepage {
  /* background: blue; */
  background: url(../img/background_mobile.svg)no-repeat;
  background-size: cover;
  background-position: bottom;
}

.homecontent {
  width: 100%;
  height: 90vh;
  display: flex;
  flex-wrap: wrap;
}

.title {
  width: 100%;
  height: auto;
}

.titlebox {
  width: 70%;
  height: auto;
  margin: auto;
}

.logobox {
  width: 100%;
  margin: auto;
}

.biglogo {
  width: 100%;
}

.startbutton {
  margin: auto;
  text-align: center;
  margin-top: 7%;
}

.options {
  display: none;
  border: 15px solid transparent;
  border-image: url(../img/txtborder.svg) 21 round;
  border-image-outset: 3px;
  background: black;
  width: 100%;
  height: auto;
  margin: auto;
  margin-top: 7%;
}

.links {
  width: 90%;
  height: 15vh;
  margin: auto;
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.listlink {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: column;
}

.hlinks {
  padding-bottom: 3%;
}

.hlinks a {
  text-decoration: none;
  color: white;
}

.copyright {
  margin: auto;
  text-align: center;
  margin-top: 7%;
}

.stbut {
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
}

.crword {
  font-family: 'lores-12', sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
}

.sprite {
  width: 100%;
  height: auto;
  display: flex;
}

.spritecontain {
  width: 100%;
  align-self: flex-end;
  justify-content: center;
}

.spritebox {
  width: 15%;
  margin: auto;
  position: relative;
}

.hsprite {
  width: 100%;
}

#srun1, #srun2 {
  display: none;
}

.fadeaway {
  width:100%;
  height:100%;
  background: rgba(0,0,0,0);
  z-index: 1;
  position: fixed;
}

/* about me page */

.abeffect {
  background: black;
}

.abbeffect {
  opacity: 0;
}

.aboutp {
  width: 100%;
  height: 100vh;
  background: #22365B;
}

#afirst {
  opacity: 0;
}

#asecond,#athird,#afourth {
  display: none;
}

.row-about {
  width: 100%;
  height: auto;
  padding-top: 24%;
}

.topimg {
  width: 32%;
  margin: auto;
  margin-bottom: 7%;
}

.introsp {
  width: 100%;
}

.adesc {
  width: 90%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 7%;
}

.desc {
  border: 15px solid transparent;
  border-image: url(../img/txtborder.svg) 33 round;
  border-image-outset: 3px;
  width: 100%;
  background: #00316D;
  display: flex;
  flex-wrap: wrap;
  line-height: 25px;
}

.midp {
  margin: 3% 0 3% 0;
}

.dlresume {
  border: 15px solid transparent;
  border-image: url(../img/txtborder.svg) 15 round;
  border-image-outset: 3px;
  width: 70%;
  display: flex;
  justify-content: space-around;
  align-content: center;
  margin: 7% auto;
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
  background: black;
}

.dlresume a {
  color: white;
  text-decoration: none;
}

.dlicon {
  width: 10%;
}

.dlicon img {
  width: 100%;
  height: auto;
}

.alist {
  margin-top: 2%;
  list-style-type: none;
  font-weight: 700;
}

.cont {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 2%;
}

.arcont {
  width: 5%;
}

.arrow {
  width: 100%;
}

.naviacon {
  width: 100%;
}

.navia {
  display: none;
  width: 90%;
  justify-content: space-between;
  margin: auto;
}

.singles {
  justify-content: flex-end;
}

.backbutton,.nextbutton {
  width: 16%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.bicon,.nicon {
  width: 43%;
}

.bicon img {
  width: 100%;
}

.backbutton p {
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
}

.nicon img {
  width: 100%;
}

.nextbutton p {
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
}

.wbutton a {
  text-decoration: none;
  color: white;
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
}

.pagination {
  width: 45%;
  margin: auto;
}

.plist {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
}

.plist li {
  width: 10%;
  height: auto;
}

.plist li img {
  width: 100%;
  height: auto;
}

/* works page */

.works {
  background: url(../img/background_mobile.svg)no-repeat;
  background-size: cover;
  background-position: bottom;
  padding-top: 13%;
}

.topnav {
  width: 100%;
  padding: 2% 0;
}

.fabout {
  background: #22365B;
  padding-top: 10%;
}

.innertn {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

.menubutton {
  border: 9px solid transparent;
  border-image: url(../img/txtborder.svg) 8 round;
  border-image-outset: 3px;
  background: black; 
  width: 34%;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.menubutton p {
  color: white;
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.pausec {
  width: 20%;
}

.instruct {
  width: 100%;
  padding-top: 8%;
  text-align: center;
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.pausec img {
  width: 100%;
}

.slidecontainer {
  width: 100%;
  height: auto;
  overflow: hidden;
  padding-top: 11%;
  display: flex;
  justify-content: center;
}

.slidewrapper {
  display: grid;
  grid-template-columns: repeat(6,100%);
  flex-wrap: nowrap;
}

.slidechild {
  width: 80%;
  height: auto;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  cursor: pointer;
}

.topchild {
  width: 100%;
  height: auto;
}

.projimg {
  width: 100%;
  margin-bottom: 7%;
}

.pimg {
  width: 100%;
}

.projdesc {
  width: 100%;
  border: 15px solid transparent;
  border-image: url(../img/txtborder.svg) 26 round;
  border-image-outset: 3px;
  background: black;
}

.ptitle {
  color: white;
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 3%
}

.projmaster {
  width: 100%;
  margin-top: 18%;
}

.pmaster {
  width: 30%;
  margin: 0 auto;
}

.pster {
  width: 100%;
}

/* modal section */

.modal {
  background: url(../img/background_mobile.svg)no-repeat;
  background-position: bottom;
  background-size: cover;
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100vh; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.row-modal {
  width: 100%;
  margin: 0 auto;
  padding-top: 7%;
  padding-bottom: 7%;
}

.modalhead { 
  width: 90%;
  border: 15px solid transparent;
  border-image: url(../img/txtborder.svg) 26 round;
  border-image-outset: 3px;
  background: #00316D;
  margin: auto;
  margin-bottom: 7%;
}

.mhcon {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.mhcon p {
  color: white;
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.toview {
  width: 10%;
}

.ntv {
  opacity: 0;
}

.toview img {
  width: 100%;
}

.slick-slide{
  /* width: 100vw; */
  height:auto;
  margin: 0 5px;
  outline: none;
  /* background-color: slategray; */
}

.slick-slider{
  width: 90vw;
  height:auto;
  display: flex;
  flex-direction: column;
  height: auto;
  /* background-color: lightgreen; */
}

.slick-dots {
  display: flex;
  justify-content: space-around;
  width: 50%;
  margin: 5% auto 0 auto;
  list-style-type: none;
}

.slick-dots button {
  background: url(../img/pagination.svg)no-repeat;
  text-indent: -9999px;
  height: 1.3rem;
  width: 1.3rem;
  border-radius: 100%;
  border: 0;
}

.slick-dots button:focus {
  outline: none;
}

.slick-dots .slick-active button {
  background: url(../img/selectedpage.svg)no-repeat;
}

.showcase {
  opacity: 0;
  width: 90%;
  /* height: 30vh; */
  margin: auto;
  overflow: hidden;
  margin-bottom: 7%;
}

.showcase2 {
  display: none;
}

.scimg {
  width: 100%;
}

.scimg img {
  width: 100%;
  border-radius: 6px;
}

.aboutwork {
  display: none;
}

.contribution {
  display: none;
}

.category {
  display: none;
}

.actions {
  width: 90%;
  border: 15px solid transparent;
  border-image: url(../img/txtborder.svg) 26 round;
  border-image-outset: 3px;
  background: #00316D;
  margin: auto;
}

.actions div p {
  line-height: 25px;
}

.comlist {
  list-style-type: none;
  color: white;
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

.comlist li {
  padding-bottom: 1%;
  cursor: pointer;
}

.btc {
  width:100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 5%;
}

.bac {
  display: flex;
  justify-content: space-between;
  width: 26%;
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
}

.warrowc {
  width: 26%;
}

.bac p {
  margin-top: 5%;
  line-height: 0;
}

.warrow {
  width: 100%;
  transform: rotate(90deg);
}

.catlist {
  list-style-type: none;
}

.slick-prev:before,
.slick-next:before {
   display:none;
}

/* contact page */

.contacts {
  width: 100%;
  background: url(../img/background_mobile.svg)no-repeat;
  background-size: cover;
  background-position: bottom;
}

.row-contact {
  width: 90%;
  margin: auto;
  margin-top: 10%;
}

.maincontent {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.contactbox {
  width: 100%;
  height: 50vh;
  border: 15px solid transparent;
  border-image: url(../img/txtborder.svg) 26 round;
  border-image-outset: 4px;
  background: black;
}

.cbcontent {
  width: 90%;
  margin: auto;
}

.headtext {
  font-family: 'lores-12', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 11%;
  margin-top: 5%;
}

.icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.iconsl {
  list-style-type: none;
  
}

.iconsl li {
  padding-bottom: 13%;
}

.icons a {
  text-decoration: none;
  color: white;
  margin-left: 5%;
}

.resumeicon,.behanceicon,.emailicon {
  width: 9%;
  padding-bottom: 2%;
}

.resumeicon img,.behanceicon img,.emailicon img {
  width: 100%;
  height: auto;
}

.bye {
  width: 100%;
  margin-top: 15%;
}

.bcont {
  width: 100%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
}

.mytext {
  border: 15px solid transparent;
  border-image: url(../img/txtborder.svg) 20 round;
  border-image-outset: 3px;
  font-family: 'lores-12', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  background: #00316D;
  margin: auto;
  margin-bottom: 5%;
  color: white;
}

.gbsprite {
  width: 25%;
  margin: auto;
}

.gbsprite img {
  width: 100%;
  height: auto;
}

/* menu modal */

.pausemenu {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background: rgba(0,0,0,0.4);
  padding-top: 50%;
}

.pausebox {
  border: 15px solid transparent;
  border-image: url(../img/txtborder.svg) 26 round;
  border-image-outset: 3px;
  background-color: black;
  padding: 20px;
  margin: auto;
  width: 80%;
}

.pbcontent {
  width: 81%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  justify-content: center;
}

.aboutlink a,.workslink a,.contactlink a {
  text-decoration: none;
  color: white;
}

.logo {
  width: 83%;
  margin-bottom: 14%;
}

.logo img {
  width: 100%;
  height: auto;
}

.aboutlink,.workslink,.contactlink {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 88%;
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 14%;
}

.abouticon,.workicon,.contacticon {
  width: 20%;
}

.abouticon img {
  width: 100%;
  height: auto;
}

.workicon img {
  width: 100%;
  height: auto;
}

.contacticon img {
  width: 100%;
  height: auto;
}

.continue {
  width: 73%;
  text-align: center;
  font-family: 'lores-12', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  cursor: pointer;
}

.navigation {
  list-style-type: none;
}

.navigation li {
  padding-bottom: 2%;
}

.clicked {
  /* color: black; */
  opacity: 0.5;
}

/* footer section */

.homefooter {
  width: 100%;
  height: 11vh;
}

.toplayer {
  background: #54C5CB;
  width: 100%;
  height: 19%;
}

.botlayer {
  background: #3E57A7;
  width: 100%;
  height: 81%;
}

/* media query code */

/* for mobile */

@media screen and (max-width:600px){
  /* .homepage {
    background: blue;
  } */
}

@media screen and (max-width:400px){
  .title {
    margin-top: 72%;
  }

  .titlebox {
    width: 80%;
  }

  .spritebox {
    width: 18%;
  }
}

@media screen and (min-width:600px){
  /* .homepage {
    background: blueviolet;
  } */
}

@media screen and (min-width:768px){

/* homepage media queries */

  .homepage {
    background:url(../img/background_tablet.svg)no-repeat;
    background-size: cover;
    background-position: bottom;
  }

  .title {
    padding-top: 36%;
  }

  .titlebox {
    width: 60%;
  }

  .stbut {
    font-size: 2rem;
  }

  .spritebox {
    width: 14%;
  }

  .links {
    height: 18vh;
    font-size: 1.8rem;
  }

  /* about me page media queries */

  .row-about {
    width: 80%;
    margin: auto;
    padding-top: 5%;
  }

  .topimg {
    margin-bottom: 6%;
  }

  .adesc {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 5%;
  }

  .arcont {
    width: 4%;
  }

  .navia {
    width: 100%;
    margin: 0;
  }

  .nicon,.bicon {
    width: 35%;
  }

  .nextbutton p {
    font-size: 1.5rem;
  }

  .backbutton p {
    font-size: 1.5rem;
  } 

  .wbutton a {
    font-size: 1.5rem;
  }

  .dlresume {
    width: 50%;
  }

   /* works page media queries */

  .instruct {
    padding-top: 4%;
    font-size: 1.6rem;
  }

  .slidecontainer {
    overflow: auto;
    padding-top: 6%;
  }

  .works {
    background:url(../img/background_tablet.svg)no-repeat;
    background-size: cover;
    background-position: bottom;
    padding-top: 8%;
  }

  .slidecontainer .slick-slider {
    width: 64vw;
  }

  .subp {
    font-size: 1.3rem;
  }

  .desc {
    font-size: 1.3rem;
    width: 95%;
    padding: 1%;
    line-height: 32px;
  }

  /* modal media queries */

  .row-modal {
    width: 80%;
  }

  .commands {
    width: 69%;
    margin: 2% auto;
    display: flex;
    justify-content: space-between;
  }

  .comlist {
    font-size: 1.8rem;
    display: flex;
    height: 10vh;
    flex-flow: wrap;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
  }

  .aboutwork, .contribution, .category {
    font-size: 1.3rem;
    width: 95%;
    margin: 2% auto;
  }

  .actions div p {
      line-height: 32px;
  }

  .toview {
    width: 8%;
  }

  .bac {
    width: 21%;
    font-size: 1.7rem;
  }

  .bac p {
    margin-top: 4.6%;
  }

  .slick-dots button {
    width: 1.5rem;
    height: 1.5rem;
  }

  /* contact me page */

  .contacts {
    background: url(../img/background_tablet.svg)no-repeat;
    background-size: cover;
    background-position: bottom;
  }

  .row-contact {
    width: 66%;
  }

  .contactbox {
    height: 43vh;
  }

  .headtext {
    font-size: 1.3rem;
  }

  .icons {
    font-size: 1.2rem;
    flex-direction: row;
    justify-content: center;
  }

  .icons a {
    font-size: 1.3rem;
  }

  .bcont {
    width: 70%;
  }


  .gbsprite {
    width: 30%;
  }

  /* pause menu */

  .menubutton {
    width: 20%;
  }

  .pausemenu {
    padding-top: 40%;
  }

  .pausebox {
    width: 375px;
    height: 73%;
  }

}

@media screen and (min-width:960px){

  /* homepage section */

  .row-hp {
    width: 50%;
  }

  .homepage {
    background: url(../img/background.svg)no-repeat;
    background-size: cover;
    background-position: bottom;
    /* display: flex; */
  }

  .titlebox {
    width: 80%;
  }

  .logobox {
    width: 75%;
  }
  
  .biglogo {
    width: 100%;
  }
  
  .startbutton {
    margin: auto;
    margin-top: 5%;
  }
  
  .copyright {
    margin: auto;
    margin-top: 5%;
  }
  
  .stbut {
    font-family: 'lores-12', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
  }
  
  .crword {
    font-family: 'lores-12', sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
  }

  .title {
    width: 100%;
    padding-top: 11%;
    margin-top: 0;
  }

  .sprite {
    width: 30%;
    margin: 3% auto 0 auto;
  }

  .spritebox {
    width: 44%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 3%;
    z-index: 1;
    cursor: pointer;
  }

  .options {
    border-image: url(../img/txtborder.svg) 20 round;
    border-image-outset: 4px;
    width: 57%;
  }

  .links {
    font-size: 1.2rem;
  }

  /* about me page media queries */

  .row-about {
    width: 57%;
    padding-top: 0;
  }

  .fabout {
    padding-top: 2%;
  }

  .topimg {
    width: 25%;
    margin-bottom: 5%;
  }

  .adesc {
    margin-bottom: 5%;
  }

  .arcont {
    width: 3%;
  }

  .nicon,.bicon {
    width: 32%;
  }

  .backbutton p {
    font-size: 1.6rem;
  }
  
  .nextbutton p {
    font-size: 1.6rem;
  }

  .wbutton {
    width: 22%;
  }

  .wnicon {
    width: 22%;
  }

  .wbutton a {
    font-size: 1.6rem;
  }

  .desc {
    font-size: 1rem;
    width: 100%;
    padding: 0;
    line-height: 25px;
  }

  .dlresume {
    width: 42%;
    font-size: 1.3rem;
    margin: 4% auto;
  }

  .navia {
    display: flex;
  }

  .pagination {
    display: none;
  }

  /* works page media queries */

  .instruct {
    display: none;
  }

  .works {
    background: url(../img/background.svg)no-repeat;
    background-size: cover;
    background-position: bottom;
    padding-top: 2%;
  }

  .innertn {
    width: 96%;
  }

  .menubutton {
    width: 10%;
  }

  .slidecontainer {
    padding-top: 3%;
    padding-left: 10%;
    padding-right: 16%;
    display: block;
    justify-content: none;
  }

  .slidewrapper {
    display: flex;
    width: 160%;
  }

  .slidechild {
    width: 100%;
    margin: 0 6% 0 0;
  }

  .projimg {
    width: 114%;
  }

  .projdesc {
    width: 114%;
  }

  .ptitle {
    font-size: 1.3rem;
  }

  .subp {
    font-size: 1rem;
  }

  .pmaster {
    width: 50%;
  }

  /* modal media queries */

  .modal {
    background: url(../img/background.svg);
    background-position: bottom;
    background-size: cover;
  }

  .row-modal {
    width: 90%;
    padding-top:2%;
    padding-bottom: 2%;
  }

  .modalhead {
    width: 50%;
    margin-bottom: 4%;
  }

  .toview {
    width: 8%;
  }

  .showcase {
    display: none;
  }

  .showcase2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 4%;
  }

  .sc3 {
    justify-content: space-evenly;
  }

  .scimg {
    width: 32%;
  }

  .actions {
    width: 50%;
    border-image: url(../img/txtborder.svg) 35 round;
    border-image-outset: 4px;
  } 

  .commands {
    font-size: 1.5rem;
    margin: 2% auto auto;
    display: flex;
    justify-content: space-between;
  }

  .comlist {
    font-size: 1.6rem;
    height: 14vh;
  }

  .aboutwork, .contribution, .category {
    font-size: 1rem;
    width: 100%;
    margin: 0 auto;
  }

  .actions div p {
    line-height: 25px;
  }

  .bac {
    width: 15%;
    font-size: 1.3rem;
  }

  .warrowc {
    width: 22%;
  }

  /* contact page media queries */

  .contacts {
    background: url(../img/background.svg);
    background-position: bottom;
    background-size: cover;
  }

  .contactbox {
    height: auto;
    border-image: url(../img/txtborder.svg) 42 round;
    border-image-outset: 5px;
  }

  .headtext {
    margin-bottom: 4%;
  }

  .iconsl li {
    padding-bottom: 4%;
  }

  .row-contact {
    width: 48%;
    margin-top: 2%;
  }

  .iconl li {
    padding-bottom: 6%;
  }

  .bcont {
    width: 60%;
  }

  .bye {
    margin-top: 12%;
  }

  /* pause menu */

  .pausemenu {
    padding-top: 7%;
  }

  .pausebox {
    height: 87%;
  }

  /* footer section */

  .tfworks {
    height: 0%;
  }

  .fworks {
    height: 100%;
  }

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

