*{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}
html{
    overflow-x: hidden;
}
body{
    background-color: #1d1c1b;
    overflow-x: hidden;
    min-height: 100vh;
}
h1, h2, h3, p, a{
    font-family: 'Noto Kufi Arabic', sans-serif;
}

header{
    min-height: 50vh;
    /* background:linear-gradient(rgba(0,0,0,0.2), #303030),url(/assets/img/Raid/Raid2Back.jpg); */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top;
    background-size: cover;
}

#editTime{
    margin: 10px;
}

.ChooseNewItem{
    width: 80%;
    display: flex;
    flex-direction: column;
    margin: auto;
}
.ChooseText{
    width: 20%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: black;
    background-color: white;
    cursor: pointer;
    user-select: none;
}
.ChooseText p{
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 30px;
    font-weight: 900;
}
.SelectNewItem{
    display: flex;
    flex-direction: column;
    display: none;
}
.OptionsText{
    display: flex;
    justify-content: space-between;
    width: 20%;
    color: white;
    margin: 20px 5px;
    font-size: 20px;
    border-bottom: 1px solid;
    cursor: pointer;
    user-select: none;
}
.optionSection{
    display: none;
}
.Options{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 10%;
    margin: 5px;
    position: relative;
    user-select: none;
    cursor: pointer;
}
.Options img{
    width: 100%;
    border-radius: 2px;
    pointer-events: none;
}
.Options p{
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-align: center;
    transition: all 500ms;
    position: absolute;
    text-shadow: -1px -1px 0 #21241c, 1px 1px 0 #21241c, -1px 1px 0 #21241c, 1px -1px 0 #21241c;
}

.chooseItem{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px 200px;
}
.itemRaid{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 15%;
    margin: 20px;
    position: relative;
    user-select: none;
    cursor: pointer;
    display: none;
}
.itemRaid:hover{
    filter: grayscale(80%);
    transform: scale(1.1);
}
.itemRaid span{
    position: absolute;
    top: 0;
    left: 10px;
    color: white;
    font-weight: bold;
    z-index: 10;
}
.itemRaid input{
    width: 40px;
    background-color: #1d1c1b;
    position: absolute;
    top: 2px;
    right: 10px;
    color: white;
    font-weight: bold;
    z-index: 10;
    text-align: center;
    outline: 0;
    border: 0;
}
.HP{
    position: absolute;
    bottom: 0;
    color: white;
    font-weight: bold;
    z-index: 10;
    text-shadow: -1px -1px 0 #7a0400, 1px 1px 0 #7a0400, -1px 1px 0 #7a0400, 1px -1px 0 #7a0400;
    direction: ltr;
}
.itemRaid img{
    width: 100%;
    border-radius: 10px;
    pointer-events: none;
}
.itemRaid p{
    font-size: 20px;
    font-weight: bold;
    color: white;
    transition: all 500ms;
    position: absolute;
    opacity: 0;
}
.itemRaid:hover p{
    opacity: 1;
    text-shadow: -1px -1px 0 #21241c, 1px 1px 0 #21241c, -1px 1px 0 #21241c, 1px -1px 0 #21241c;
}

.hr{
    width: 80%;
    margin: 20px auto;
    border-top: 1px solid white;
}

.selectRaid{
    width: 50%;
    margin: auto;
    display: flex;
    justify-content: right;
    flex-direction: column;
    display: none;
}
.raidWithOptions{
    display: flex;
    align-items: center;
}
.textRaidWith{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #cecece;
}
.textRaidWith p{
    color: white;
    font-size: 30px;
    font-weight: bold;
}
.raidWithBestOptions{
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.raidWithBest, .raidWithOutTable3, .raidWithEco, .HardSide, .SoftSide{
    font-size: 20px;
    width: 200px;
    text-align: center;
    color: white;
    border: 1px solid;
    margin: 10px;
    user-select: none;
    cursor: pointer;
    display: none;
}
.raidWithAdd{
    width: 70px;
    height: 70px;
    margin: 10px;
    font-size: 30px;
    font-weight: bold;
    color: white;
    border: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 100ms ease-in-out;
}
.raidWithAdd:hover{
    border: 2px solid #2C81A3;
    background-color: #2C81A3;
}
.raidWithAdd img{
    width: 100%;
    user-select: none;
    pointer-events: none;
}
.selectItems{
    background-color: #252727;
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
    display: none;
}
.raidWith{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    user-select: none;
    cursor: pointer;
    transition: all 200ms;
}
.raidWith:hover{
    background-color: #2C81A3;
    border: 1px solid white;
}
.raidWith:hover{
    transform: scale(1.1);
}
.raidWith img{
    width: 50%;
    border-radius: 10px;
    pointer-events: none;
}
.ecoSide{
    display: none;
}
.itemContent .ecoRaid{
    display: flex;
    align-items: center;
}
.itemContent span{
    color: white;
    font-size: 1.2rem;
}


.raidItem{
    width: 50%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.raidTotal{
    width: 50%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: none;
}
.items{
    width: 100%;
    margin: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid gray;
    transition: all 500ms ease-in-out;
}
.items:hover{
    background-color: gray;
    transform: scale(1.01);
}
.item{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}
.close{
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: all 500ms ease-in-out;
}
.close:hover{
    transform: rotateZ(180deg);
}
.items p{
    margin: 0 20px;
    font-size: 30px;
    color: white;
    user-select: none;
    pointer-events: none;
}
.itemImg{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}
.spanImage{
    position: absolute;
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    left: 0;
    right: 0;
    bottom: 0;
}
.spanLogo{
    position: absolute;
    color: white;
    font-size: 18px;
    left: 0;
    right: 0;
    bottom: 0;
}
.spanSulfur{
    color: white;
    font-size: 18px;
    position: relative;
    top: 20px;
    left: 0;
    right: 0;
    bottom: 0;
}
.itemImg img{
    width: 60px;
    user-select: none;
    pointer-events: none;
}

.total{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 10px auto;
}
.total h2{
    color: white;
}
.totalItems{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid white;
    margin: 10px auto;
}
.totalItem{
    margin: 10px auto;
    position: relative;
}
.totalItem span{
    color: white;
    position: absolute;
    font-size: 18px;
    bottom: 0px;
}
.totalItem img{
    width: 80px;
}


.raidSmart{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    display: none;
}
.raidSmart h2{
    color: white;
}
#smartImage{
    width: 30%;
    pointer-events: none;
    border-radius: 2px;
}
.spanImageSmart{
    position: absolute;
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    left: 0;
    right: 0;
    bottom: 0;
}

@media only screen and (max-width: 1100px) {
    #smartImage{
        width: 50%;
    }
}
@media only screen and (max-width: 700px) {
    #smartImage{
        width: 80%;
    }
}
@media only screen and (max-width: 400px) {
    #smartImage{
        width: 90%;
    }
}


@media only screen and (max-width: 1700px) {
    .ChooseNewItem{
        width: 80%;
    }
    
    .chooseItem{
        width: 100%;
        margin: 20px 150px;
    }
    .itemRaid{
        width: 15%;
        margin: 20px;
    }
    
    .selectRaid{
        width: 80%;
    }
    
    .raidItem{
        width: 60%;
        margin: 0 170px;
    }
}


@media only screen and (max-width: 1500px) {
    .ChooseNewItem{
        width: 90%;
    }
    
    .chooseItem{
        width: 100%;
        margin: 20px 50px;
    }
    
    .selectRaid{
        width: 90%;
    }
    .selectItems{
        flex-wrap: nowrap;
    }
    
    .raidItem{
        width: 70%;
        margin: 0 80px;
    }

    .selectItems{
        width: 85%;
        height: 10%;
    }
    .raidWith{
        width: 80px;
        height: 80px;
    }
    .raidWith img{
        width: 70%;
    }
}



@media only screen and (max-width: 1300px) {
    .ChooseNewItem{
        width: 90%;
    }
    .ChooseText{
        width: 35%;
        gap: 10px;
        font-size: 20px;
    }
    .ChooseText p{
        width: 30px;
        height: 30px;
        font-size: 30px;
        font-weight: 900;
    }
    .OptionsText{
        width: 20%;
        margin: 20px 5px;
        font-size: 20px;
    }
    .Options{
        width: 15%;
        margin: 5px;
    }
    .Options p{
        font-size: 15px;
    }
    
    .chooseItem{
        width: 100%;
        margin: 20px 50px;
    }
    .itemRaid{
        width: 20%;
        margin: 20px;
    }
}


@media only screen and (max-width: 1000px) {
    .ChooseNewItem{
        width: 90%;
    }
    .ChooseText{
        width: 45%;
        gap: 10px;
        font-size: 20px;
    }
    .ChooseText p{
        width: 30px;
        height: 30px;
        font-size: 30px;
        font-weight: 900;
    }
    .OptionsText{
        width: 40%;
        margin: 20px 5px;
        font-size: 20px;
    }
    .optionSection{
        display: none;
        flex-wrap: wrap;
    }
    .Options{
        width: 20%;
        margin: 5px;
    }
    .Options p{
        font-size: 20px;
    }
    
    .chooseItem{
        width: 100%;
        margin: 20px;
    }
    .itemRaid{
        width: 20%;
        margin: 10px;
    }
    
    .hr{
        width: 90%;
    }
    
    .selectRaid{
        width: 95%;
    }
    
    .raidItem{
        width: 80%;
        margin: 0 28px;
    }
    .raidTotal{
        width: 80%;
    }

    .ecoSide{
        flex-direction: column;
    }
}



@media only screen and (max-width: 800px) {
    .ChooseNewItem{
        width: 90%;
    }
    .ChooseText{
        width: 65%;
        gap: 10px;
        font-size: 20px;
    }
    .ChooseText p{
        width: 30px;
        height: 30px;
        font-size: 30px;
        font-weight: 900;
    }
    .OptionsText{
        width: 60%;
        margin: 20px 5px;
        font-size: 25px;
    }
    .Options{
        width: 25%;
        margin: 5px;
    }
    .Options p{
        font-size: 20px;
    }
    
    .chooseItem{
        width: 100%;
        margin: 20px auto;
    }
    .itemRaid{
        width: 30%;
        margin: 10px auto;
    }
    
    .selectRaid{
        width: 95%;
    }
    .textRaidWith{
        gap: 10px;
        font-size: 20px;
    }
    .textRaidWith p{
        font-size: 30px;
    }
    .selectItems{
        width: 90%;
        height: 10%;
        padding: 5px;
        gap: 15px;
        flex-wrap: wrap;
    }
    .raidWith{
        width: 80px;
        height: 80px;
    }
    .raidWith img{
        width: 80%;
    }

    
    .raidItem{
        width: 80%;
        margin: 0 20px;
    }
    .raidTotal{
        width: 80%;
    }
}

@media only screen and (max-width: 600px) {
    .ChooseNewItem{
        width: 95%;
    }
    .ChooseText{
        width: 80%;
        gap: 10px;
        font-size: 20px;
    }
    .ChooseText p{
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    .OptionsText{
        width: 80%;
        font-size: 25px;
    }
    .Options{
        width: 30%;
        margin: 5px;
    }
    .Options p{
        font-size: 18px;
    }
    
    .chooseItem{
        margin: 20px auto;
    }
    .itemRaid{
        width: 40%;
        margin: 10px auto;
    }
    .itemRaid span{
        left: 10px;
    }
    .itemRaid p{
        font-size: 20px;
    }
    
    .hr{
        width: 95%;
        margin: 20px auto;
    }
    
    .selectRaid{
        width: 95%;
    }
    .textRaidWith{
        gap: 10px;
        font-size: 20px;
    }
    .textRaidWith p{
        font-size: 30px;
    }
    .raidWithAdd{
        width: 70px;
        height: 70px;
        margin: 10px;
        font-size: 30px;
    }
    .selectItems{
        width: 95%;
        height: 20%;
        padding: 5px;
        gap: 15px;
        flex-wrap: wrap;
    }
    .raidWith{
        width: 80px;
        height: 80px;
    }
    .raidWith img{
        width: 70%;
    }

    
    .raidItem{
        width: 90%;
        margin: 0 auto;
    }
    .raidTotal{
        width: 95%;
    }
    .close{
        font-size: 30px;
    }
    .items p{
        margin: 0 20px;
        font-size: 30px;
    }
    .spanImage{
        font-size: 18px;
    }
    .spanLogo{
        font-size: 18px;
    }
    .spanSulfur{
        font-size: 18px;
        position: absolute;
        top: 30px;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .itemImg img{
        width: 50px;
    }
    
    .total{
        width: 100%;
    }
    .totalItem{
        margin: 10px 20px;
    }
    .totalItem img{
        width: 80px;
    }

    .totalItems{
        grid-template-columns: repeat(2, 1fr);
    }
    .totalItem{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .totalItem span{
        bottom: -20px;
    }
}


@media only screen and (max-width: 400px) {
    .ChooseNewItem{
        width: 95%;
    }
    .ChooseText{
        width: 90%;
        margin: 10px auto;
        gap: 10px;
    }
    .ChooseText p{
        width: 40px;
        height: 40px;
        font-size: 35px;
    }
    .OptionsText{
        width: 90%;
        font-size: 25px;
    }
    .Options{
        width: 40%;
        margin: 5px;
    }
    .Options p{
        font-size: 18px;
    }
    
    .chooseItem{
        margin: 20px auto;
    }
    .itemRaid{
        width: 90%;
        margin: 10px auto;
    }
    .itemRaid span{
        left: 10px;
        font-size: 20px;
    }
    .itemRaid p{
        font-size: 20px;
    }
    
    .textRaidWith{
        gap: 10px;
        font-size: 20px;
    }
    .textRaidWith p{
        font-size: 35px;
    }
    .raidWithAdd{
        width: 80px;
        height: 80px;
        margin: 15px;
    }
    .selectItems{
        width: 95%;
        height: 20%;
        padding: 5px;
        gap: 15px;
        margin: auto;
        flex-wrap: wrap;
    }
    .raidWith{
        width: 80px;
        height: 80px;
    }
    .raidWith img{
        width: 70%;
    }

    
    .raidItem{
        width: 95%;
        margin: 0 auto;
    }
    .close{
        font-size: 20px;
    }
    .items p{
        margin: 0 10px;
        font-size: 30px;
    }
    .spanImage{
        font-size: 18px;
    }
    .spanLogo{
        font-size: 15px;
    }
    .spanSulfur{
        font-size: 15px;
    }
    .itemImg img{
        width: 50px;
    }
    
    .totalItem{
        margin: 10px 10px;
    }
    .totalItem img{
        width: 80px;
    }
}

@media only screen and (max-width: 300px) {
    .ChooseNewItem{
        width: 95%;
    }
    .ChooseText{
        width: 95%;
        font-size: 15px;
        font-weight: 900;
    }
    .ChooseText p{
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    .OptionsText{
        width: 95%;
    }
    .Options{
        width: 80%;
        margin: 5px auto;
    }
    .Options p{
        font-size: 18px;
    }

    
    .raidItem{
        width: 95%;
    }
    .close{
        font-size: 25px;
    }
    .items p{
        margin: 0 10px;
        font-size: 20px;
    }
    .spanImage{
        font-size: 18px;
    }
    .spanLogo{
        font-size: 15px;
    }
    .spanSulfur{
        font-size: 15px;
        top: 10px;
    }
    .itemImg img{
        width: 40px;
    }
    
    .totalItem{
        margin: 10px 10px;
    }
    .totalItem img{
        width: 60px;
    }
}
