@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;
}

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

.container {
    padding: 25px;
    color: #FFFFFF;
    text-align: center;
}

.title {
    font-family: Corporate A;
    font-size: 40px;
}

.sub-title {
    font-family: CorporateS Regular;
    font-size: 25px;
}

.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;
}

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

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 {
    display: inline-block;
    color:black;
    padding: 15px 40px 15px 40px;
    font-size: 20px;
    cursor: pointer;
    background-color: #FFFFFF;
    border-radius: 5px;
    border: none;
    font-weight: 500;
}

@media (max-width: 960px) {
    .title {
        font-size: 22px;
    }
    
    .sub-title {
        font-size: 18px;
    }

    .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;
    }
}