@font-face {
    font-family: Guttman;
    src: url(fonts/Guttman\ Drogolin-Bold.ttf);
}


.container {
    /* font-family :'Times New Roman', Times, serif; */
    font-family: Guttman;
    width: 100%; 
    height: 100%; 
    display: flex;
    /* font-size: 1.1rem; */
}

.inner {
    position: fixed;
}

.black {
    color: black;
}

.red {
    color: red;
}

.image {
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0;
}

.image-adar {
    width: 171%;
    height: 165%;
    top: -41%;
    left: -37%;
    transition: all 2.5s;
}


.purim {
    transition: margin-right 12s 15s;
    z-index: 5;
}

.msg {
    text-align: center;
    align-items: center;
    z-index: 5;
    font-size: 5.3vw;
    top: 32vh;
    left: 27vw;
    width: 47vw;
    height: 43vh;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    line-height: 110%;
    /* transition: all 2.5s; */
    
}

.msg-adar {
    text-align: center;
    align-items: center;
    z-index: 30;
    top: 18vh;
    right: 12vw;
    width: 80vw;
    height: 80vh;
    line-height: 100%;
    transition: all 2.5s;
}

.chars-adar {
    position: relative;
    animation-name: simcha;
    animation-duration: 4s;
    animation-delay: 2s;
}
/* div {
    color: red;
    position: relative;
    animation-name: example;
    animation-duration: 4s;
    animation-delay: 2s;
  } */
  
  @keyframes simcha {
    0%   {color:red; left:0px; top:0px;}
    25%  {color:yellow; left:200px; top:0px;}
    50%  {color:blue; left:200px; top:200px;}
    75%  {color:green; left:0px; top:200px;}
    100% {color:red; left:0px; top:0px;}
  }


.time {
    font-size: 9.5rem;
    color: black;
    position: absolute;
    top: 6vh;
    width: 100vw;
    text-align: center;
    align-items: center;
    display: inline-flex;
    justify-content: space-around;
    flex-direction: column;
    z-index: 10;
}

.day {
    font-size: 4.5rem;
    color: rgba(155,74,9,255);
    position: absolute;
    top: 1vh;
    width: 100vw;
    text-align: center;
    align-items: center;
    display: inline-flex;
    justify-content: space-around;
    flex-direction: column;
    z-index: 10;
}

.middle-box {
    font-size: 3.4rem;
    color: rgba(155,74,9,255);
    position: absolute;
    top: 52vh;
    width: 82.3vw;
    right: 9vw;
    text-align: center;
    align-items: stretch;
    display: inline-flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}

.daf {
    /* width: 44%; */
    width: 14%;
    text-align: center;
    position: relative;
    flex-direction: column;
    justify-content: center;
    line-height: 99%;
    font-size: 4.3rem;
    margin-top: -1vh;
}

.date {
    width: 14%;
    text-align: center;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    line-height: 120%;
    font-size: 3.9rem;
    margin-top: -4vh;
}
.title {
    color: rgba(155,74,9,255);
    position: absolute;
    text-align: center;
    align-items: stretch;
    display: inline-flex;
    justify-content: space-evenly;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    font-size: 4.6rem;
}

.title-shma {
    right: 13vw;
    bottom: 9vh;

}

.title-shkiah {
    left: 14vw;
    bottom: 9vh;

}

.sfira-img {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.sfira-text-container {
    position: relative;
    top: 32vh;
    left: 0;
    z-index: 20;
    width: 100%;
    display: flex;
    justify-content: center;
}


.sfira-text {
    position: relative;
    font-size: 9vw;
    line-height: 130%;
    text-align: center;
    width: 69vw;
    z-index: 22;
    margin: 0 auto;
    margin-top: 2vh;
}

.sfira-right {
    position: absolute;
    bottom: 6vh;
    right: 18vw;
    z-index: 22;
    font-size: 4.4vw;
}

.sfira-left {
    position: absolute;
    bottom: 6vh;
    left: 17vw;
    z-index: 22;
    font-size: 4.4vw;
}

.box-shma {
    color: rgba(155,74,9,255);
    position: absolute;
    bottom: 1vh;
    right: 3%;
    width: 50%;
    text-align: center;
    align-items: stretch;
    display: inline-flex;
    justify-content: space-evenly;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    font-size: 4.6rem;
}

.size {
    position: absolute;
    top: 5vh;
    left: 1vw;
}

.shkiah {
    color: rgba(155,74,9,255);
    position: absolute;
    bottom: 1vh;
    left: 20%;
    text-align: center;
    align-items: stretch;
    display: inline-flex;
    justify-content: space-evenly;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    font-size: 4.6rem;
}

.shma2 {
    width: 44%;
    text-align: initial;
}

.shma1 {
    width: 44%;
    text-align: left;
}

.candles {
    width: 10%; 
    height: 20%; 
    top: 16vh; 
    z-index: 5;
    -webkit-filter: blur(5px); /* Safari 6.0 - 9.0 */
    filter: blur(5px);
    opacity: 0.2;
}

.candles-right {
    right: 10vw;
}

.candles-left {
    left: 10vw;
}

.up {
    z-index: 10;
}

.daf-title {
    font-size: 3rem;
}

.blue {
    color: black;
    text-shadow: 3px -3px white;
}


.hide {
    visibility: hidden; 
 }


@media screen and (max-width: 1500px) and (max-height: 600px) {
    
    .box-shma {
        font-size: 2.6rem;
    }
    
    .shkiah {
        font-size: 2.6rem;
    }

    .day {
        font-size: 3rem;
    }

    .time {
        font-size: 3rem;
        top: 10vh;
    }

    .title {
        bottom: 8vh;
        font-size: 2.6rem;
    }

    .middle-box {
        font-size: 2rem;
        top: 43vh;
        right: 10vw;

    }

    .msg {
        top: 27vh;
    }
    
    .daf {
        font-size: 2rem
    }

    .date {
        font-size: 2rem
    }

    .daf-title {
        font-size: 2rem;
    }
  }



  @media (orientation: portrait) {
    
    .box-shma {
        bottom: 10vh;
        width: 100%;
    }
    
    .shkiah {
        width: 55%;
        bottom: 2vh;
    }

    .title-shkiah {
        bottom: 5vh;
        width: 65%;
    }

    .day {
        font-size: 5rem;
    }

    .title-shma {
        right: 19vw;
        bottom: 13vh;
    }
  }

