/* 
* Variables
*/

:root {
  --background: #586a54;
  --accent: #3D5D3C;
  --rgba: rgba(88, 106, 84, .6);
  --font: #FEF7DA;
  --link-hover: #BD573F;
}

/* Base */
body {
  width: 100%;
  background-color: var(--background);
  color: var(--font);
  font-size: 90%;
  font-family: 'Mukta Malar', sans-serif;
}

@media screen and (min-width: 56.250rem) {

  body {
    font-size: 100%;
  }
}

@media screen and (min-width: 112.500rem) {

  body {
    width: 112.500rem;
    margin: 0 auto;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
}

a,
a:visited,
a:active {
  color: var(--font);
}

a:hover {
  color: var(--link-hover);
}

/* Header */
header {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: auto;
}

.branding {
  width: 100%;
}

.text {
  background-color: var(--accent);
  padding: .8rem;
}

.text h1 {
  font-size: 2rem;
  font-weight: 400;
  margin: 0;

}

.text a,
.text a:hover {
  color: var(--font);
  text-decoration: none;
  margin: 0;
}

@supports (grid-area: auto) {
  @media screen and (min-width: 56.250em) {

    header {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    .branding {
      display: grid;
      background-image: url("../images/port_top.jpg");
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
      width: 50%;
    }

    .text {
      grid: 1;
      background-color: var(--rgba);
    }

    .text h1 {
      font-size: 3rem;
      margin: 0;
    }

  }

}


/* Navigation */

nav {
  display: flex;
  justify-content: flex-start;
}

.button {
  padding: 10px;
  margin-right: 10px;
}

.button a {
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

/* Breadcrumb line */

.breadcrumbs {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px 5px 0;
  background-color: var(--accent);
}

.crumb::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0a9";
  margin: 0 10px;
}

.breadcrumbs a,
.breadcrumbs a:visited,
.breadcrumbs a:active,
.breadcrumbs a:hover {
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--font);
  cursor: pointer;
}

@supports (grid-area: auto) {
  @media screen and (min-width: 56.250em) {

    nav {
      display: flex;
      flex-direction: row;
      justify-items: flex-end;
    }

    .button a {
      font-weight: 600;
      font-size: 1.3rem;
      text-decoration: none;
      cursor: pointer;
    }
  }
}

/* Footer */

footer {
  background-color: var(--accent);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.contact {
  display: none;
}

.contact a {
  margin-bottom: 10px;
}

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

.copy {
  text-align: center;
}

.social {
  width: 100%;
  display: flex;
  justify-content: space-around;

}



@supports (grid-area: auto) {

  @media screen and (min-width: 56.250rem) {
    footer {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    .contact {
      display: flex;
      flex-direction: column;
      flex-shrink: 1;
    }

    .contact a {
      margin-bottom: 10px;
    }

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

    .copy {
      flex-grow: 1;
      text-align: center;
    }

    .social {
      width: auto;
      flex-grow: 1;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
    }
  }
}

/* 
* Main Section
*/

main {
  padding: 0 10px;
}

.player-box {
  width: 60%;
  margin: 0 auto 2rem auto;
}

video {
  width: 100%;
  height: auto;
}

.button-box {
  display: flex;
  justify-content: space-evenly;
  padding: 10px;
  margin: 1rem;
}

.slider-box {
  display: flex;
  justify-content: space-evenly;
  padding: 10px;
  font-size: 1.8rem;
}

.slider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
}

.player-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  font-size: 1.4rem;
  background-color: #BD573F;
  color: var(--font);
  border: none;
  -webkit-box-shadow: 11px 11px 34px -2px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 11px 11px 34px -2px rgba(0, 0, 0, 0.75);
  box-shadow: 11px 11px 34px -2px rgba(0, 0, 0, 0.75);
  width: 90px;
}

.play {}

/* 
* Styling the buttons
*/

/* 
* Styling the sliders with help from https://css-tricks.com/
*/

/* Remove the old slider all browsers*/
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type="range"]::-moz-range-track {
  background-color: transparent;
}

input[type=range]::-moz-range-thumb {
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type="range"]:focus {
  outline: none;
}

input[type="range"]::-ms-track {
  width: 100%;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

/* New slider-thumb */

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 1px solid #282828;
  height: 30px;
  width: 14px;
  border-radius: 3px;
  background: var(--font);
  cursor: pointer;
  margin-top: -14px;
  box-shadow: 1px 1px 1px #282828, 0px 0px 1px #0d0d0d;
}

input[type=range]::-ms-thumb {
  box-shadow: 1px 1px 1px #282828, 0px 0px 1px #0d0d0d;
  border: 1px solid #282828;
  height: 30px;
  width: 14px;
  border-radius: 3px;
  background: var(--font);
  cursor: pointer;
}

input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #282828, 0px 0px 1px #0d0d0d;
  border: 1px solid #282828;
  height: 30px;
  width: 14px;
  border-radius: 3px;
  background: var(--font);
  cursor: pointer;
}

/* New slider-track for all browsers */

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #282828, 0px 0px 1px #0d0d0d;
  background: #BD573F;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  background: #BD573F;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}

input[type=range]::-ms-fill-lower {
  background: #BD573F;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #282828, 0px 0px 1px #0d0d0d;
}

input[type=range]:focus::-ms-fill-lower {
  background: #BD573F;
}

input[type=range]::-ms-fill-upper {
  background: #BD573F;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #282828, 0px 0px 1px #0d0d0d;
}

input[type=range]:focus::-ms-fill-upper {
  background: #BD573F;
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #282828, 0px 0px 1px #0d0d0d;
  background: #BD573F;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}