﻿.hero-container {
  overflow:hidden;
    max-width: 100%;
    margin: auto;
    padding: 0;  
    background: 
      linear-gradient(#663366  0%, #993300 90%), 
      linear-gradient(to top, #663366 0%, #ffcc00 90%), 
      url('https://www.dmu.ac.uk//webimages/art-design-and-humanities-images/adhitk/1920x1080-international-adhtk.jpg') center / cover,
      url('https://www.dmu.ac.uk//webimages/art-design-and-humanities-images/adhitk/1920x1080-international-adhtk.jpg') center / cover!important;
    background-blend-mode: screen, color-burn, luminosity;
  }
  
  .grid {
    display: grid;
    grid-gap: 0;
    grid-template-columns: repeat(6, minmax(8rem, 1fr));
    grid-auto-rows:1fr;
    grid-auto-flow: dense;
  }
  
  .grid::before {
    content:'';
    width:0;
    padding-bottom:100%;
    grid-row:1 / 1;
    grid-column: 1 / 1;
  }
  
  .grid > .content:first-child {
    grid-row:1 / 1;
    grid-column: 1 / 1; 
  }
  
  .content {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 1000px;
  }
  
  .picture {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s;
  }
  
  .picture .front {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    backface-visibility: hidden;
  }
  
  .picture .front img,
  .picture .back img
  {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .horizontal {
    grid-column: span 2;
  }
  
  .vertical {
    grid-row: span 2;
  }
  
  .picture .back {
    width: 100%;
    height: 100%;
    background-color: #333333;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateY(180deg);
  }
  
  .picture .back h4 {
    color: #ffffff;
    text-transform:uppercase;
    background:none;
    padding:12px;
    margin:10px;
    font-weight:bold;
  }
  


  .hero-container .content:hover .picture,
  .flip-on-load {
    transform: rotateY(180deg);
  }
  
  /* Media query for responsive */
  
  @media screen and (max-width: 950px) {
    .grid {
      grid-template-columns: repeat(3, minmax(4rem, 1fr));
  
    }
  
  }


  .panel__header {
      text-transform: uppercase;
      font-weight:700;
      background: #FFCC00;
      font-size:2.5em!important;
background: -webkit-linear-gradient(to top left, #FFCC00 0%, #C462C4 100%);
background: -moz-linear-gradient(to top left, #FFCC00 0%, #C462C4 100%);
background: linear-gradient(to top left, #FFCC00 0%, #C462C4 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
  }

  .hero-banner__heading {
    text-transform: uppercase;
      font-weight:700;
      background: #FFCC00;
background: -webkit-linear-gradient(to top left, #FFCC00 0%, #C462C4 100%);
background: -moz-linear-gradient(to top left, #FFCC00 0%, #C462C4 100%);
background: linear-gradient(to top left, #FFCC00 0%, #C462C4 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
  }

  .hero-banner__text {
    color:#444!important;
  }

  .hero-banner .hero-banner--gradient:before {
    background-color: rgba(255, 255, 255, 0.2)!important;
  }

  .dmu-card__header h4 {
      text-transform: uppercase;
      font-weight:700;
      background: #FFCC00;
background: -webkit-linear-gradient(to top left, #FFCC00 0%, #C462C4 100%);
background: -moz-linear-gradient(to top left, #FFCC00 0%, #C462C4 100%);
background: linear-gradient(to top left, #FFCC00 0%, #C462C4 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
  }

  .dmu-card {
    background-color:#333!important;
    color:#fff;
    border-radius:0!important;
  }

.content-width {
    padding:0.5em .9375rem;
    margin: 0 auto;
    max-width: 75rem;
    width: 100%;

}

.header__logo {
   background-image:url('../images/dmu-logo-white.png')!important;
    background-size: contain!important;
    margin: 0.9375rem!important;
    height:4rem!important;
}

.header {
  background-color:#333333!important;
}

.header__nav,
.search__wrapper,
.header__links {
  display:none!important;
}

.hero-banner__heading-bg-strip {
opacity:1!important;
}

.nav__wrapper .new-nav {
      display: flex;
    height: 94px;
    align-items: center;
    padding-left: 3em;
    margin: 0;
}

.new-nav a {
  padding:2.5em;
  color:#fff;
  text-decoration:none;
    text-transform: uppercase;
      font-weight:700;
}

.new-nav a:hover {

      background: #FFCC00;
background: -webkit-linear-gradient(to top left, #FFCC00 0%, #C462C4 100%);
background: -moz-linear-gradient(to top left, #FFCC00 0%, #C462C4 100%);
background: linear-gradient(to top left, #FFCC00 0%, #C462C4 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}

.panel--quote .panel-col--text, .panel--video .panel-col--text {
    border: 0 none!important;
}
  