/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;700&display=swap');

body {
  font-family: 'Quicksand', sans-serif;
  font-size: 20px;
  line-height: 36px;
  text-align: center;
  font-weight: 400; }

h1,h3,.maj {text-transform: uppercase;}
h1 {font-size:32px;}
h2{font-size: 27px;}

nav ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after, q:before, q:after {
  content: none; }


hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0; }

  
  /* =========================

		GENERAL STYLES 

   =========================*/
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: none; }

a:link,
a:active {
  font-weight: 700;
  color: #f5f6f7;
  text-decoration: none; }
  a:link:hover,
  a:visited:hover,
  a:active:hover {
    color: #e1e1e1;
    -webkit-transition: color 1s;
    -moz-transition: color 1s;
    -ms-transition: color 1s;
    -o-transition: color 1s;
    transition: color 1s; }
    
.site-info {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  overflow: hidden;
  width: 250px;
  height: 250px;}
  
.site-info h2 {
  background-color: #ed1c24;
  color: #FFF;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 20px;
  width: 250px;
  display: block;}

.nav {
  position: fixed;
  width: 30px;
  height: 84px;
  z-index: 100;
  right: 0;
  top: 50%;
  margin-top: -42px; }
  .nav a {
    text-indent: -9999px;
    display: block;
    width: 14px;
    height: 14px;
    background: rgba(124, 185, 142, 0.4);
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    margin-bottom: 20px;
    -webkit-transition: background 0.5s;
    -moz-transition: background 0.5s;
    -ms-transition: background 0.5s;
    -o-transition: background 0.5s;
    transition: background 0.5s; }
    .nav a:hover {
      background: #7cb98e; 
      -webkit-transition: background 1s;
      -moz-transition: background 1s;
      -ms-transition: background 1s;
      -o-transition: background 1s;
      transition: background 1s; }

.mb-3 {
  margin-bottom: 30px; }
  
.centered {
	text-align: center;
}

/*----------------------
    Logo Animation  
-----------------------*/
.rw-wrapper{
	width: 68%;
	position: relative;
	margin: 20px auto 0 auto;
	padding: 10px;
	height: 400px;
	overflow: hidden;
}
.rw-sentence{
	margin: 0 0 50px 0;
	text-align: left;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
}
.rw-sentence span{
    color: #444;
	font-size: 100%;
	font-weight: normal;
}
.rw-words{
	display: inline;
	text-indent: 10px;
}
.rw-words-1 span{
	position: absolute;
	opacity: 0;
	overflow: hidden;
	color: #178236;
	-webkit-animation: rotateWord 18s linear infinite 0s;
	-ms-animation: rotateWord 18s linear infinite 0s;
	animation: rotateWord 18s linear infinite 0s;
}
.rw-words-1 span.effect{
    font-weight: bold;
    letter-spacing: 2px;
}
.rw-words span:nth-child(2) { 
    -webkit-animation-delay: 3s; 
	-ms-animation-delay: 3s; 
	animation-delay: 3s; 
	color: #178236;
}
.rw-words span:nth-child(3) { 
    -webkit-animation-delay: 6s; 
	-ms-animation-delay: 6s; 
	animation-delay: 6s; 
	color: #178236;	
}
.rw-words span:nth-child(4) { 
    -webkit-animation-delay: 9s; 
	-ms-animation-delay: 9s; 
	animation-delay: 9s; 
	color: #178236;
}
.rw-words span:nth-child(5) { 
    -webkit-animation-delay: 12s; 
	-ms-animation-delay: 12s; 
	animation-delay: 12s; 
	color: #178236;
}
.rw-words span:nth-child(6) { 
    -webkit-animation-delay: 15s; 
	-ms-animation-delay: 15s; 
	animation-delay: 15s; 
	color: #178236;
}
@-webkit-keyframes rotateWord {
    0% { opacity: 0; }
    5% { opacity: 0; }
    17% { opacity: 1; }
	19% { opacity: 1; }
	21% { opacity: 1; }
	23% { opacity: 1; }
	25% { opacity: 0; }
	80% { opacity: 0; }
    100% { opacity: 0; }
}
@-ms-keyframes rotateWord {
    0% { opacity: 0; }
    5% { opacity: 0; }
    17% { opacity: 1; }
	19% { opacity: 1; }
	21% { opacity: 1; }
	23% { opacity: 1; }
	25% { opacity: 0; }
	80% { opacity: 0; }
    100% { opacity: 0; }
}
@keyframes rotateWord {
    0% { opacity: 0; }
    5% { opacity: 0; }
    17% { opacity: 1; }
	19% { opacity: 1; }
	21% { opacity: 1; }
	23% { opacity: 1; }
	25% { opacity: 0; }
	80% { opacity: 0; }
    100% { opacity: 0; }
}
/* =========================

		SECTION STYLES 

   =========================*/
#welcome,
#contact {
 color: #5f6d7b;
  position: relative; }

.hero-block,
.footer-block {
  min-height: 390px;
  width: 100%;
  position: absolute;
  top: 50%;
  margin-top: -250px; }

.hero-block svg {
	 width: 60%;}
.hero-image {
  width: auto;
  height: auto; }

.footer-block {
  height: 180px;
  margin-top: -90px; }

#welcome {
  background: #fff;}
#contact, .btn.btn-primary {
  background: #232e5b; }

#welcome span:not(.rw-sentence span) {color: #232e5b; font-size: 40px;}
.down-arrow {
 position: fixed;
  left: 50%;
  bottom: 70px;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  z-index: 999;
  color: #232e5b;
}
.d-hover {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  text-align: center;
  padding-top: 25%;
  line-height: 20px;
  background: rgba(231, 76, 60, 0.9); }
  .d-hover p {
    display: block !important;
    z-index: 500;
    margin-top: 25px;
    font-size: 14px;
    font-style: italic;
    font-weight: 400; }

ul.slides {
  line-height: 0px;
  padding: 0px; }
  
ul.slides li {
display: inline-block;
width: 25%; }

  
ul.slides li a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative; }

ul.slides li a:hover .d-hover {
  display: block; }
	    
ul.slides li a img {
	width: 100%; }

ul.slides li a p {
	display: none; }

ul, menu, dir {
	display: block;
	list-style-type: disc;
	-webkit-margin-before: 0px;
	-webkit-margin-after: 0px;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	-webkit-padding-start: 0px;
}

@media only screen and (max-width: 1000px) {
      ul.slides li {
        width: 33%; } }
    @media only screen and (max-width: 767px) {
      .hero-block, .footer-block { top: 60%; }
      .hero-block svg { width: 80%;}
      .rw-sentence > span{white-space: wrap;display: none;}
      .rw-words-1 span {position: absolute; text-align: center;}
      ul.slides li {
        width: 50%; } }
    ul.slides li a {
      display: block;
      width: 100%;
      height: 100%;
      position: relative; }
      ul.slides li a:hover .d-hover {
        display: block; }
      ul.slides li a img {
        width: 100%; }
      ul.slides li a p {
        display: none; }
        
@media only screen and (max-width: 767px) and (orientation: landscape) {
  .hero-block, .footer-block { margin-top:-180px; }
}
/* =========================

			FOOTER 

   =========================*/
#contact {
	width: 100%;
	height: 100%;
	padding-top: 200px;
}
 
@media only screen and (min-width: 768px) {
  .site-info h2 {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  position: absolute;
  top: 50px;
  left: -45px;}
}

#contact span {
    font-size: 60px;
    color: white;
    padding: 10px 0;
}
#contact i {
	font-size: 60px;
	color: white;
	padding: 18px;
}

#contact .address {
	margin: 20px 0; 
}
#contact .address a, #contact .address i {
    font-size: 20px;
    padding: 10px 5px;;
}
#contact .address p {
	line-height: 24px;
}
.address a:hover {
	color: #7cb98e;
}

#contact .dribbble:hover {
	color: #ed6297;
}

#contact .facebook:hover {
	color: #3b5998;
}

#contact .twitter:hover, #contact .linkedin:hover {
	color: #2094CA;
}

#contact .google:hover {
	color: #df493a;
}