/*
 Theme Name:   Madico Banner Block Architecture
 Theme URI:    http://madico.com
 Description:  Twenty Twenty Child Theme
 Author:       David Smith
 Author URI:   http://davidmssmith.com
 Template:     twentytwenty
 Version:      2.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  twentytwentychild
*/

section {
  background-repeat: no-repeat;
  position: relative;
  background-size: cover;
  background-position-y: 45%;
  padding: 0px; !important;
}


.arch-container {
  display: grid;
  grid-template-columns: 1fr 5fr 2fr 1fr;
  grid-gap: 20px;
  justify-content: center;
  align-items: center;
}

.arch-color-overlay {
  width: 100%;
  height: 100%;
  background: #00477f;
  opacity: 0.7;
  position: absolute;
}

.arch-heading-primary {
  color: white;
  /*text-transform: uppercase;*/
  font-family: 'AvenirLTStd-Light', Arial, 'sans-serif';
  grid-column: 2 / span 1;
  backface-visibility: hidden;
  z-index: 1;
}

div.headline1 > h2 {
  font-size: 1em;
  color: white;
  margin-top: 10px;
}

.headline1 {
  display: block;
  font-size: 30px;
  font-weight: 400;
  /*letter-spacing: 3px;*/

  animation: movinInLeft 1s ease-out;
}

.subheadline2 {
  display: block;
  font-size: 20px;
  font-weight: 700;
  /*letter-spacing: 1.1px;*/

  animation: movinInRight 1s ease-out;
}

div.subheadlineline2 > p {
  color: white;
}

.arch-image {
  z-index: 2;
  animation: imageMoveLeft 1s ease-out;
  grid-column: 3 / span 1;
}

img["SCF-SEAL_NonSunscreens-2-color-1.jpg"] {
  margin-left: 20vw;
}

.arch-btn:link,
.arch-btn:visited {
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  padding: 15px 40px;
  border-radius: 100px;
  transition: all 0.2s;
  position: relative;
  margin-top: 20px;
}

.arch-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rbga(0, 0, 0, 0.2);
}

.arch-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rbga(0, 0, 0, 0.2);
}

.arch-btn-white {
  background-color: #fff;
  color: #777;
}

.arch-btn::after {
  content: '';
  display: inline-block;
  height: 100%;
  width: 100%;
  border-radius: 100px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all 0.4s;
}

.arch-btn-white::after {
  background-color: #fff;
}

.arch-btn:hover::after {
  transform: scalex(1.4) scaleY(1.6);
  opacity: 0;
}

.arch-btn-animated {
  animation: moveInButton 0.5s ease-out 0.75s;
  animation-fill-mode: backwards;
}

/*Keyframes for annimations*/

@keyframes movinInLeft {
  0% {
    opactity: 0;
    transform: translateX(-100px);
  }

  80% {
    transform: translateX(10px);
  }

  100% {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes movinInRight {
  0% {
    opactity: 0;
    transform: translateX(100px);
  }

  80% {
    transform: translateX(-10px);
  }

  100% {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes movinInButton {
  0% {
    opactity: 0;
    transform: translateX(100px);
  }

  80% {
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes imageMoveLeft {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}


* Mobiles in landscape mode */
@media only screen and (min-width: 501px) and (max-width: 850px) {
  /* Add you style here */
  .arch-container {
    display: grid;
    grid-template-columns: 1fr 3fr 2fr 1fr;
    grid-gap: 20px;
    justify-content: center;
    align-items: center;
  }
  .arch-heading-primary {
    grid-column: 2 / span 1;
  }
}
@media (max-width: 500px) {
  .arch-container {
    grid-template-columns: 1fr 3fr 1fr;
  }

  .arch-heading-primary {
    grid-column: 2 / span 1;
  }
  .arch-image {
    grid-column: 2 / span 1;
  }
}

/* Common general styles go here */
/* Mobiles in Potrait mode */
@media only screen and (max-width: 320px) {
  /* Add you style here */
}

/* Mobiles in landscape mode */
@media only screen and (min-width: 321px) and (max-width: 480px) {
  /* Add you style here */
}

/* Tablets */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  /* Add you style here */
}

/* Desktops and laptops computers */
@media only screen and (min-width: 1224px) {
  /* Add you style here */
}

/* very large screen devices */
@media only screen and (min-width: 1824px) {
  /* Add you style here */
}
/* For print */

@media print {
  /* Add your style here */
}
