* {
  -webkit-transition: all 1000ms ease;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

html {
  -webkit-animation: fadeSiteIn 0.5s ease forwards;
  animation: fadeSiteIn 0.5s ease forwards;
  /* [1] */
}

html.fadeSiteOut {
  -webkit-animation: fadeSiteOut 0.5s ease forwards;
  animation: fadeSiteOut 0.5s ease forwards;
  /* [2] */
}

@-webkit-keyframes fadeSiteIn {
  /* [1] */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeSiteIn {
  /* [1] */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeSiteOut {
  /* [2] */
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes fadeSiteOut {
  /* [2] */
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

body,
html {
  font-family: 'Nunito Sans', sans-serif;
}

h1 {
  font-size: 4rem;
  color: #322f2f;
  font-weight: 800;
}

h2 {
  font-size: 3rem;
  color: #ffc72c;
}

.work-display h3 {
  font-size: 2rem;
}

#work1 h2 {
  color: #ffc72c;
  font-size: 2rem;
}

h2,
h3 {
  font-weight: 700;
}

.container-fluid {
  padding-right: 22px;
  padding-left: 22px;
}

.unstyled-link {
  text-decoration: none;
  color: inherit;
}

.unstyled-link:hover {
  color: #ffc72c;
  text-decoration: none;
}

.bg-yellow {
  /* background-color: #ffc72c; */
  height: 100vh;
}

.first-page {
  margin-top: 6rem;
  color: #ffc72c;
}

.first-page p {
  font-size: 2.5rem;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

.icon-ando-mono {
  font-size: 48px;
}

.title-homepage {
  font-size: 9rem;
  font-weight: 900;
}

.nav-item {
  text-transform: uppercase;
  font-weight: 800;
}

.navbar-nav .nav-link {
  padding-right: 1.5rem !important;
  padding-left: 3.5rem !important;
}

.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand {
  color: #000;
}

.navbar-light .navbar-nav>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
  color: #000s;
}

/*Scroll down animation*/

div .scrollDown {
  width: 100%;
  height: 100vh;
  background: #fff;
}
div .scrollDown::before{
  content: '╲╱';
  color: #ffc72c;
  position: absolute;
  opacity: 0.7;
  font-size: 20px;
  width: 60px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 10px;
  bottom: 20px;
  left: 50%;
  margin-left: -30px;
  -webkit-animation: bounce 1s ease infinite;
          animation: bounce 1s ease infinite;
}

@-webkit-keyframes bounce {
  50% {
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes bounce {
  50% {
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

video {
  width: -moz-available;
}


#work {
  color: #696969;
}

.work-single h2 {
  font-size: 1rem;
  color: #696969;
}

#work img {
  width: 98%;
  height: auto;
}

.block-1 {
  cursor: pointer;
}

.btn {
  border-radius: 20px;
}

.btn-primary, .btn-warning {
  padding: 0.5rem 1rem;
  border: none;
  color: #fff;
}

.btn-primary:hover {
  -webkit-box-shadow: 0 14px 28px rgba(12, 37, 65, 0.28), 0 10px 20px rgba(0, 123, 255, 0.63);
  box-shadow: 0 14px 28px rgba(12, 37, 65, 0.28), 0 10px 20px rgba(0, 123, 255, 0.63);
  background-color: #007bff;
  border-color: none;
}

.btn-warning:hover {
  -webkit-box-shadow: 0 14px 28px rgba(210, 185, 43, 0.3), 0 10px 20px rgba(255, 189, 0, 0.66);
          box-shadow: 0 14px 28px rgba(210, 185, 43, 0.3), 0 10px 20px rgba(255, 189, 0, 0.66);
  background-color: #ffc72c;
  border-color: none;
  color: #fff;
}

.myCard {
  padding: 50px;
  background-color: #fff;
  margin-bottom: 25px;
  margin-top: 25px;
  border-radius: 10px;
}

.myCard2 {
  padding: 15px 0px 15px 0px;
  background-color: #fff;
  margin: 10px;
  border-radius: 10px;
}

.myCard-elevation {
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  -webkit-transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.myCard-elevation:hover {
  -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

/* .myCard-elevated {
  -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
} */

.work-bg-1 {
  width: 100%;
  height: 41rem;
  background-image: url(img/proto.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.work-bg-2 {
  width: 100%;
  height: 41rem;
  background-image: url(img/DATART-mockup.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.work-bg-3 {
  width: 100%;
  height: 41rem;
  background-image: url(img/wordpress.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.work-bg-4 {
  width: 100%;
  height: 41rem;
  background-image: url(img/campingmockup.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.rw-wrapper {
  width: 80%;
  position: relative;
  margin-top: 137px;
  padding: 10px 15px;
  ;
}

.rw-sentence {
  margin: 0;
  text-align: left;
}

.rw-words {
  display: inline;
}

.rw-words-1 span {
  -webkit-animation: rotateWord 18s cubic-bezier(1, -0.82, 0, 1.73) infinite 0s;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  animation-delay: 0s;
  background-color: white;
  border-radius: 15px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(239, 173, 39, 0.23);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(239, 173, 39, 0.23);
  color: #ffc72c !important;
  margin: 0 11px;
  opacity: 0;
  overflow: hidden;
  padding: 0 23px;
  position: absolute;
  width: -moz-max-content;
}

.rw-words-1 span:nth-child(2) {
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
  color: #000;
}

.rw-words-1 span:nth-child(3) {
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
  color: ##000;
}

.rw-words-1 span:nth-child(4) {
  -webkit-animation-delay: 9s;
  animation-delay: 9s;
  color: #000;
}

.rw-words-1 span:nth-child(5) {
  -webkit-animation-delay: 12s;
  animation-delay: 12s;
  color: #000;
}

.rw-words-1 span:nth-child(6) {
  -webkit-animation-delay: 15s;
  animation-delay: 15s;
  color: #000;
}

@-webkit-keyframes rotateWord {
  0% {
    opacity: 0;
  }
  2% {
    opacity: 0;
    -webkit-transform: translateY(-30px);
  }
  5% {
    opacity: 1;
    -webkit-transform: translateY(0px);
  }
  17% {
    opacity: 1;
    -webkit-transform: translateY(0px);
  }
  20% {
    opacity: 0;
    -webkit-transform: translateY(30px);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes rotateWord {
  0% {
    opacity: 0;
  }
  2% {
    opacity: 0;
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  5% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  17% {
    opacity: 1;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  20% {
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* MEDIA QUERIES */


@media screen and (min-width:1200px) {

  .rw-sentence {
    font-size: 5rem;
  }
}

@media screen and (min-width: 768px) {
  .mobile-only {
    display: none;
  }
}

@media screen and (max-width:992px) {
  .rw-sentence {
    font-size: 3rem;
  }
  .container-fluid {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }
}

@media screen and (max-width: 768px) {
  .rw-sentence {
    font-size: 2.8rem;
  }

  #work h2 {
    text-indent: 12px;
  }
  .myCard {
    padding: 30px;
    margin: 25px;
  }
  #work-display h3 {
    font-size: 1.6rem;
  }
  .card-deck .card {
    display: inline-table;
  }
  .card {
    min-width: -moz-available;
  }
}

@media screen and (max-width: 414px) {
  .desktop-only {
    display: none;
  }
}

@media screen and (max-width: 414px) {
  
  .rw-sentence {
    font-size: 2.4rem;
  }
  .rw-words {
    display: block;
  }
  .desktop-only {
    display: none !important;
  }
  .container-fluid {
    padding-right: 0;
    padding-left: 0;
  }
  .myCard {
    padding: 25px;
    margin: 20px;
  }
  .work-display h3 {
    font-size: 1.3rem;
  }
  h2 {
    font-size: 2.5rem;
  }


@media screen and (min-width: 320px) and (max-width: 414px) {
  .rw-sentence {
    font-size: 2.3rem;
  }
  .rw-words-1 span {
    padding: 0 14px;
    margin: 6px 0px;
  }
  .first-page .container-fluid {
    padding-right: 6px;
    padding-left: 6px;
  }

}

}