/*! HTML5 Boilerplate v9.0.0-RC1 | 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.
 */

/* ==========================================================================
   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
   ========================================================================== */

/* ==========================================================================
   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;
}



@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;
  }
}

* {
  font-family: "Futura", "Nunito Sans", sans-serif;
  font-weight: 500;
}

h1 {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;

}

.about h1 {
  color: #cd695f;
  font-size: 5em;
  font-weight: 800;
  margin-bottom: 0;
}

.about .firstcharacter {
  float: left;
  font-weight: 800;
  font-size: 1.6em;
  line-height: 1em;
  margin-top: 10px;
}

.about p {
  margin: 0;
  font-weight: 800;
  font-size: 1.4em;
}

p {
  color: #fff;
  text-shadow: #222222 0 0 8px;
}

body {
  padding: 0;
  margin: 0;
  background-color: #222222;
}

.photo-holder {
  min-height: 300px;
  background-position: center center;
  background-size: cover;
  margin: 0;
  padding: 4px;
  position: relative;
  height: 100%;
}

.one {
  background-image: url('/img/photo-1.jpeg');
}
.two {
  background-image: url('/img/photo-2.jpeg');
}
.three {
  background-image: url('/img/photo-3.jpeg');
}
.four {
  background-image: url('/img/photo-4.jpeg');
}

.contact-one {
  background-image: url('/img/contact-1.jpeg');
}
.contact-two {
  background-image: url('/img/contact-2.jpeg');
}

.awards-title {
  background-image: url('/img/awards-1.jpeg');
}
.awards-rts {
  background-image: url('/img/awards-rts.jpeg');
}
.awards-clapham {
  background-image: url('/img/awards-clapham.jpeg');
}
.awards-ealing {
  background-image: url('/img/awards-ealing.jpeg');
}

/*
.nunito-sans-<uniquifier> {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
}
*/

nav {
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul  li {
  display: inline-block;
  padding: 0;
  margin: 0;

}

nav ul li a {
  display: block;
  padding: 4px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 800;
  transition: all 0.2s linear;
}

nav ul li a:hover {
  color: #BCBCBC;
}

.starring {

  text-align: center;
}
.starring h1 {
  color: #fff;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 800;
}
.starring h1:first-child {
  margin-right: 10px;
}

.logo {

  text-align: center;
  text-transform: uppercase;

  position: absolute;
  bottom: 0;
  width: 100%;
  margin: 0 auto;
}

.logo h1 {
  font-weight: 800;
  font-size: 7em;
  color: #fff;
  margin: 0 0 -18px 0;
  padding: 0;
}

.logo h2 {
  font-size: 1.2em;
  font-weight: 800;
  color: #fff;
  margin: 0 auto;
  z-index: 2000;
  position: absolute;
  width: 100%;
  text-shadow: #222222 0 0 8px;
}

.centered {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

.centered h1, .corner h1 {
  font-weight: 800;
}

.centered h1, .centered h2, .corner h1, .corner h2 {
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
}

.socials-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;

}

.socials {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  flex-direction: column;
}
.socials li {
  display: flex;
  flex-direction: column;
  max-width: 140px;
  margin: 0 50px 0 0;
  padding: 0;
}
.socials li a img {
 margin-bottom: 8px;
}
.socials li a {
  text-align: center;

  color: #fff;
  display: block;
  text-decoration: none;
}

.awards-title-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  text-shadow: #222 2px 2px 2px;
}

.award-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-shadow: #222 5px 5px 5px;
}

.award-container img {
  filter: drop-shadow(5px 5px 5px #222);
}

.awards-title h1 {
  font-size: 5em;
}


/* ==========================================================================
   For tablets and desktop
   ========================================================================== */

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

  nav ul li a {
    display: block;
    padding: 10px;
  }
  .starring h1:first-child {
    margin-right: 140px;
  }

  .logo h1 {
    font-weight: 800;
    font-size: 14em;
    color: #fff;
    margin: 0 0 -40px 0;
    padding: 0;
  }

  .photo-holder {
    padding: 20px;
  }

  .awards-title h1 {
    font-size: 8em;
  }
  .socials {
    flex-direction: row;
  }
  .photo-holder {
    min-height: 600px;
  }
}
