:root {
font-size: 62.5%;
/* 1rem = 10px */
--primary: #8d5027;
--secondary: #e9d7c1;
}

* {
box-sizing: border-box;
}
img{
display: block;
max-width: 100%;
}
html {
    height: 100%;
    overflow: auto;
}

body {
margin: 0;

background-color: #f2f1ed;
font-family: Arial, Helvetica, sans-serif;
font-size: 1.6rem;
overflow-x: hidden;
color:var(--primary);
}

.bassad {
    font-size: 14px;
    text-align: right;
    direction: rtl;
    margin: 1rem;
    
}
hr{
    border:1px solid var(--primary);
    margin:2rem 0;

}
.passuk {
    width: 100%;
text-align: center;
small{
display: block;
font-size: 16px;
}
    img {
        margin: auto;
    }
}
.slogan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-size: 2rem;
}
@media screen and (max-width:480px){
    .slogan{
        margin:2rem 0 ;
    }
}
.small {
    font-size: 1.5rem;
    font-weight: 400;
}

#my_audio {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.audio_control.visible,
#content_fr.visible,
#content_he.visible,
#content_home.visible {
    display: block;
}

.audio_control {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: #ffffff;
    border: 1px solid var(--primary);
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    background-image: url(/assets/speaker-high.svg);
    background-size: 2rem 2rem;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -999999px;
    display: none;
}

.audio_control.muted {
    background-image: url(/assets/speaker-none.svg);
}

.audio_control:hover {
    background-color: var(--primary);
}

#formdetail_he,
#formdetail_fr {
    display: none;
}
#content_home ,
#content_he,
#content_fr {
    display: none;
}
.ctas {
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    z-index: 3;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.7s 1.5s linear forwards;


}
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}
.btn {
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
     font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    
    background-color: var(--secondary);
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-align: center;
    flex: 1;
    cursor: pointer;


    &:hover {
        background-color: var(--primary);
        color: #ffffff;
    }
}
@media screen and (min-width:500px){
    .btn{
        padding: 1rem 2rem;
        font-size: 1.6rem;
    }
}
.btn-primary {
    background-color: var(--primary);
    color: #ffffff;

    &:hover {
        background-color: white;
        color: var(--primary);
    }
}

.btn-submit {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;

    .loader {
        width: 30px;
        color: #ffffff;
    }
}

.btn-submit:hover .loader {
    color: var(--primary);
}

[type="submit"] {
    max-width: 200px;
    margin: auto;
}

.main-container{
   
        max-width: 1100px;
        width:100%;
        margin: auto;
        
}
.main-container.animate{
    transform: scale(0.7);
        transform-origin: top center;
        animation: zoomin 1s  linear forwards;
}
@keyframes zoomin {
    to{
        transform: scale(1);
    }
}
.middle{

    position: relative;
    background-image: url(/assets/middle.jpg);
        background-repeat: repeat-y;
        background-position: 50% 50%;
        background-size: 100%;
    .content{
        max-width: 1100px;
        width: 59%;
        margin: auto;
        padding-top: 35%;
        padding-bottom: 35%;
        z-index: 1111;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    }
}
.middle:before,
.middle:after{
    content:"";
    width:100%;
    display: block;
    min-height:100vh;
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    left: 0;
    
}
.middle:before{
    /* background-color: red; */
    background-image: url(/assets/top.jpg);
    background-position: top center;
    top:0;
    /* z-index: 1; */
}
.middle:after{
    /* background-color: green; */
    background-image: url(/assets/bottom.jpg);
    background-position: bottom center;
    bottom:0
}
.logo{
    width: 150px;
    margin:auto;
    /* animation: spinner 3ms linear infinite; */
    transform-style: preserve-3d;
}
@keyframes spinner { 
    from { 
        -moz-transform: rotateY(0deg); 
        -ms-transform: rotateY(0deg); 
        transform: rotateY(0deg); 
    } 
    to 
    { 
        -moz-transform: rotateY(-360deg); 
        -ms-transform: rotateY(-360deg); 
        transform: rotateY(-360deg); 
    
    } 
}
.logo-wrapper img{
    margin: auto;
    max-width: 300px;
    opacity: 0;
    width: 80%;
    animation: opacity 1s 1.2s linear forwards;
}
@keyframes opacity {
    to{
        opacity: 1;
    }
}
.clouds{
    z-index: 200;
    position: relative;
}
.cloud1{
    position: fixed;
    top:50%;
    left:10%;
    transform: scale(1);
    animation: slideLeft 1s linear forwards;
}
.cloud2{
    position: fixed;
    top:40%;
    right:0%;
    transform: scale(1);
    animation: slideRight 1s linear forwards;
}
.cloud3{

    position: fixed;
    top:-10%;
    left:-0%;
    transform: scale(0.6);
    animation: slideLeft_2 2s linear forwards;
}
.cloud4{
    position: fixed;
    top:0%;
    right:-20%;
    transform: scale(0.6);
    animation: slideRight_2 2s linear forwards;
}
@keyframes slideRight {
    to{
        right:-180%;
        transform: scale(3);
    }
}
@keyframes slideLeft {
    to{
        left:-180%;
        transform: scale(3);
    }
}
@keyframes slideLeft_2 {
    50%{
        top:20%;
        left:-90%;
        transform: scale(1.5);
    }
    100%{
        top:40%;
        left:-180%;
        transform: scale(3);
    }
}
@keyframes slideRight_2 {
    50%{
        top:20%;
        right:-90%;
        transform: scale(1.5);
    }
    100%{
        top:40%;
        right:-180%;
        transform: scale(3);
    }
}
.separator {
        margin: 3rem auto;
height: 50px;
    }
    .w_names_container{
        display: flex;
        justify-content: center;
        align-items: baseline;
        gap:1rem;
    }
#content_fr.visible .fr {


    .container {
        /* font-family: "Tangerine", cursive; */
        font-family: "Bona Nova", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 2rem;
        opacity: 0;
        text-align: center;
        animation: fadeInEntrance 1s 0.8s forwards;
    }

    

    .w_names {
        font-size: 3rem;
        font-family: "Mea Culpa", cursive;
        font-weight: 600;
        font-style: normal;
        margin: 2rem 0;
        white-space: nowrap;
    }
    

    .big {
        font-size: 4rem;
    }

    

}

.Gparents {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.6rem;

    margin-bottom: 2rem;

}
@media screen and (min-width:480px) {
    .Gparents {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    >* {
        flex: 0 0 45%;
        width: 45%;
    }
}
}
.parents,
.parentsTel {
    font-size: 2rem;
    margin: 3rem 0 2rem 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;

    >* {
        flex: 0 0 45%;
        width: 45%;
    }
}

.parentsTel {
    font-size: 1.6rem;
}

form {
    position: relative;
}
.nm{
    margin:0;
}
#content_he.visible .he {
    font-family: "Bona Nova", serif;
    font-weight: 400;
    font-style: normal;
    direction: rtl;
    text-align: center;

    .bona{
        font-family: "Bona Nova", serif;
    }

    .container {

        font-size: 1.9rem;
        opacity: 0;
        animation: fadeInEntrance 1s 0.8s forwards;
        margin: 3rem auto 6rem auto;
    }


    .w_names {

        font-size: 3rem;
        font-weight: 700;
        font-style: normal;
        margin: 2rem 0;
        g{
            white-space: nowrap;
        }
    }

    .date span{
        font-weight: 700;
    }
    @media screen and (min-width:480px){
        .container {
            font-size: 2.2rem;
        }
        .big {
        font-size: 5rem;
        }
    }

    .parents {
        
        
        margin: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@keyframes fadeInEntrance {
    to {
        opacity: 1;
    }
}

form {
    /* font-family: Arial, Helvetica, sans-serif; */
    font-size: 1.6rem;
    /* margin-top: 5rem; */
    text-align: initial;
}

form {

    #nbr_fr,
    #nbr_he {
        opacity: 0;
        visibility: hidden;
    }

    p {
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column;
       
    }

    g {
        display: flex;
        width: 100%;
        max-width: 300px;
        gap: 0.5rem;


    }



    select {
        text-decoration: none;
        padding: 1rem 2rem;
        border-radius: 5px;
        max-width: 300px;
        background-color: #fff;
        width: 100%;
        font-size: 1rem;
        border: 1px solid var(--primary);
        color: var(--primary);
        text-align: initial;
    }

    textarea {
        text-decoration: none;
        padding: 1rem 2rem;
        border-radius: 5px;
        max-width: 300px;

        font-size: 1rem;
        border: 1px solid var(--primary);
        color: var(--primary);
        text-align: initial;
    }

    [type="text"] {
        max-width: 300px;
        width: 100%;
        text-decoration: none;
        padding: 1rem 2rem;
        border-radius: 5px;
        /* font-weight: bold; */
        font-size: 1.6rem;
        border: 1px solid var(--primary);
        color: var(--primary);
        text-align: center;
        font-size: 1rem;

    }

    [type="radio"]:checked+label {
        background-color: var(--primary);
        color: #fff;
        border: 1px solid var(--primary);
    }


    [type="radio"] {
        opacity: 0;
        visibility: hidden;
        width: 0;
    }
    @media screen and (min-width:600px){
    p {
        margin-bottom: 1rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    select ,
    [type="text"]{
        width: 50%;
    }
}
}
.waze_container{text-align: center;}
.waze_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0 auto;
    padding: 0rem 2rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.6rem;
    border: 1px solid var(--primary);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--primary);
    transition: all 0.3s ease;
}

.waze_button:hover {
    background-color: var(--primary);
    color: #ffffff;
}

.waze_icon {
    width: 3rem;
    height: 3rem;

}

.loader_wrapper {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff8f;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.loader_wrapper.visible {
    display: flex;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 100px;
    aspect-ratio: 1;
    color: var(--primary);
    background:
        radial-gradient(circle at 60% 65%, currentColor 62%, #0000 65%) top left,
        radial-gradient(circle at 40% 65%, currentColor 62%, #0000 65%) top right,
        linear-gradient(to bottom left, currentColor 42%, #0000 43%) bottom left,
        linear-gradient(to bottom right, currentColor 42%, #0000 43%) bottom right;
    background-size: 50% 50%;
    background-repeat: no-repeat;
    position: relative;
}

.loader:after {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.4;
    animation: l3 1s infinite;
}

@keyframes l3 {
    to {
        transform: scale(1.8);
        opacity: 0
    }
}

.past {
    text-align: center;
    font-size: 1.2rem;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    margin: 3rem 0;
}

.left {
    text-align: initial;
}

[type="text"] {
    text-align: initial !Important;
}

.date {
    margin-bottom: 2rem;
}
.date g{
        font-weight: 700;
    }
.place {
    margin: 3rem 0;
}

.calendar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;

    a {
        text-decoration: none;
        color: var(--primary);
        font-size: 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        font-family: Arial, Helvetica, sans-serif;
    }

    img {
        width: 3rem;
        height: 3rem;
        vertical-align: middle;
        margin-right: 0.5rem;
    }
}

@media screen and (min-width:37.5em) {
    .w_names_container{
        gap:4rem;
    
    }
    select {

        width: 100%;

    }

    .small {
        font-size: 1.6rem;

    }

    #content_fr.visible .fr {
        .parents {
            font-size: 2rem;
        }

        & .big {
            font-size: 6rem;
        }
    }
}
.hetext {
    font-family: "Bona Nova", serif;
    /* font-family: "Assistant", sans-serif; */
    font-weight: 400;
    font-style: normal;
    direction: rtl;
    font-size: 1.7rem;
}

.ty_txt {
    font-size: 2rem;
    margin: 4rem 0;

    p {
        margin-bottom: 1rem;
    }
}