/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.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.
 */
@import url("https://fonts.googleapis.com/css?family=Poppins");

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

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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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;
}

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

body {
  font-family: "Poppins", sans-serif;
  padding: 0px;
  margin: 0px;
  max-width: 100vw;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: #000;
}
.typewriter {
  font-family: monospace;
  font-size: 40px;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid;
  animation: blink-caret 0.75s step-end infinite;
  height: 45px;
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: black;
  }
}
#loading {
  width: 100vw;
  height: 100vh;
  position: fixed;
  background: white;
  z-index: 999;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  background-color: #000;
}
#spinner {
  animation: rotate 0.56s infinite linear;
  width: 50px;
  height: 50px;
  border: 12px solid rgb(255, 85, 0);
  border-bottom: 12px solid #000;
  border-radius: 50%;
  margin: 0;
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
header {
  width: 92vw;
  padding: 6vh 4vw;
  position: fixed;
  font-weight: bold;
  background: transparent;
  color: #000;
  transition: 0.4s ease-in-out;
  z-index: 2;
}
header table {
  width: 100%;
}
#logo {
  width: 20%;
}
#logo-img {
  width: 10%;
}
#navigation {
  width: 80%;
}
#magnify {
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  position: fixed;
  z-index: 4;
  display: none;
  flex-direction: column;
  justify-content: center;
}
h1,
h2 {
  color: #fff;
}
#magnify h1 {
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px 40px;
  color: #fff;
  transition: 0.4s ease-in-out;
}
#magnify h1:hover {
  color: rgb(255, 85, 0);
  cursor: pointer;
}
#img_here {
  width: 90%;
  height: 90%;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  margin: 0px auto;
}
#logo {
  font-size: 24px;
  color: rgb(255, 85, 0);
}
#navigation {
  text-align: right;
}
#navigation a {
  color: inherit;
  text-decoration: none;
  padding: 5px 10px;
  border-bottom: 2px solid transparent;
  margin-left: 4vw;
  transition: 0.4s ease-in-out;
}
#navigation a:hover {
  border-bottom: 2px solid #000;
}
#top_part {
  width: 100%;
  border: 2vh solid #000;
}
#top_part tr td {
  width: 50%;
}
#about {
  width: 84% !important;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 0px 8%;
}
#about-me-container {
  display: flex;
  align-items: flex-start;
}
#about-me {
  flex: 1;
  margin-right: 20px;
}

#about h1 {
  font-size: 45px;
  word-wrap: break-word;
}
#about table {
  width: 70%;
  margin-top: 4vh;
}
#about table tr td {
  width: 20% !important;
  text-align: left;
}
.social {
  color: rgb(255, 85, 0);
  font-size: 23px;
  padding: 12px 17px;
  border-radius: 50%;
  background: transparent;
  transition: 0.4s ease-in-out;
  font-weight: bold;
  margin: 0px 8px;
}
.social:hover {
  cursor: pointer;
  color: #fff;
  background: rgb(255, 85, 0);
  box-shadow: 0px 10px 30px rgba(255, 163, 50, 0.8);
}
.btn_one {
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  color: rgb(255, 85, 0);
  background: #fff;
  border: 3px solid rgb(255, 85, 0);
  padding: 8px 40px;
  width: 35%;
  border-radius: 80px;
  font-weight: bold;
  margin: 2vh 0px;
  transition: 0.4s ease-in-out;
}
.btn_one:hover {
  box-shadow: 0px 10px 30px rgba(255, 139, 44, 0.8);
  cursor: pointer;
  color: #fff;
  background: rgb(255, 85, 0);
}
#rightImage {
  width: 100%;
  height: 95vh;
  background: linear-gradient(
      30deg,
      rgba(39, 39, 39, 0.8),
      rgba(96, 96, 96, 0.8)
    ),
    url("/img/selfie.jpg") center center;
  background-size: cover;
  background-repeat: no-repeat;
}
#work {
  width: 92vw;
  padding: 6vh 4vw;
  font-weight: bold;
}
#work h1 {
  padding: 5px 0px;
  border-bottom: 4px solid rgb(255, 85, 0);
  width: 6%;
}
#photos {
  width: 100%;
  columns: 3;
  column-gap: 4%;
  z-index: 1;
  transition: 0.4s ease-in-out;
}
#photos img {
  width: 100%;
  height: auto;
  margin: 4.5% 0px;
  transition: 0.4s ease-in-out;
}
#photos img:hover {
  transform: scale(1.1);
  cursor: pointer;
}
#bio {
  width: 92vw;
  padding: 6vh 4vw;
  font-weight: normal;
  padding-bottom: 0px;
  color: #fff;
  font-size: 18px;
  text-align: justify;
}

#bio h1 {
  padding: 5px 0px;
  border-bottom: 4px solid rgb(255, 85, 0);
  width: 8%;
}
#contact {
  width: 92vw;
  padding: 6vh 4vw;
  padding-top: 0;
  color: white;
}
#contact h1 {
  padding: 5px 0px;
  border-bottom: 4px solid rgb(255, 85, 0);
  width: 10%;
}
#contact table {
  width: 100%;
}
#contact table tr td {
  width: 50%;
}
#inner_div table {
  width: 100%;
}
#inner_div table tr td {
  font-weight: bold;
}
#inner_table tr td {
  padding: 10px 20px !important;
}
#contact form {
  width: 100%;
}
#contact form input {
  width: 96%;
  margin: 20px 1%;
  background: transparent;
  border: 0px;
  border-bottom: 3px solid rgba(255, 44, 0, 0.5);
  padding: 8px 10px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  transition: 0.4s ease-in-out;
  color: #fff;
  font-weight: bold;
}
td {
  color: white;
}
#contact form textarea {
  width: 96%;
  margin: 20px 1%;
  padding: 8px 10px;
  border: 0px;
  border-bottom: 3px solid rgba(255, 85, 0, 0.5);
  padding: 8px 10px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  background: transparent;
  resize: none;
  transition: 0.4s ease-in-out;
  color: #fff;
  font-weight: bold;
}
#contact form input:focus {
  outline: none;
  border-bottom: 3px solid rgba(255, 44, 0, 1);
}
#contact form textarea:focus {
  outline: none;
  border-bottom: 3px solid rgba(255, 44, 0, 1);
}
#address {
  position: relative;
  top: -25px;
  left: 30px;
}
#footer {
  width: 100%;
  padding: 3vh 0px;
  text-align: center;
  font-weight: bold;
  background-color: rgb(255, 85, 0);
}
#footer a {
  color: rgb(255, 255, 255);
  border-bottom: 3px solid;
  text-decoration: none;
}
::placeholder {
  color: #747474;
}
button:focus {
  outline: none;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: rgb(0, 0, 0);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.8);
}

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

/*
 * Hide visually and from screen readers
 */

.hidden,
[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
 */

.visually-hidden {
  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 .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.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
 *
 * 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: "";
  display: table;
}

.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 (max-width: 720px) {
  #photos {
    columns: 1;
    column-gap: 0%;
  }
  #photos img {
    margin: 2% 0px;
  }
  #photos img:hover {
    transform: scale(1);
    cursor: pointer;
  }
  #rightImage {
    display: none;
  }
  #top_part {
    border: 0px;
  }
  #top_part tr td {
    width: 100%;
    text-align: center;
  }
  #about {
    width: 92% !important;
    height: 75vh;
    padding-top: 20vh !important;
    text-align: center;
    padding: 0px 4%;
  }
  #bio {
    font-size: 15px;
    text-align: justify;
  }
  #about table {
    width: 100%;
    margin-top: 6vh;
  }

  #about-me-container {
    flex-direction: column;
  }
  #about table tr td {
    text-align: center;
  }
  #about-pics {
    display: none;
  }

  .btn_one {
    padding: 6px 30px;
    width: 60%;
    margin: 4vh auto;
    box-shadow: 0px 10px 20px rgba(255, 139, 44, 0.8);
    background: rgb(255, 85, 0);
    color: #fff;
  }
  .btn_one:hover {
    box-shadow: 0px 10px 40px rgba(255, 157, 44, 0.8);
    cursor: pointer;
  }
  #contact table tr td {
    width: 100%;
    display: block;
  }
  #inner_table tr td {
    padding: 10px 0px !important;
  }
  #contact form input {
    width: 90%;
  }
  #contact form textarea {
    width: 90%;
  }
  #work h1 {
    width: 19%;
  }
  #bio h1 {
    width: 25%;
    text-align: center;
  }
  #about-me {
    flex: 0;
  }

  #contact h1 {
    width: 33%;
  }
  header {
    width: 96vw;
    background: #000;
    padding: 4vh 2vw;
    position: absolute;
  }
  #header table tr td {
    width: 100%;
    display: block;
    text-align: center;
    padding: 15px 0px;
  }
  #navigation a {
    color: #fff;
  }
}

@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: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    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;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
