@font-face {
    font-family: Corporate A;
    src: url("fonts/CorporateA-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: CorporateS Regular;
    src: url("fonts/CorporateS-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}
html {
    height: 100%;
}
body {
    height: 100%;
    margin: 0;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(46,46,46,1) 30%, rgba(0,0,0,1) 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    font-family: CorporateS Regular;
}

.header {
    padding: 10px;
    height: 56px;
    border-bottom: 1px solid #585858;
}

.container {
    padding: 20px;
    color: #FFFFFF;
}

.center {
    text-align: center;
}

.w80 {
    width: 80%;
    margin: auto;
    min-width: 600px;
}

.title {
    font-family: Corporate A;
    font-size: 26px;
    padding: 0;
    text-align: center;
    font-weight: 100;
}

.sub-title {
    font-family: CorporateS Regular;
    font-size: 18px;
    line-height: 34px;
}

.rating {
    display: flex;
    justify-content: center;
    align-items: center;
}
 
.rating input {
    display: none;
}

.rating label {
    display: inline-flex;
    cursor: pointer;
    width: 86px;
}

.rating label::before {
    content: url('images/star.png');
    position: absolute;
    transform: scale(.6);
}

.rating label::after {
    content: url('images/star-selected.png');
    position: absolute;
    opacity: 0;
    transition: .5s;
    transform: scale(.6);
    text-shadow: 0 2px 5px rgba(0,0,0,.5);
}

.rating label:hover::after,
.rating label:hover ~ label::after, 
.rating input:checked ~ label::after { 
    opacity: 1;
}

.feedback {
    font-family: CorporateS Regular;
    width: 96.5%;
    margin-top: 40px;
    height: 120px;
    padding: 20px;
    font-size: 20px;
}
.title-thankyou {
    font-family: Corporate A;
    font-size: 30px;
    font-weight: 100;
}
.language {
    float: inline-end;
    padding: 6px 10px;
    margin: 10px;
    background: #00ADEF;
    color: white;
    border-radius: 4px;
}
.button {
    float: inline-start;
    padding: 6px 10px;
    margin: 10px;
    background: #00ADEF;
    color: white;
    border-radius: 4px;
}

.submit {
    text-align: center;
    padding-top: 20px;
}

a:link, a:visited {
    text-decoration: none;
}

.modal {
    background-color: rgba(0,0,0,.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

.modal-content {
    width: 50%;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
}

#modal:target {
    opacity: 1;
    visibility: visible;
}

#modal:target .modal-content {
    opacity: 1;
    visibility: visible;
}

.modal-close {
    color: black;
    font-size: 2.5em;
    position: absolute;
    top: .5em;
    right: 1em;
}

.modal img {
    display: flex;
    height: 75px;
    width: 75px;
    margin: auto;
    margin-top: 50px;
}

.modal-heading {
    text-align: center;
    font-size: 30px;
    margin: 40px;
    color: #9a9a96;
}

.total-rating {
    text-align: center;
    font-size: 30px;
    margin: 10px 80px 10px 80px;
    color: #9a9a96;
}

.modal-open {
    font-family: CorporateS Regular;
    display: inline-block;
    color:white;
    padding: 14px 20px;
    font-size: 20px;
    cursor: pointer;
    background-color: #00ADEF;
    border-radius: 5px;
    border: none;
    font-weight: 500;
    width: 40%;
}

label {
    width: 70%;
    display: inline-block;
    text-align: start;
}

input[type=text], input[type=number], select {
    font-family: CorporateS Regular;
    width: 70%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=submit] {
    width: 40%;
    background-color: #00ADEF;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
input[type=submit]:hover {
    background-color: #00ADEF;
}

.selectize-control {
    position: relative;
    width: 70%;
    margin: 8px auto;
    text-align: start;
}

.rating-label {
    margin-top: 115px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rating-sub-label {
    margin-top: 10px;
    text-align: left;
    padding-right: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.rating-label span {
    display: inline-flex;
    cursor: pointer;
    width: 86px;
}
.label-en {
    margin-right: 115px;
}
.label-ar {
    margin-right: -115px;
}
.w-80 {
    width: 50% !important;
}
.w-20 {
    width: 19.5% !important;
}

@media (max-width:480px) {
    label, input[type=text], input[type=number], input[type=submit], select, .selectize-control {
        width: 100%;
    }
    .w-80 {
        width: 70% !important;
    }    
    .w-20 {
        width: 28% !important;
    }
}

@media (max-width: 960px) {
    .title {
        font-size: 22px;
    }
    
    .rating {
        margin-left: -72px;
    }

    .rating[dir=rtl] {
        margin-right: -72px;
        margin-left: 0;
    }

    .rating label {
        width: 54px;
    }

    .rating label::before {
        transform: scale(.4);
    }

    .rating label::after {
        transform: scale(.4);
    }
    .modal-heading {
        margin: 14px;
        font-size: 20px;
    }
    
    .center {
        margin-right: 10%;
        margin-left: 10%;
    }

    label, input[type=text], input[type=number], input[type=submit], select, .selectize-control {
        width: 100%;
    }

    .rating-label {
        margin-top: 102px;
    }
    .rating-label span {
        width: 54px;
    }
    .label-en {
        margin-right: 45px;
    }
    .label-ar {
        margin-right: -45px;
    }
    .w-80 {
        width: 70% !important;
    }    
    .w-20 {
        width: 28% !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {    
    label, input[type=text], input[type=number], input[type=submit], select, .selectize-control {
        width: 90%;
    }
    .w-80 {
        width: 60% !important;
    }    
    .w-20 {
        width: 29.5% !important;
    }
    .label-en {
        margin-right: 55px;
        margin-left: -65px;
    }
    .label-ar {
        margin-right: -45px;
    }
}

@media (min-width: 800px) and (max-width: 920px){
    .label-en {
        margin-right: 0;
        margin-left: -40px;
    }
    .label-ar {
        margin-right: -45px;
    }
}

@media (min-width: 1536px) and (max-width: 2732px) {    
    label, input[type=text], input[type=number], input[type=submit], select, .selectize-control {
        width: 70%;
    }
    .w-80 {
        width: 50% !important;
    }    
    .w-20 {
        width: 19.5% !important;
    }
}