/*** Phone
*************/
.banner-profile {
  background-color: #D7E9EE;
  height: 650px;
  display: grid;
  grid-template-columns: 1fr 24% 24% 24% 24% 1fr;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  position: relative;
  background-image: url("/wp-content/themes/allinjuries/dist/img/background-profile-banner.svg");
  background-size: cover;
}

.banner-content {
  position: absolute;
  width: 100vw;
  height: 650px;
}

.banner-header {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
}
.banner-header h1 {
  margin: 0;
  padding: 0;
  text-align: right;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
}
#profile-tabs {
  position: absolute;
  top: auto;
  right: auto;
  left: 0;
  bottom: 0;
  height: 50%;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  width: 50%;
}
#profile-tabs nav {
  background-image: linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0));
  padding: 0 0 0 1rem;
}
#profile-tabs nav a {
  padding: 0.25rem;
  display: block;
  color: #AB0B23;
  display: block;
  font-weight: 600;
}
#profile-tabs nav a h3 {
  font-size: 1.25rem;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
  text-align: left;
}
#profile-tabs nav a h3 > span {
  display: none;
}

.banner-image {
  position: absolute;
  top: auto;
  left: 0;
  bottom: 0;
  width: 70vw;
  height: 50%;
}
.banner-image img {
  position: absolute;
  top: auto;
  right: auto;
  bottom: 0;
  left: 0;
  width: auto;
  height: 100%;
}

/********* PHONE LARGE 
************************/
/*** tablet
*************/
@media screen and (min-width: 768px) {
  .banner-header h1 {
    padding: 10% 0 0 0;
  }
  #profile-tabs {
    display: grid;
    grid-template-columns: 1fr 22% 22% 22% 22% 1fr;
    grid-row: 2;
    grid-column: 1/span 6;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 2;
    padding: 0;
  }
  #profile-tabs nav {
    grid-column: 2/span 4;
    display: flex;
    align-items: center;
    padding: 0;
  }
  #profile-tabs nav a {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #012941;
    padding: 0;
  }
  #profile-tabs nav a h3 {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 1em 0 1em;
    font-size: 2rem;
    line-height: 1em;
    margin: -0.125rem 0 0 0;
    font-weight: 600;
  }
  #profile-tabs nav a h3 > span {
    display: block;
    font-size: 0.5rem;
    line-height: 1.5em;
    font-weight: 900;
  }
  #profile-tabs nav a:hover {
    font-color: #AB0B23;
  }
}
/*** Desktop Small
********************/
@media screen and (min-width: 1024px) {
  .banner-profile {
    height: 650px;
  }
}
@media screen and (min-width: 1200px) {
  .banner-profile {
    display: grid;
    grid-template-columns: 1fr 22% 22% 22% 22% 1fr;
    grid-template-rows: 1fr 100px;
  }
  .banner-content {
    position: relative;
    width: auto;
    height: auto;
    grid-column: 2/span 4;
    grid-row: 1/span 2;
  }
  .banner-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    z-index: 1;
  }
  .banner-header h1 {
    padding: 10% 0 0 0;
  }
  .banner-header h1 > span:first-child {
    display: block;
    color: #AB0B23;
    font-size: 1.8rem;
    padding: 0 0 3rem 0;
  }
  .banner-header h1 > span:last-child {
    display: block;
    font-family: "Impact W10 Regular";
    font-size: 100px;
    line-height: 90px;
  }
}
/*** Desktop
******************/
@media screen and (min-width: 1280px) {
  .banner-profile {
    display: grid;
    grid-template-columns: 1fr 22% 22% 22% 22% 1fr;
    grid-template-rows: 1fr 100px;
    height: 650px;
  }
  .banner-image {
    position: absolute;
    top: 210px;
    right: 0;
    bottom: 0;
    width: 45%;
    height: auto;
  }
  .banner-content {
    position: relative;
    width: auto;
    height: auto;
    grid-column: 2/span 4;
    grid-row: 1/span 2;
  }
  .banner-header {
    position: absolute;
    top: 150px;
    right: 0;
    left: auto;
    width: 70%;
    z-index: 1;
  }
  .banner-header h1 {
    padding: 10% 0 0 0;
  }
  .banner-header h1 > span:first-child {
    display: block;
    color: #ADD9E6;
    font-size: 1.8rem;
    padding: 0;
  }
  .banner-header h1 > span:last-child {
    display: block;
    font-family: "trajan-pro-3", serif;
    font-size: 80px;
    line-height: 80px;
    white-space: nowrap;
  }
  .banner-header .cta-box {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 100px;
    left: auto;
    z-index: 40;
  }
  #profile-tabs {
    display: grid;
    grid-template-columns: 1fr 22% 22% 22% 22% 1fr;
    grid-row: 2;
    grid-column: 1/span 6;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 2;
    padding: 0;
  }
  #profile-tabs nav {
    grid-column: 2/span 4;
    display: flex;
    align-items: center;
    padding: 0;
  }
  #profile-tabs nav a {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #012941;
    padding: 0;
  }
  #profile-tabs nav a h3 {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 1em 0 1em;
    font-size: 2rem;
    line-height: 1em;
    margin: -0.125rem 0 0 0;
    font-weight: 600;
  }
  #profile-tabs nav a h3 > span {
    display: block;
    font-size: 1rem;
    line-height: 1em;
    font-weight: normal;
  }
  #profile-tabs nav a:hover {
    font-color: #AB0B23;
  }
  .profile-social {
    display: block;
    padding: 0 0 0 0.5rem;
  }
}
/*** Desktop Large
********************/
@media screen and (min-width: 1550px) {
  .banner-profile {
    grid-template-columns: 1fr 17% 17% 17% 17% 1fr;
    height: 650px;
  }
  #profile-tabs {
    display: grid;
    grid-template-columns: 1fr 17% 17% 17% 17% 1fr;
    grid-row: 2;
    grid-column: 1/span 6;
    background-color: rgba(255, 255, 255, 0.6);
    height: 100px;
  }
  #profile-tabs nav {
    height: 100px;
    grid-column: 2/span 4;
  }
}
