/* #EBEBEB */

body,
html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size:18px;
    font-family: "Poppins", sans-serif;
}

.maincontent {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.maincontent_wrapper {
    padding-top: 0;
}

#reusable img {
    width: 100%;
}
.med-text{
    font-size:1.3rem;
}
.p-container{
    max-width:750px;
    font-weight:300;
    margin-top:3%;
}
.r-container{
    max-width:1400px;
    padding:2%;
    margin:0 auto;
}

.r-header{
    max-width:1000px;
    padding:2%;
    margin:0 auto;
    text-align: center;
}
.jumbo-text{
    font-size:65px;
    line-height: 1.2;
    text-transform:uppercase
}
.heavyweight{
    font-weight:600;
}
#reusable .hero{
   position: relative;
}

.hero-container{
  position: absolute;
  width:100%;
  height:100%;
  text-align: center;
  top:15%;
}
.hero-container h1{
    position: relative;
    display:inline;
    font-size:clamp(18px, 4vw, 60px);
    font-weight:700;
    margin:0;
    padding:0;
}
.hero-container h2{
    margin:0;
    font-weight:300;
    font-size:clamp(10px, 1.7vw, 48px);
}
.hero-container h1::after{
    position: absolute;
    content:"";
    top:50%;
    right:-55%;
    height:2px;
    width:50%;
    background-color:#000;
}
.hero-container h1::before{
    position: absolute;
    content: "";
    top: 50%;
    left: -55%;
    height:2px;
    width:50%;
    background-color:#000;
}
.hero-logo{
    position: absolute;
    top:5%;
    left:2%;
    max-width:10vw;
}

.space{
    /* height:50vh; */
    background-color:#EBEBEB;
}
.opening-grid{
    display:grid;
    grid-template-columns: 65% 35%;
}
.opening-grid-content{
    place-self: center;
}
#top_collage{
    max-width:500px;
}
.section1{
    background-color:#EBEBEB;
    height:75vh;
    /* padding-top:10%; */
}
.paralax-grid{
    background-color:#EBEBEB;
    display:grid;
    grid-template-columns: 30% 30% 40%;
}
.paralax-grid-content{
    /* place-self: center; */
}
.layer-bg{
    /* clip-path: polygon(0% 0%, 100% 0%, 60% 100%, 0% 100%); */
    grid-column:1/3;
    background-image: url('/imageserver/Reusable/roser/shake-charcoal-min.png');
    background-size: cover;
    /* height:100vh; */
    margin-top:-20%;
}
.layer-2{
    background-color:#EBEBEB;
    grid-column:2/4;
    grid-row:1/2;
}

.sec2-header{
    max-width:1500px;
    display:grid;
    grid-template-columns:40% 60%;
    gap:50px;
    margin:0 auto;
    padding:5%;
    /* padding:0 8%; */
}
.sec2-left{
    text-align:right;
    justify-self:center;
}
.sec2-cards{
    display:flex;
    flex-direction:row;
    justify-content:center;
    flex-wrap:wrap;
    padding-bottom:100px;
}
.card{
    max-width:350px;
    min-height:450px;
    margin:20px 1.5vw;
    display:grid;
    grid-template-columns:350px;
    grid-template-rows: 40% 10% 40% 10%;
    text-align:center;
    background:#ececec;
}
.card:hover .card-center{
    margin-top:10px;
    transition:.5s;
    background:#434E6E;
}
.card-top{
    grid-row:1/3;
    grid-column:1/-1;
    overflow:hidden;
}
.card-top img{
    object-fit:cover;
    /* width:450px; */
}
.card-center{
    grid-row:2/3;
    grid-column:1/-1;
    
    color:#E3CCA1;
    align-self:flex-start;
    margin:20px auto;
    padding:15px 40px;
    transition:.5s;
}
.card-bottom{
    grid-row:3/4;
    grid-column:1/-1;
    padding:20px 10% 0;
    align-self:center;
}
.arrow-inside{
    fill:#434E6E;
    transform-origin:center;
    transform-style: preserve-3d;
}
.arrow-circle{
    fill:#E3CCA1;
    stroke:#434E6E;
    stroke-width:2;
}
.card-arrowSvg:hover .arrow-inside {
  animation:card-btn .3s linear forwards;
}
.card-button{
    grid-row:4/5;
    grid-column:1/-1;
    width:70px;
    height:70px;
    border-radius:50%;
    display:grid;
    justify-content:center;
    align-items:center;
    margin:0px auto;
    outline:3px solid #ececec;
  
}
.card-arrowSvg{
    text-align:center;
    width:75px;
}
@keyframes card-btn {
    0% {
        transform: translateX(0px)  rotateY(0deg);
      }
      25%{
          transform:translateX(10px) skewX(-20deg)  scale(.9) rotateY(-90deg);
      }
      50%{
          d: path("M32,34.2L32,34.2v-3.9c-6.2-3.6-16.1-0.3-21.6,2.5C13.5,14.8,35.1,28,32,16.1l10.8,9L32,34.2 L32,34.2z");
          transform:translateX(0px) skewX(-40deg) scale(.8) rotateY(-180deg);
      }
      75%{
          transform:translateX(-10px) skewX(-20deg) scale(.9) rotateY(-270deg);
      }
      100% {
        transform:translateX(0px)  scale(1) rotateY(-360deg);
      }
}
@media screen and (max-width:600px) {
    .hero-container{
        top:10%;
      }
      .hero-container h1::before{
        width:30%;
        left: -35%;
    }
    .hero-container h1::after{
        width:30%;
        right: -35%;
    }
}
@media screen and (max-width:400px) {
    .hero-container{
        top:5%;
      }
}