﻿/* General */
html{
  height: 100%;
}
body{
  font-family: 'Lato', sans-serif;
  padding: 0;
  margin: 0;
  background: #D9DADF;
  background-size: cover;
  height: 100%;
  font-size: 16px;
}
h1{
  font-family: 'Indie Flower', cursive;
}
  .container {
    max-width: 960px;
  }

/* Header */
.header{
  color: #ffffff;
  /*background: #ffffff;*/
  padding: 20px 0;
}
.header .header-logo{
  background: url('../img/logo.png') bottom center;
  background-size: cover;
  width: 400px;
  height: 230px;
  position: absolute;
  top: -40px;
  left: 0px;
}
.header .container{
  position: relative;
}
.header nav{
  position: relative;
  padding: 10px;
  z-index: +10;
}
.header h1{
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
  padding: 10px;
  background: #66cc00;
  margin: 10px;
  margin-top: -10px;
  border-radius: 20px;
  display: none;
  text-align: center;
}
.header nav a{
  outline: none;
}
.header nav a:active{
  color: #333333;
}
.header nav a:hover{
  color: #333333;
}
.nav-bg-green a{
  background: #66cc00;
  color: #ffffff;
}
.nav-bg-blue a{
  background: #0daacb;
  color: #ffffff;
}
.nav-bg-orange a{
  background: #ff9933;
  color: #ffffff;
}
.nav-bg-purple a{
  background: #996699;
  color: #ffffff;
}
.nav-bg-red a{
  background: #cc3300;
  color: #ffffff;
}

/* Content */
.btn{
  border: none;
}
.side-menu{
  margin-top: -52px;
}
.side-menu ul{
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.side-menu li{
  width: 100%;
  margin-bottom: 15px;
}
.side-menu a{
  font-size: 20px;
  width: 100%;
  padding: 10px;
}
.bg-green{
  background: #66cc00;
  color: #ffffff;
}
.bg-blue{
  background: #0daacb;
  color: #ffffff;
}
.bg-orange{
  background: #ff9933;
  color: #ffffff;
}
.bg-purple{
  background: #996699;
  color: #ffffff;
}
.bg-red{
  background: #cc3300;
  color: #ffffff;
}
.bg-black{
  background: #000000;
  color: #ffffff;
}
.bg-pink{
  background: #e71d68;
  color: #ffffff;
}
.main-box{
  background: #D9DADF;
  box-shadow: 0 0 5px #aaaaaa;
  padding: 20px;
  border-radius: 10px;
  margin-top: 10px;
}

.title-box{
  background: #011332;
  position: relative;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 0 5px #999999;
  z-index: 2000;
  border-radius: 10px;
  margin-top: 10px;
}
.title-box h2{
  margin: 0;
}

.padding{
  margin: 0 50px;
  position: relative;
}
.content{
  min-height: 500px;
  padding-top: 190px;
  padding-bottom: 80px;
  background: #ffffff;
  background: rgba(255,255,255,0.9);
  margin-top: -100px;
  box-shadow: 0 0 10px #aaaaaa;
  background: white;
  background-size: contain;
}
.feedback-button{
  position: absolute;
  top: -80px;
  right: 0px;
  width: 180px;
  height: 180px;
  background: #66cc00;
  border-radius: 1000px;
  transform: rotate(4deg);
  transition: box-shadow 0.4s;
}
.feedback-button:hover{
  box-shadow: 0 0 7px #888888;
}
.feedback-button-text{
  margin: 32px 10px;
  text-align: center;
  color: #ffffff;
  font-size: 100%;
}
.feedback-button-text h4{
  font-size: 150%;
}
.feedback-link{
  text-decoration: none;
  backface-visibility: hidden;
  perspective: 1000px;
}
.feedback-link:link{
  text-decoration: none;
}
.feedback-link:hover{
  text-decoration: none;
}
.feedback-link:active{
  text-decoration: none;
}
.facebook-button{
  width: 200px;
  height: 77px;
  background: no-repeat url('../img/facebook.png');
  background-size: 200px;
  position: absolute;
  bottom: 0px;
  right: 0px;
}
.twitter-button{
  width: 200px;
  height: 77px;
  background: no-repeat url('../img/twitter.png');
  background-size: 200px;
  position: absolute;
  bottom: 90px;
  right: 0px;
}

.twitter-image{
  width: 200px;
  background: no-repeat url('../img/twitter.png');
  background-size: 200px;
  position: absolute;
}

.tiktok-image{
  width: 280px;
  height: 265px;
  background: no-repeat url('../img/PhoneTikTok.png');
  background-size: 360px;
  position: absolute;
  bottom: 9955px;
  right: 0px;

}


.tiktok-button{
  padding: 20px;
  background: #F6680D;
  text-align: center;
  color: #ffffff;
  border-radius: 20px;
  position: absolute;
  bottom: 9925px;
  width: 200px;
  right: 0px;
}

/* Footer */
.footer{
  background: #898E99;
  min-height: 200px;
  font-family: 'Raleway', sans-serif;
  padding-bottom: 20px;
  color: #ffffff;
  position: relative;
}
.footer .container{
  position: relative;
}
.footer h3{
  font-weight: bold;
}
.footer .footer-logo{
  position: absolute;
  right: 20px;
  bottom: 0;
  background: url('../img/Enact_Logo_White_Wordmark.png');
  width: 200px;
  height: 77px;
  background-repeat: no-repeat;
}

.footer .swoosh{
  position: absolute;
  top: -70px;
  height: 90px;
  width: 100%;
}

/* Letter */
@media (min-width: 661px) {
  div#card_cont{
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1000;
  }
  div#cardback{
    width: 555px;
    height: 380px;
    background-color: #FFFFFF;
    box-shadow: 0 0 4px #111111;
    -webkit-box-shadow: 0 0 4px #111111;
    -moz-box-shadow: 0 0 4px #111111;
    position: relative;
    margin: auto;
  }
  div#cardback #left{
    position: absolute;
    width: 330px;
    height: 380px;
    top: 0;
    left: 0;
  }
  div#cardback #right{
    width: 220px;
    height: 380px;
    position: absolute;
    top: 0;
    right: 0;
  }
  div#cardback #right #divider{
    height: 300px;
    width: 2px;
    background-color: #1d1b1b;
    position: absolute;
    top: 65px;
    left: 0;
  }
  div#cardback #right #stamp{
    height: 76px;
    width: 64px;
    position: absolute;
    top: 10px;
    right: 10px;
    background-image: url('../img/stamp.png');
  }
  div#cardback #right #postmark{
    height: 98px;
    width: 156px;
    position: absolute;
    top: 3px;
    right: 45px;
    background-image: url('../img/postmark.png');
  }
  div#cardback #right #righttext{
    height: 98px;
    width: 160px;
    position: absolute;
    bottom: 40px;
    right: 35px;
    font-size: 17px;
    font-family: 'Indie Flower', cursive;
    line-height: 22px;
    color: #1D1B28;
  }
  div#cardback #right #righttext a:link{
    color: #003399;
    text-decoration:none;
  }
  div#cardback #right #righttext div{
    border-bottom: 1px solid #1d1b1b;
    height: 22px;
  }
  div#cardback #postcard{
    height: 70px;
    width: 555px;
    text-align: center;
    position: absolute;
    top: 15px;
    left: 0px;
  }
  div#cardback #postcard  h2{
    margin: 0;
    padding: 0;
  }
  div#submit{
    text-align: center;
    width: 160px;
    height: 60px;
    background-color: #fdfdfd;
    cursor: pointer;
    color: #333333;
    font-size: 32px;
    line-height: 60px;
    box-shadow: 0 0 5px #111111;
    -webkit-box-shadow: 0 0 5px #111111;
    -moz-box-shadow: 0 0 5px #111111;
    border-radius: 5px;
    border: 1px solid #aaaaaa;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  div#yellow{
    height: 400px;
    width: 430px;
    position: relative;
    margin: 0 auto;
    background-image: url('../img/yellow-sticky.png');
    font-family: 'Indie Flower', cursive;
    font-size: 24px;
  }
  div#yellow div{
    padding: 40px 20px;
    text-align: center;
    font-size: 200%;
  }
  div#yellow a{
    color: #003399;
    text-decoration:none;
  }
  div#textplace{
    position: absolute;
    top: 35px;
    left: 20px;
    font-family: 'Indie Flower', cursive;
    font-size: 16px;
  }
  div#textplace #textinput{
    height: 200px;
    width: 290px;
    font-family: 'Indie Flower', cursive;
    font-size: 18px;
    line-height: 24px;
  }
  div#textplace #textinput2{
    height: 24px;
    width: 290px;
    font-family: 'Indie Flower', cursive;
    font-size: 18px;
    line-height: 24px;
    margin-top: 4px;
  }
  div#textplace #textinput3{
    height: 24px;
    width: 290px;
    font-family: 'Indie Flower', cursive;
    font-size: 18px;
    line-height: 24px;
    margin-top: 4px;
  }
  div#textplace #textinput4{
    height: 24px;
    width: 50px;
    font-family: 'Indie Flower', cursive;
    font-size: 18px;
    line-height: 24px;
    margin-top: 4px;
  }
  span#cv {
    font-size: 18px;
    line-height: 24px;
  }
  span#cv1, span#cv2 {
    font-weight: bold;
  }
}
@media (max-width: 660px) {
  #postcard, #dear, #righttext, #postmark, #stamp{
    display: none;
  }
  #textinput, #textinput2, #textinput3{
    width: 100%;
    margin: 5px 0;
    border-radius: 4px;
    border: 1px solid #aaaaaa;
    padding: 4px;
  }
  #submit{
    padding: 20px;
    margin: 5px 0;
    background: #ffffff;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #aaaaaa;
    transition: box-shadow 0.4s;
  }
  #submit:hover{
    box-shadow: 0 0 5px #cccccc;
  }
  #submit:active{
    box-shadow: inset 0 0 5px #cccccc;
  }
}

/* Responsive */
/* If Mobile */
@media (min-width: 991px) {
  .extra-top{
    margin-top: 120px;
  }
}
@media (max-width: 991px) {
  body{
    background-size: 1920px;
  }
  .header h1 {
    display: block;
  }
  .header .header-logo{
    display: none;
  }
  .content{
    margin-top: -240px;
  }
  .feedback-button{
    position: relative;
    top: 0;
    left: 0;
    margin: auto;
    transform: rotate(0);
  }
  .feedback-button-text{
    position: relative;
    top: 32px;
  }
  .footer .footer-logo{
    position: relative;
    margin: auto;
    top: 0;
    right: 0;
  }
  .facebook-button{
    position: relative;
    top: 0;
    left: 0;
    margin: auto;
    transform: rotate(0);
    margin-top: 20px;
  }
  .twitter-button{
    position: relative;
    top: 0;
    left: -0;
    margin: auto;
    transform: rotate(0);
    margin-top: 0;
  }

 .tiktok-button{
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    margin-top: 20px;
  }


.tiktok-image{
    position: relative;
    top: 20px;
    left: -40px;
    right: 0;
    margin: auto;
  }


  .title-box{
    margin-top: 50px;
  }
  .title-box h2{
    text-align: center;
  }
  .padding{
    margin: 0 30px;
  }
  .side-menu{
    margin-top: 20px;
  }
  .header .pull-right{
    float: left !important;
  }
}
@media (max-width: 721px) {
  nav li{
    margin-top: 10px;
  }
}
@media (max-width: 441px) {
  .padding{
    margin: 0 15px;
  }
}
@media (max-width: 371px) and (min-width: 305px) {
  .content{
    margin-top: -270px !important;
    padding-top: 220px !important;
  }
}
@media (max-width: 305px) {
  .content{
    margin-top: -350px !important;
    padding-top: 300px !important;
  }
}

@media (min-device-height: 880px) {
  .footer .container{
    padding-bottom: 80px !important;
  }
  .footer-logo{
    bottom: 80px !important;
  }
}
