

/**
 *
 * Table of Contents
 * 
 * Normalize
 * Typography
 * CSS Variables
 * Basic Elements
 * Forms
 * Structure (Layout Grid)
 * Header
 * Navigation 
 * Content
 * Sidebar
 * Footer
 * Media Queries for Tablet
 * Media Queries for Desktop
 *
 */


/**
 * Normalize
 */

@import url(css/normalize.css);

* {
   box-sizing: border-box;
}

/**
 * Typography
 */

/* roboto-condensed-regular - latin_latin-ext */
@font-face {
   font-family: 'Roboto Condensed';
   font-weight: 400;
   font-style: normal;

   font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
   src: url('../fonts/roboto-condensed-v27-latin_latin-ext-regular.eot'); /* IE9 Compat Modes */
   src: url('../fonts/roboto-condensed-v27-latin_latin-ext-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
   url('../fonts/roboto-condensed-v27-latin_latin-ext-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
   url('../fonts/roboto-condensed-v27-latin_latin-ext-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
   url('../fonts/roboto-condensed-v27-latin_latin-ext-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
   url('../fonts/roboto-condensed-v27-latin_latin-ext-regular.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}

/* roboto-condensed-italic - latin_latin-ext */
@font-face {
   font-family: 'Roboto Condensed';
   font-weight: 400;
   font-style: italic;

   font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
   src: url('../fonts/roboto-condensed-v27-latin_latin-ext-italic.eot'); /* IE9 Compat Modes */
   src: url('../fonts/roboto-condensed-v27-latin_latin-ext-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
   url('../fonts/roboto-condensed-v27-latin_latin-ext-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
   url('../fonts/roboto-condensed-v27-latin_latin-ext-italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
   url('../fonts/roboto-condensed-v27-latin_latin-ext-italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
   url('../fonts/roboto-condensed-v27-latin_latin-ext-italic.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}

/* roboto-condensed-800 - latin_latin-ext */
@font-face {
   font-family: 'Roboto Condensed';
   font-weight: 800;
   font-style: normal;

   font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
   src: url('../fonts/roboto-condensed-v27-latin_latin-ext-800.eot'); /* IE9 Compat Modes */
   src: url('../fonts/roboto-condensed-v27-latin_latin-ext-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
   url('../fonts/roboto-condensed-v27-latin_latin-ext-800.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
   url('../fonts/roboto-condensed-v27-latin_latin-ext-800.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
   url('../fonts/roboto-condensed-v27-latin_latin-ext-800.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
   url('../fonts/roboto-condensed-v27-latin_latin-ext-800.svg#RobotoCondensed') format('svg'); /* Legacy iOS */
}

/**
 * CSS Variables
 */

:root {
   --color-01: rgb(0, 0, 0);
   --color-01a: rgba(0, 0, 0, 0.4);
   --color-02: rgb(110, 122, 128);
   --color-03: rgb(201, 202, 204);
   --color-04: rgb(97, 185, 20);
}

/**
 * Basic Elements
 */

body {
   font-family: 'Roboto Condensed';
   font-weight: 400;
   color: var(--color-03);
   background-color: var(--color-01);
}

h1 {
   font-size: 2.5rem;
   font-weight: 400;
   margin-top: 0;
   letter-spacing: -1px;
   color: var(--color-02);
}

/**
 * Forms
 */

input[type="text"] {
   width: 98%;
}

/**
 * Structure (Layout Grid)
 */

#wrapper {
   display: grid;
   grid-template-columns: repeat(20, 5%);
   grid-template-rows: repeat(5, auto);
}

/**
 * Header
 */

.header {
   display: flex;
   grid-column-start: 4;
   grid-column-end: 18;
   grid-row-start: 1;
   grid-row-end: 2;
   align-items: center;
   justify-content: center;
   height: 8rem;
   margin-bottom: 3rem;
}

.logo img {
   width: 80%;
   height: auto;
   padding-left: 2rem;
}

/**
 * Navigation
 */

/* .p-menu1 {
   grid-column-start: 18;
   grid-column-end: 20;
   grid-row-start: 1;
   grid-row-end: 2;
   background-color: #454545;
} */

.p-menu1 {
   position: absolute;
   z-index: 90;
   top: 3.5rem;
   right: 0;
   height: 60px;
}

/**
 * Content
 */
.content {
   grid-column-start: 4;
   grid-column-end: 18;
   grid-row-start: 3;
   grid-row-end: 4;
}

.content h1 {
   margin-bottom: 2rem;
   padding-top: 2rem;
}

.content p {
   line-height: 1.4rem;
}

.content .subhead,
.content-gallery .subhead {
   font-size: 1.4rem;
   line-height: 1.8rem;
}

.content .subfooter {
   font-size: 1.4rem;
   line-height: 1.8rem;
   margin: 1rem 0;
}

.content .bigfoot {
   font-size: 1.4rem;
   line-height: 1.8rem;
   color: var(--color-04);
}

.content-gallery,
.content-home {
   grid-column-start: 5;
   grid-column-end: 17;
   grid-row-start: 3;
   grid-row-end: 4;
}

.gallery-container {
   display: flex;
   flex-direction: column;
   margin-bottom: 3rem;
}

.gallery-title {
   display: flex;
   justify-content: center;
}

.gallery-content h1 {
   margin-top: 2rem;
}

.gallery-home,
.gallery-team,
.gallery-praxis {
   display: flex;
   gap: 3px 6px;
   flex-wrap: wrap;
   justify-content: center;
   margin-bottom: 1.5rem;
}

.gallery-home {
   gap: 1px 5px;
}

.team-image {
   position: relative;
   width: 100%;
}

.physio_q img {
   width: 100%;
   height: auto;
}

.overlay {
   font-size: 1.5rem;
   position: absolute;
   bottom: 0;
   width: 100%;
   padding: 0.2rem;
   transition: 1s ease;
   text-align: center;
   background-color: var(--color-01a);
}

/* .overlay a {
   font-size: 1.5rem;
   position: absolute;
   bottom: 0;
   width: 100%;
   padding: 0.2rem;
   transition: 1s ease;
   text-align: center;
   background-color: var(--color-01a);
} */

address a {
   font-size: 1.5rem;
   color:#61B914;
}

/**
 * Sidebar
 */

.sidebar-img,
.sidebar-slider {
   display: flex;
   grid-column-start: 4;
   grid-column-end: 18;
   grid-row-start: 2;
   grid-row-end: 3;
   justify-content: flex-start;
}

.sidebar-img img {
   display: block;
   width: auto;
   height: 200px;
}

.sidebar-content {
   grid-column-start: 4;
   grid-column-end: 18;
   grid-row-start: 4;
   grid-row-end: 5;
   padding-right: 2rem;
}

.sidebar-content p {
   line-height: 1.4rem;
   text-align: left;
}

/**
 * Footer
 */

.footer {
   display: flex;
   grid-column-start: 4;
   grid-column-end: 18;
   grid-row-start: 5;
   grid-row-end: 6;
   align-items: center;
   flex-direction: column;
}

.footer .info p {
   font-size: 1rem;
   line-height: 1.6rem;
   margin-bottom: 0.5rem;
   text-align: center;
}

.footer .info a {
   color: var(--color-03);
}

.footer .info a:hover {
   color: var(--color-04);
}

.footer nav ul {
   display: flex;
   justify-content: space-evenly;
   list-style: none;
}

.footer .stroke {
   margin: 1rem 0 ;
}

.footer ul {
   width: 20rem;
   margin: 0;
   padding-left: 0;
}

.footer ul li {
   float: left;
   list-style: none;
}

.social-media-box {
   display: flex;
   gap: 1rem;
   justify-content: center;
   margin: 0.5rem 0 1rem 0;
}

.fa-brands {
   font-size: 2rem;
   color: var(--color-04);
}

a .fa-brands:hover {
   font-size: 2.4rem;
   transition: 200ms;
}

/**
 * Media Queries for Tablet
 */

@media screen and (min-width: 769px) {
   /* Forms */
   input[type="text"] {
      width: auto;
   }

   /* Header */
   .header {
      grid-column-start: 4;
      grid-column-end: 18;
      grid-row-start: 1;
      grid-row-end: 2;
   }

   .logo img {
      width: 100%;
      height: auto;
      padding-left: 0;
   }

   /* Navigation */
   .p-menu1 {
      top: 3.5rem;
      right: 2rem;
   }

   /* Content */
   .content {
      grid-column-start: 10;
      grid-column-end: 18;
      grid-row-start: 2;
      grid-row-end: 4;
   }

   .content h1 {
      margin-bottom: 4rem;
      padding-top: 0;
   }

   .gallery-container {
      flex-direction: row;
      margin-bottom: 4rem;
   }

   .gallery-content h1 {
      margin-top: 0;
   }

   .gallery-image {
      margin-left: 1.6%;
      padding-top: 0.5rem;
      padding-right: 2rem;
   }

   .team-image {
      width: 48%;
   }

   /* Sidebar */
   .sidebar-img,
   .sidebar-slider {
      display: flex;
      grid-column-start: 4;
      grid-column-end: 10;
      grid-row-start: 2;
      grid-row-end: 3;
      justify-content: flex-end;
      padding-top: 0.5rem;
      padding-right: 2rem;
   }

   .sidebar-content {
      grid-column-start: 4;
      grid-column-end: 10;
      grid-row-start: 3;
      grid-row-end: 4;
      padding-top: 1rem;
   }

   .sidebar-content p {
      text-align: right;
   }

   /* Footer */
   .footer {
      grid-column-start: 4;
      grid-column-end: 18;
      grid-row-start: 5;
      grid-row-end: 6;
   }

   .footer .info p {
      font-size: 1.2rem;
   }
}

/**
 * Media Queries for Desktop
 */

/* @media screen and (min-width: 1280px) { */
@media screen and (min-width: 1095px) {
   /* Header */
   .header {
      grid-column-start: 5;
      grid-column-end: 17;
      grid-row-start: 1;
      grid-row-end: 2;
   }

   /* Navigation */
   .p-menu1 {
      top: 3.5rem;
      right: 11rem;
   }

   /* Content */
   .content {
      grid-column-start: 9;
      grid-column-end: 17;
      grid-row-start: 2;
      grid-row-end: 4;
   }

   .team-image {
      width: 32%;
   }

   /* .overlay {
      opacity: 0;
   } */

   .team-image:hover .overlay {
      opacity: 1.0;
   }

   /* Sidebar */
   .sidebar-img,
   .sidebar-slider {
      display: flex;
      grid-column-start: 5;
      grid-column-end: 9;
      grid-row-start: 2;
      grid-row-end: 3;
      justify-content: flex-end;
      padding-top: 0.5rem;
      padding-right: 2rem;
   }

   .sidebar-content {
      grid-column-start: 5;
      grid-column-end: 9;
      grid-row-start: 3;
      grid-row-end: 4;
   }

   /* Footer */
   .footer {
      grid-column-start: 5;
      grid-column-end: 17;
      grid-row-start: 5;
      grid-row-end: 6;
   }
}
