@font-face {
    font-family: font-regular;
    src: url("../font/Yettel-Regular.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: font-bold;
    src: url("../font/Yettel-Bold.otf") format("truetype");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: font-light;
    src: url("../font/Yettel-Light.otf") format("truetype");
    font-weight: lighter;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: font-regular;
    font-size: 16px;
    color: var(--primary-color-navy);
}

:root {
    --color-grey-0: #ffffff;
    --color-grey-50: #F2F4F5;
    --color-grey-100: #E5E9EC;
    --color-grey-200: #CCD3D9;
    --color-grey-500: #80919F;
    --color-grey-700: #4D6579;
    --primary-color-lime: #B4FF00;
    --primary-color-navy:#002340;
    --secondary-color-alert: #FF5728;
}


/* page style elements */

/* general elements */


body{
    background: var(--color-grey-50);
    margin: 20px auto;
    max-width: 60%;
}

.element-cont {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    position: relative;
    /* background: rgb(255,255,255); */
    /* background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 95%, rgba(180,255,0,1) 95%, rgba(180,255,0,1) 100%); */
}

.element-cont::before {
    content: "";
    width: 100%;
    height: 9px;
    background: var(--primary-color-lime);
    position: absolute;
    left: 0;
    top: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.required-error {
    border: 2px solid var(--secondary-color-alert);
}

.question-required::after{
    content: '*';
    color: var(--secondary-color-alert);

}

.back-button-cont button {
    background: none;
    border: 2px solid var(--primary-color-navy);
    border-radius: 30px;
    padding: 10px 20px;
    width: 80%;
    margin: 0 auto;
    display: block;
}




@media only screen and (max-width: 780px){

    body {
        max-width: 100%;
        margin: 10px;
    }
}

/* desktop query */
/* @media only screen and(min-width: 800px){ */
@media (min-width:1025px){

    .header-image img {
        width: 30% !important;
        margin: 0 auto;
        border-radius: unset;
    }
    
    .header-image {
        /* background: white; */
    }


    .rating-sect {
        width: 75%;
        margin: 0 auto;
    }

    .subqs {
        width: 60%;
        margin: 0 auto;
    }

    .inputs-container {
        width: 60%;
        justify-content: center;
        margin: 0 auto;
    }

    .open-question-cont textarea {
        width: 55%;
    }

    .dropdown-element {
        width: 60%;
        margin: 0 auto;
    }





}