@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;700&display=swap');

/* reset09 */
body, p, h1, h2, h3, ul, li, img, div, section {
    margin: 0;
    padding: 0;
    text-wrap: balance;
    box-sizing: border-box;
}
body {
    -webkit-animation: fade0 .25s ease;
            animation: fade0 .25s ease;
}
section {
    overflow: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}
a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}
a:hover {
    color: #c72023;
}
p {
    font-weight: 400;
}
html {
    scroll-padding-top: 87px;
    display: block;
    width: 100%;
}

/* basic */
body {
    font-family: 'Public Sans', Arial, sans-serif;
    background-color: #222;
    color: #333;
    min-height: 100vh;
    min-width: 100%;
    margin: 0 auto;
}
.bg {
    background-image: url('../img/REDCS0.jpg');
    background-size: contain;
    background-repeat: repeat-y;
}
.blur-toggle, .blur-toggle2 {
    filter: blur(0);
    transform: rotateY(0deg);
    transform: scaleX(100%);
    transition: transform .1s ease-out;
    transition: filter .1s ease-out;
}
.blur-toggle[data-visible="true"], .blur-toggle2[data-visible="true"] {
    filter: blur(0) opacity(55%);
    transform: rotateY(-15deg), translateX(0);
    transition: filter 4000ms ease-out;
}
.blur-toggle[data-visible="true"] p, .blur-toggle2[data-visible="true"] p {
    filter: opacity(100%);
    filter: blur(.02rem);
    transform: rotateY(1deg);
    transform: scaleX(99%);
    transition: transform 1s ease-out;
}
section {
    display: block;
    scroll-behavior: smooth;

}
section p {
    line-height: 1.3rem;
    color: #454545;
    margin-bottom: 1rem;
}
.container {
    max-width: 78rem;
    margin: 0 auto;
    padding: 0;
}
nav .container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* main */
header {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
nav {
    font-size: 1.2rem;
    background-color: #fff;
    box-shadow: 0 0 15rem rgba(0, 0, 0, 0.25) !important;
    padding: 0 0.5rem;
}
nav ul {
    list-style: none;
    display: flex;
    padding: 1rem 0;
    align-items: baseline;
}
nav ul li {
    margin-right: 1.25rem;
}
nav a {
    text-decoration: none;
    color: #333;
    transition: color 0.5s ease;
}
nav a:hover {
    color: #c72023;
}
nav .container {
    justify-content: space-between;
}
.navdd {
    position:absolute;
    z-index:100;
    margin: .5rem -1rem;
    display:flex;
    flex-direction:column;
    padding:.25rem 0 .125rem 0;
    font-size:1rem;
    font-weight: 700;
    box-shadow: 0 1.5rem 2rem rgba(0, 0, 0, 0.5);
    transform: translateY(-300%);
    filter: blur(.5rem);
}
.nav-toggle {}
.primary-nav[data-visible="true"] {
  transform: translateY(0%);
  transition: transform 10ms ease-out;
  filter: blur(0);
  transition: filter 50ms ease-out;
}
.secondary-nav[data-visible="true"] {
  transform: translateY(0%);
  transition: transform 10ms ease-out;
  filter: blur(0);
  transition: filter 50ms ease-out;
}

.navdd li {
    padding: 0.6rem 0.15rem 0 1.25rem;
    width:100%;
    display:block;
    background: white;
    border-bottom:1px solid #ccc;
}
.navdd li:hover {
    background: #c72023;
    color: white;
    transition: color 0.15s ease;
    transition: background-color 0.125s ease-out;
    filter: drop-shadow(-.1em 0 2.25em rgba(255, 100, 100, .125));
}
.navdd a {
    min-width: 12rem;
    width: 100%;
}
.navdd a:last-child li {
    border:0;
}
nav .nav-toggle:hover,nav .nav-toggle2:hover {
    color: #c72023;
    cursor: pointer;
}
img {
    transition: width .5s;
}
.lg {
    margin-right: 60px;
}
.lg img {
    width: 200px;
    display: block;
}
.lang {
    position: fixed;
    top: 0.5rem;
    right: 0.75rem;
    padding: 0.2rem .75rem;
    display: flex;
}
.lang * {
    padding: 0.2rem;
    font-size: 0.75rem;
}

/* hero */
.hero {
    background-size: cover;
    color: #eee;
    padding: 5.25rem 6rem 4rem 6rem;
    margin: 4.5rem auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-animation: .8s ease 0s 1 fadebg;
            animation: .8s ease 0s 1 fadebg;
}
.heroi {
    background-image: url('../img/REDCS0.jpg');
    background-size: cover;
    padding: 6rem 0;
    margin-top: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero h2 {
    font-size: 2.5rem;
    margin: 1.25rem 0 1.5rem 0;
    max-width: 40ch;
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    line-height: 1.75rem;
    max-width: 60ch;
    color: #fff;
    transform: rotateY(0deg);
}
.hero[data-visible="true"] p {
    transform: rotateY(5deg);
    transition: transform 1s ease-out;
}

/* btn */
/*.btn {
    display: inline-block;
    background-color: #c72023;
    color: #fff;
    padding: 0.625rem 1.25rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.btn:hover {
    background-color: #ff0000;
}*/

/* section */
.sectiondesc {
  padding: 1.25rem;
}

/* feat */
.features {
    display: block;
    padding: 2rem 4rem;
    background-color: #eee;
}
.fdark {
    padding: 4rem 4rem;
    background: white;
    background: linear-gradient(0deg, #ddd 0%, #eee 15%, #fff 100%);
    opacity: 85%;
}
.features .fcontainer {
    box-sizing: border-box;
    margin: .1rem auto;
    padding: 3rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    max-width: 90rem;
}
/*.rcs::before {
    display:inline-flex;
    content: "_";
    font-size: 4rem;
    width: 0; height: 0;
    overflow: visible;
    color: #c72023;
    position: relative;
    left: -30px;
    top: -74px;
}*/
.fcontainer::after {
    display: none;
    font-size: 1rem;
    content: "";
    width: 720px;
    height: 1px;
    background: #c72023;
    transition: width 1s ease;
}

.fchead {
    display: block;
    width: 100%;
    padding: 0 1.5rem .5rem 1.2rem;
    margin-bottom: .125rem;
}
.fdark .feature p {
    background: none;
}
.fdark .fchead {
    background: none;
}
.fchead h2 {
    font-size: 2rem;
}
.features .container {
    width: 100%;
    margin-bottom: 1.25rem;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.features .container .feature {
    box-sizing: border-box;
    text-align: left;
}
.f2 {
    flex: 0 0 calc(50% - 0.5rem);
    /*margin-right: 0.5rem;*/
}
.f3 {
    flex: 0 0 calc(33.333% - 1.5rem);
}
.feature {
    padding: 0;
    max-width: 86ch;
}
.feature-inside {
    box-sizing: border-box;
    text-align: left;
    margin: 0;
    padding: 0 0 0 .125rem;
}
.feature p {
    font-size: 0.95rem;
    line-height: 1.25rem;
    margin: 0;
    width: 100%;
    padding: .3rem 1.25rem;
    background: #eee;
}
.feature h3 {
    font-size: 1.75rem;
}
.feature h4 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}
.feature-inside h5 {
    font-size: 0.9rem;
    margin: 0 0 0.25rem 0;
    padding: .125rem 1.25rem;
}
.feature p.clear {
    background: none;
}
.feature-inside p {
    padding: .3rem 1.25rem;
    font-size: 0.8rem;
    line-height: 1.2rem;
    color: #222;
}
.feature a {
    text-decoration: none;
    color: #c72023;
    transition: color 0.3s ease;
}
.feature a:hover {
    color: #f00;
}
.emph a {
    font-weight: 700;
    color: #c72023;
}
.emph a:hover {
    color: #333;
    transition: color 0.5s ease;
}
.emph svg {
    position: relative;
    padding-right: 0.5rem;
}
.emph {
    font-weight: 700;
}
.icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.icon > h2+svg {
    padding: .25rem .25rem .25rem 1rem;
    fill: #c72023;
    filter: drop-shadow(-.1em 0 .5em rgba(200, 100, 100, .3));
    -webkit-animation: zoom .125s .511s ease-out;
            animation: zoom .125s .511s ease-out;
}
.fchead + p, .icon + p {
    padding-top: .5rem;
}
.feature-inside .icon {
    background-color: #222;
    padding: .5rem 0;
}
.feature-inside .icon > svg  {
    padding: .25rem .5rem .25rem 1rem;
    fill: #ccc;
}
p:last-child {
    padding-top: 0.8rem;
    padding-bottom: 1.5rem;
}
.f3 p:last-child {
    padding-top: .125rem;
}
h2.news {
    padding-bottom: 10rem;
}
.releases p:last-child {
    padding: 0 0 2rem 1.25rem;
}

/* footer */
footer {
    /*background-color: #111;*/
    color: #fff !important;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
    font-size: .8rem;
}
footer .container {
    padding: 0rem 1rem;
    display: flex;
    justify-content: center;
}
.ct-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    text-align: left;
}
.ct-grid1, .ct-grid2 {
    padding: 0 3rem 0.5rem 1.75rem;
}
.ct-grid2 {
    flex-grow: 2;
}
.ct-grid img {
    display: block;
}
footer a {
    text-decoration: none;
    color: #aaa;
    transition: color 0.3s ease;
}
footer a:hover {
    color: #c72023;
}
.imp h4, .imp p {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    line-height: 1.2rem;
}
.fh {
    font-size: 0.8rem;
    padding:1.5rem 0 2rem 0;
    color:#ababab;
}
.icons-social {
    display: flex;
    flex-direction: row;
    text-align: left;
}
.icon-social {
    float: left;
    height: 20px;
    transition: all 0.2s;
    margin: 5px;
}
.icon-social:hover, .icon-social:active {
    opacity: 60%;
}

/* progress */
.progress {
  height: 90px;
  width: 0;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1111;
  -webkit-animation: progress .12s 30ms linear;
          animation: progress .12s 30ms linear;
}

@-webkit-keyframes progress {
  0% {
    background-color: rgba(0,0,0,0.1);
    width: 50%;
    opacity: 25%;
  }
  100% {
    background-color: #c72023;
    width: 0;
    opacity: 0;
    display: none;
  }
}

@keyframes progress {
  0% {
    background-color: rgba(0,0,0,0.1);
    width: 50%;
    opacity: 25%;
  }
  100% {
    background-color: #c72023;
    width: 0;
    opacity: 0;
  }
}

/* sel */
::-moz-selection {
    background: #c72023;
    color: #fff !important;
}
::selection {
    background: #c72023;
    color: #fff !important;
}

/* frames */
@-webkit-keyframes fadebg {
  0% {
    opacity: 60%;
  }
  100% {
    opacity: 100%;
  }
}
@keyframes fadebg {
  0% {
    opacity: 60%;
  }
  100% {
    opacity: 100%;
  }
}


@-webkit-keyframes fade0 {
  0% {
    background-color: #ccc;
    color: #c72023;
    opacity: 80%;
  }
  70% {
    color: #c72023;
    opacity: 95%;
  }
  100% {
    background-color: #c72023;
    color: #000;
    opacity: 100%;
  }
}


@keyframes fade0 {
  0% {
    background-color: #ccc;
    color: #c72023;
    opacity: 80%;
  }
  70% {
    color: #c72023;
    opacity: 95%;
  }
  100% {
    background-color: #c72023;
    color: #000;
    opacity: 100%;
  }
}

@-webkit-keyframes zoom {
  0% {
    transform: translateX(-10%) scale(300%);
    opacity: 0;
  }
  100% {
    transform: translateX(0) scale(100%);
    opacity: 100%;
  }
}

@keyframes zoom {
  0% {
    transform: translateX(-10%) scale(300%);
    opacity: 0%;
  }
  90% {
    opacity: 20%;
  }
  100% {
    transform: translateX(0) scale(100%);
    opacity: 100%;
  }
}



/* mq */
@media (max-width: 60rem) {
    .features {
        padding: 2rem 1rem;
    }
    .features .fcontainer {
        padding: 2rem 1rem;
    }

}
@media (max-width: 48rem) {
    html {
        scroll-padding-top: 110px;
    }
    body {
        background-size:65rem;
        background-position: center;
    }
    .hero {
        padding: 6.25rem auto 5rem auto;
    }
    .features {
        padding: 2rem 0.5rem;

    }
    .fcontainer, .container {
        flex-direction: column;
    }
    .feature {
        flex: 1;
        margin: 0 0 .1rem 0;
    }
    .feature-inside {
        flex: 1;
        margin-top: 0;
        padding: 0;
    }
    /*.fcontainer::after {
        width: 400px;
        transition: width 1s;
    }*/
    .feature-inside h5 {
        padding-top: .5rem;
    }
    p {
        max-width: 90ch;
    }
    .ct-grid {
        flex-direction: column;
    }
    nav .container {
        flex-direction: column;
    }
    nav ul {
        padding: 0 0 0.75rem 0;
        font-size: 1rem;
    }
}
@media (max-width: 560px) {
      * {
          word-break: break-word;
      }
      html {
          scroll-padding-top: 120px;
          text-wrap: none;
      }
      .fchead h2 {
          font-size: 1.5rem;
      }
      .hero {
          padding: 6.25rem 1.75rem 5rem 1.75rem;
      }
      nav {
          box-shadow: 0 0 3rem rgba(0, 0, 0, 0.1) !important;
          font-size: 0.8rem;
      }
      nav ul li {
          margin-right: .4rem;
      }
      nav < svg {
          width: 30px;
      }
      .lg {
          margin-right: 0;
      }
      .lg img {
          width: 160px;
      }
      img {
          max-width: 280px;
          transition: width .5s;
      }
      .hero {
          padding-top: 8rem;
      }
      .features .fcontainer {
          padding: 2rem 0;
      }
      /*.fcontainer::after {
          width: 280px;
          transition: width 1s;
      }*/
      .features .container .feature {
          margin: 1rem 0 0 0;
          padding: 0 0.5rem;
      }
      .fdark {
          margin: 0;
      }
      footer .container {
          padding: 2rem 0;
      }
}
