@font-face {
    font-family: MyriadPro;
    src: url(fonts/MyriadPro-Regular.otf)
}
@font-face {
    font-family: CopperBlack;
    src: url(fonts/CooperBlackStd.otf)
}
@font-face {
    font-family: Bauhs93;
    src: url(fonts/BAUHS93.TTF)
}

/* animations */

@keyframes main {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

@keyframes edge {
  0%, 50% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

@keyframes back {
  0%, 75% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

html {
    background-image: url(assets/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
body {
    margin: 0;padding: 0;position: absolute;top: 0;left: 0;width: 100%;height: 100%;
    min-width: 320px;
    min-height: 568px;
}

#header {
    width: 320px;
}
#HKLlogo {
    background-image: url(assets/logo.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 29px;
    margin: 25px 0px;
}

#siteConstructionWrapper {
    display: flex;
    flex-grow: 1;
    height: 100%;
    font-family: MyriadPro;
}

#leftContent {
    background-image: url(assets/prabhupada.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    flex-grow: 0;
    width: 33%;
    min-width: 480px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    justify-content: center;
}

#etaCountDownContainer {
    display: flex;
    text-align: center;
    position: absolute;
    right: 0;
    width: 45%;
    padding: 10px 30px;
    max-width: 320px;
    /*Temp removal*/
    display: none;
}
.countdownContainer {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.timebookContainer {
    display: flex;
    justify-content: center;
}

.timeWrap {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-basis: 25%;
}

.timeLabel {
    
}

.timeValue {
    position: relative;
    font-family: Bauhs93;
    margin: 10px;
}

#daysWrap.timeValue {background-image: url(assets/counterCircles_Day.svg); background-size: cover; background-position: center;}
#hoursWrap.timeValue {background-image: url(assets/counterCircles_Hour.svg); background-size: cover; background-position: center;}
#minutesWrap.timeValue {background-image: url(assets/counterCircles_Min.svg); background-size: cover; background-position: center;}
#secondsWrap.timeValue {background-image: url(assets/counterCircles_Sec.svg); background-size: cover; background-position: center;}

.timeValue:before {
  content: "";
  display: block;
  padding-bottom: 100%;
  position: relative;
}
.timeValue span {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    -webkit-text-stroke: 1px white;
}

.progressBar {
    height: 20px;
    overflow: hidden;
    background: grey;
    border-radius: 20px;
}

.progressStatus {
    height: 100%;
    background: rgb(234,83,58);
}
.progressLabel {
    position: relative;
    top: -100%;
    line-height: 22px;
    font-weight: bold;
}
form#notifyMeForm {
    display: flex;
}
#notifyMeIconBtn {
    content: "";
    background-image: url(assets/send_Notify_Me_Icon.svg);
    background-size: cover;
    background-position: center;
    width: 18px;
    height: 20px;
    transform: translate(calc(-100% - 5px), 6px);
    cursor: pointer;
}

div#notifyContainer {
    min-width: 320px;
    width: 45%;
    max-width: 480px;
}

div#contactUsBtn {
    background: rgb(223,172,117);
    padding: 8px 15px 5px;
    margin: 20px 0px 0px;
    cursor: pointer;
}

div#mailFormContainer {
}
#formContainer {
    min-width: 320px;
    max-width: 500px;
    width: 43%;
    position: absolute;
    bottom: 0px;
    border: 1px solid rgb(200,200,200);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-size: 13px;
}
div#minimiseWindow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
div#formHeader {
    background: rgb(70,70,70);
    color: white;
    display: flex;
    height: 30px;
    align-items: center;
}

div#formTitle {margin-left: 15px;flex-grow: 2;}

form#contactForm {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.formInputWrapper {display: flex;height: 30px;box-sizing: border-box;}

div#emailWrapper {}

textarea#message {
    flex-grow: 2;
    border: none;
    resize: none;
    box-sizing: border-box;
    padding: 10px;
    margin: 0;
    height: 200px;
}
div#actionButtonsContainer {
    margin-right: 5px;
}
div#formWrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.formLabel {align-items: center;display: flex;padding: 0px 10px 0px 15px;border-bottom: 1px solid grey;font-size: 11px;color: grey;background: white;}

.formInput:focus {
    outline: none;
}

.formInput {
    border: 0;
    border-bottom: 1px solid grey;
    flex-grow: 1;
}

.notifyMeInput {
    background: rgba(0,0,0,0);
    padding: 0px 0px 0px 10px;
    border: 5px solid rgb(223,172,117);
    font-style: italic;
}

div#bottomFormContainer {
    display: flex;
    height: 30px;
    border-top: 1px solid grey;
    background: rgb(230,230,230);
}

input.contactSendBtn {
    background: rgb(223,172,117);
    border: none;
    margin: 5px;
    font-size: 11px;
    color: white;
    padding: 0px 15px;
    cursor: pointer;
}

input.contactUsBtn, input.notifyMeBtn {
    background: rgb(223,172,117);
    border: none;
    font-size: 15px;
    color: black;
    padding: 8px 20px 5px;
    cursor: pointer;
    font-family: CopperBlack;
}

.close {
    width: 20px;
    height: 20px;
    position: relative;
    cursor: pointer;
}
.close:hover::before, .close:hover::after {
  background: cornflowerblue;
}
.close::before, .close::after {
  content: '';
  position: absolute;
  height: 1px;
  width: 100%;
  top: 50%;
  left: 0;
  margin-top: -1px;
  background: white;
}
.close::before {
  transform: rotate(45deg);
}
.close::after {
  transform: rotate(-45deg);
}

.hide {
    display: none!important;
}

#mailFormContainer.hide {
    
}
.hareKrsnaInfoWrapper {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.infoContainer {
    background: rgba(0,0,0,0.4);
    border-radius: 10px 10px 0px 0px;
    min-width: 320px;
    flex-shrink: 0;
    padding: 0px 15px 15px;
    box-sizing: border-box;
    color: white;
    flex-basis: 30%;
}

.infoContainer p:first-child {
    font-weight: bold;
}

.infoWrapper {
    display: flex;
    justify-content: space-around;
    flex-grow: 1;
    flex-flow: row wrap;
}
.mantraBanner {
    background: rgba(0,0,0,0.6);
    text-align: center;
    color: white;
}
.etaBlurbContainer {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    font-family: CopperBlack;
    overflow: hidden;
}

.etaBlurbContainer .etaTitle {
    /*background-image: url(assets/banner.svg);*/
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.etaTitle h1 {
    padding: 11px 25px 0px;
}


@media screen and (max-height: 620px) {
    .progressTimeContainer {
        display: none;
    }
}

@media screen and (max-width: 740px) {
    #etaCountDownContainer {
        display: none;
    }
}

@media screen and (max-width: 610px) {
    .mantraBanner {
        font-size: 10px;
    }
}


@media screen and (max-width: 960px) {
    .etaBlurbContainer {
        
    }
    .hareKrsnaInfoWrapper {
        height: 50%;
    }
    .infoWrapper{
        overflow: scroll;
    }
    .infoContainer {
        flex-basis: 100%;
        border-radius: 0px;
        margin: 5px 0px;
    }
}

@media screen and (max-width: 480px) {
    body {
        min-width: 320px;
        width: 100%;
    }
    
    .etaBlurbContainer {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    #leftContent {
        width: 100%;
        min-width: initial;
    }
    
    
    .infoContainer {
        /* flex-basis: 320px; */
        border-radius: 0px;
        margin: 5px 0px;
    }    
}


.ribbon {
  min-width: 400px;
  /* height: 60px; */
  margin: 100px auto 0px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  background: rgb(223, 172, 117);
  animation: main 250ms;
}

.ribbon i {
  position: absolute;
}

.ribbon i:nth-child(2), .ribbon i:nth-child(3) {
  position: absolute;
  left: -20px;
  bottom: -20px;
  z-index: -1;
  border: 20px solid transparent;
  border-right-color:  rgb(124,74,33);
  
  animation: edge 500ms;
}

.ribbon i:nth-child(3) {
  left: auto;
  right: -20px;
  border-right-color: transparent;
  border-left-color:  rgb(124,74,33);
}

.ribbon i:nth-child(4), .ribbon i:last-child {
  width: 20px;
  bottom: -20px;
  left: -60px;
  z-index: -2;
  border: 30px solid  rgb(188, 146, 104);
  border-left-color: transparent;
  
  animation: back 600ms;
  
  transform-origin: 100% 0;
}

.ribbon i:last-child {
  bottom: -20px;
  left: auto;
  right: -60px;
  border: 30px solid  rgb(188, 146, 104);
  border-right-color: transparent;

  transform-origin: 0 0;
}

div#contactUsBtn.sentSuccess {
    background-color: rgb(43,172,36);
    cursor: default;
}

div#formContainer.sendingMessage #formHeader {
    background-color: orange;
}
div#formContainer.sentSuccess #formHeader {
    background-color: rgb(43,172,36);
}

div#emailErrorHandler {
    display: flex;
}

div#ErrorMsg {
    background: rgb(236,84,57);
    border: none;
    font-size: 15px;
    color: black;
    padding: 8px 20px 5px;
    width: 51px;
    height: 18px;
}

div#ErrorBlurb {
    background: rgb(236,84,57);
    padding: 8px 20px 5px;
}