@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200;300;400;500;600;700;800&family=Montserrat:ital,wght@0,100;1,100&display=swap');

@font-face {
    font-family: "almoni";

    src: url('../fonts/woff2/almoni-tzar-medium-aaa.woff2') format('woff2'), /* Modern Browsers */
         url('../fonts/woff/almoni-tzar-medium-aaa.woff') format('woff'), 
         url('../fonts/ttf/AnyConv.com__almoni-tzar-medium-aaa.ttf') format('truetype'); /* Fallback */
         

    font-weight: normal;
}
@font-face {
    font-family: "almoni";

    src: url('../fonts/woff2/almoni-tzar-demibold-aaa.woff2') format('woff2'), /* Modern Browsers */
         url('../fonts/woff/almoni-tzar-demibold-aaa.woff') format('woff'), /* Older Browsers */
         url('../fonts/ttf/AnyConv.com__almoni-tzar-demibold-aaa.ttf') format('truetype'); /* Fallback */

    font-weight: 600;
}
@font-face {
    font-family: "almoni";

    src: url('../fonts/woff2/almoni-tzar-bold-aaa.woff2') format('woff2'), /* Modern Browsers */
         url('../fonts/woff/almoni-tzar-bold-aaa.woff') format('woff'), /* Older Browsers */
         url('../fonts/ttf/AnyConv.com__almoni-tzar-bold-aaa.ttf') format('truetype'); /* Fallback */

    font-weight: 700;
}

*{
    font-family: almoni;
    font-weight: normal;
    box-sizing: border-box;
    scroll-behavior: smooth;
    letter-spacing: 0;
}

:root {
    --orange: #E8A534;
    --blue: #379387;
    --orangeGradient: linear-gradient(270deg, #E89E22 0%, #E8AA42 98.39%);
    --black: #1B2430;
}

body{
    margin: 0;
    padding: 0; 
    background-color: white;
}

h1{
    padding: 0;
    margin: 0;
    font-weight: 600;
    font-size: 50px;
    color: var(--black);
    line-height: 3vw;
}

a{
    text-decoration: none;
    cursor: pointer;
}

section{
    margin: 0;
    padding: 0; 
}

div{
    margin: 0;
    padding: 0; 
}
/* הגדרות אתר */

header{
    width: 100%;
    height: 150px;
    background-image: url("../images/cover.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.logo{
    margin: auto;
    margin-bottom: 20px;
    margin-top: -15px;
    width: 300;
    height: auto;
}

.logo img{
    width: 100%;
    height: auto;
}

header .title{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #379387;
    color: white;
    font-size: 60px;
    padding: 0px 80px;
    line-height: 70px;
}

.title{
    text-align: center;
    font-weight: 700;
    color: var(--black);
    font-size: 40px;
    margin: 20px 0;
}

.title br{
    display: none;
}

.sfira{
    width: 100%;
    background-image: url("../images/bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 80px;
    gap: 20px;
    margin-bottom: 50px;
}

.sfira-admin{
    width: 100%;
    height: 100vh;

    position: fixed;
}

.sfira .box{
    border: 2px solid var(--orange);
    text-align: center;
    line-height: 30px;
    padding: 20px 0px;
    width: 60%; 
}

.sfira .box .text{
   font-size: 28px;
   padding: 10px 40px;
}

.sfira .box .textData{
    font-size: 28px;
    font-weight: 700;
    color: white;
    background-color: var(--orange);
    width: 100%;
    padding: 10px 40px;
}

.sfira .userForm{
    text-align: center;
    line-height: 30px;
    padding: 20px 0px;
    width: 40%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: column;
}

.sfira .userForm input[type="text"], .sfira .userForm input[type="tel"]{
    background-color: transparent;
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    border-bottom: 2px solid var(--black);
    width: 60%;
    margin-bottom: 10px;
    color: #1B2430;
    font-size: 25px;
    transition: .2s;
}

.sfira .userForm input[type="text"]:focus, .sfira .userForm input[type="tel"]:focus {
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;

    border-bottom: 2px solid var(--blue);
    transition: .2s;
}

.wrapper{
    display: inline-flex;
    height: 100px;
    width: 60%;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    padding: 20px 0px;
}
.wrapper .option{
    height: 90%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 0 10px;
    cursor: pointer;
    padding: 0 10px;
    border: 2px solid lightgrey;
    transition: all 0.3s ease;
}
.wrapper .option .dot{
    height: 20px;
    width: 20px;
    background: #d9d9d9;
    border-radius: 50%;
    position: relative;
}
.wrapper .option .dot::before{
    position: absolute;
    content: "";
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    background: var(--black);
    border-radius: 50%;
    opacity: 0;
    transform: scale(1.5);
    transition: all 0.3s ease;
}
input[type="radio"]{
    display: none;  
}
#option-1:checked:checked ~ .option-1,
#option-2:checked:checked ~ .option-2{
    border-color: var(--black);
    background: var(--black);
}
#option-1:checked:checked ~ .option-1 .dot,
#option-2:checked:checked ~ .option-2 .dot{
    background: #fff;
}
#option-1:checked:checked ~ .option-1 .dot::before,
#option-2:checked:checked ~ .option-2 .dot::before{
    opacity: 1;
    transform: scale(1);
}
.wrapper .option span{
    font-size: 20px;
    color: #808080;
    font-size: 25px;
}
#option-1:checked:checked ~ .option-1 span,
#option-2:checked:checked ~ .option-2 span{
    color: #fff;
}
  
.sfira .userForm button[type="submit"]{
    background-color: transparent;
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    width: 60%;
    margin-bottom: 10px;
    font-size: 25px;
    transition: .2s;
    cursor: pointer;
    background-color: var(--blue);
    color: white;
    padding: 10px 30px;
    margin-top: 30px;

    display: flex;
    justify-content: space-between;
    align-content: center;
    position: relative;
    transition: .3s;
}

.sfira .userForm button[type="submit"] i{
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translate(0%, -50%);
}

.sfira .userForm button[type="submit"]:hover{
    background-color: #1B2430;
    transition: .3s;
}

.sfira .userForm input[type="submit"]:focus{
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;

    border-bottom: 2px solid var(--blue);
    transition: .2s;
}

.alert{
    font-weight: bold;
    position: fixed;
    top: 20;
    right: 20px;
    float: right;
    color: white;
    padding: 10px 20px;
    transition: all 0.5s ease-in-out;
    border-radius: 5px;
    transform: translateY(-100px);
    transition: all 0.5s ease-in-out;
    z-index: 99999999999999;
    font-size: 25px;
}

.alert-err{
    background-color: #e45c5c;
}

.alert-sec{
    background-color: #5ce47e;
}

.adminData{
    width: 100%;
    padding: 30px;
    margin-bottom: 50px;
}

.adminData .boxs{
    width: 70%;
    font-size: 25px;
    background-color: var(--blue);
    color: white;
    padding: 10px 30px;
    text-align: center;
    position: relative;
    margin: auto;
    margin-bottom: 20px;
}

.adminData .boxsS{
    background-color: var(--orange);
    color: var(--black);
}

.adminData .boxsSThis{
    background-color: var(--blue);
    color: white;
}

.adminData .boxs .numIndex{
    position: absolute;
    top: 50%;
    right: 10;
    transform: translate(0, -50%);
    color: #1B2430;
}

.counterData{
    width: 100%;
    text-align: center;
    padding: 5px 0px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 9999999999999999;
    font-size: 30px;
    background-color: var(--orange);
    border-radius: 20px 20px 0px 0px;
}

.logout a{
    position: absolute;
    left: 0;
    top: 0;
    font-size: 25px;
    font-weight: 700;
    z-index: 9999999;

    text-decoration: none;
    color: var(--black);
    background-color: white;padding: 0px 15px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.serach a{
    position: absolute;
    right: 0;
    top: 0;
    font-size: 25px;
    font-weight: 700;
    z-index: 9999999;

    text-decoration: none;
    color: var(--black);
    background-color: white;padding: 0px 15px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

@media all and (max-width: 900px) {
    header .title {
        font-size: 40px;
        padding: 0px 0px;
        line-height: 70px;
        width: 85%;
    }

    .title {
        font-size: 35px;
        margin: 20px 0;
        padding: 0px 20px;
        line-height: 35px;
    }

    .sfira {
        flex-wrap: wrap;
        padding: 60px 30px;
        gap: 20px;
        margin-bottom: 0;
    }

    .sfira .box {
        text-align: center;
        line-height: 30px;
        padding: 15px 0px;
        width: 100%;
    }

    .sfira .box .text {
        font-size: 25px;
        padding: 15px 10px;
    }

    .sfira .box .textData {
        font-size: 28px;
        padding: 15px 10px;
        font-weight: 600;
    }

    .sfira .userForm {
        line-height: 30px;
        padding: 10px 0px;
        width: 100%;
        gap: 20px;
    }

    .sfira .userForm input[type="text"], .sfira .userForm input[type="tel"] {
        width: 95%;
    }

    .wrapper {
        width: 100%;
        padding: 20px 0px;
    }

    .sfira .userForm button[type="submit"] {
        width: 95%;
        margin-bottom: 0;
        padding: 10px 30px;
        margin-top: 15px;
    }

    .title br{
        display: block;
    }

    .adminData .boxs{
        width: 95%;
    }

    .logout a{
        position: absolute;
        left: 0;
        top: 0;
        font-size: 20px;
        font-weight: 700;
        z-index: 9999999;
    
        text-decoration: none;
        color: var(--black);
        background-color: white;padding: 0px 15px;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    }
    
    .serach a{
        font-size: 20px;
    }
}