main {
    min-height: calc(100vh - (444px));
}

body{
    font-family: 'Onest';
}

a{
    text-decoration: none;
}

.upkid-page-title{
    font-size: 20px;
    line-height: 24px;
    color: #343434;
    font-weight: 500;
}

.upkid-list li {
    font-size: 12px;
    line-height: 16px;
    color: #343434;
    font-weight: 400;
    margin-bottom: 6px;
  }

.upkid-list-header {
    font-size: 14px;
    line-height: 18px;
    color: #5455f6;
    font-weight: 500;
}

.upkid-button{
    width: 100%;
    height: 44px;
    background-color: #5455f6;
    border: none;
    border-radius: 16px;
    /* padding: 14px 30px; */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.5s ease
}

.upkid-button:hover{
    background-color: #2526f4;
}

.upkid-button:active{
    background-color: #2526f4;
}

.upkid-button-text{
    line-height: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
}

.upkid-input {
    display: block;
    box-sizing: border-box;
    border: 1px solid #dbdbdb;
    border-radius: 16px;
    height: 46px;
    width: 100%;
    padding: 14px 30px 14px 18px;
    outline: none;
    line-height: 18px;
    font-size: 14px;
    font-weight: 400;
    color: #343434;
    transition: border-color 0.5s ease;
}

/* .upkid-input:hover {
    
} */

.upkid-input.invalid {
    border-color: #eb4040;
}

.upkid-input-container {
    position: relative;
}

.upkid-input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    padding: 2px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #eb4040;
    border: 1px solid #eb4040;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.upkid-input.invalid + .upkid-input-icon {
    opacity: 1;
}

.upkid-form-label {
    display: block;
    line-height: 14px;
    font-size: 10px;
    font-weight: 400;
    color: #808080;
    margin-bottom: 4px;
}

.upkid-radio-element {
    height: 36px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 6px;
}

.upkid-radio-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    border: 1px solid #f2f2f2;
    border-radius: 40px;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: border 0.3s ease;
}

.upkid-radio-input::before {
    content: '';
    display: block;
    width: 11px;
    height: 11px;
    background-color: #5455f6;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.upkid-radio-input:checked::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.upkid-radio-input:hover + .upkid-radio-label {
    color: #5455f6;
}

.upkid-radio-input:not(:checked):hover {
    border-color: #5455f6;
}

.upkid-radio-input.invalid{
    border-color: #eb4040;
}

.upkid-radio-label {
    line-height: 16px;
    font-size: 12px;
    font-weight: 400;
    color: #343434;
    text-align: center;
    transition: color 0.3s ease;
}

.upkid-checkbox-input{
    display: none;
}

.upkid-radio-input:checked + .upkid-radio-label{
    color: #5455f6;
}

.upkid-radio-label:hover {
    color: #5455f6;
}

.upkid-checkbox-label{
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 12px 18px;
    background-color: #f8f8fc;
    border: 1px solid #f8f8fc;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    font-weight: 400;
    color: #343434;
    transition: border 0.5s ease
}

/* .upkid-checkbox-label:hover{
    border: 1px solid #5455f6;
} */

.upkid-checkbox-input:checked + .upkid-checkbox-label{
    border: 1px solid #5455f6;
}

.upkid-checkbox-label.invalid{
    border: 1px solid #eb4040;
}

@media(min-width: 767.9px){
    main {
        min-height: calc(100vh - (228px));
    }

    body{
        margin: 0;
        padding: 0;
        height: 100vh;
        background-image: url('../images/background-desktop.svg');
        background-position: 0 -100px;
        background-repeat: no-repeat;
        background-size: 960px 890px;
    }

    .upkid-page-title{
        font-size: 28px;
        line-height: 32px;
        font-weight: 500;
    }
    
    .upkid-list li {
        font-size: 14px;
        line-height: 18px;
        color: #343434;
        font-weight: 400;
        margin-bottom: 6px;
      }
    
    .upkid-list-header {
        font-size: 20px;
        line-height: 26px;
        color: #5455f6;
        font-weight: 500;
    }

    .upkid-radio-element{
        height: 32px;
        padding: 6px 0;
    }

    .upkid-radio-label{
        line-height: 18px;
        font-size: 14px;
    }

    .upkid-checkbox-label{
        width: 135px;
    }
}

@media(min-width: 1199.9px){
    main {
        min-height: calc(100vh - (180px));
    }
    
    body{
        margin: 0;
        padding: 0;
        height: 100vh;
        background-image: url('../images/background-desktop.svg');
        background-position: 400px 30px;
        background-repeat: no-repeat;
        background-size: 1450px 1350px;
    }

    .upkid-page-title{
        font-size: 32px;
        line-height: 40px;
        color: #343434;
        font-weight: 500;
    }

    .block-wrapper{
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .upkid-checkbox-label:hover{
        border: 1px solid #5455f6;
    }
}



@font-face {
    font-family: 'Onest';
    src: url('../font/WOFF/OnestRegular1602-hint.woff') format('woff'),
         url('../font/TTF/OnestRegular1602-hint.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
  }

@font-face {
  font-family: 'Onest';
  src: url('../font/WOFF/OnestMedium1602-hint.woff') format('woff'),
       url('../font/TTF/OnestMedium1602-hint.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: url('../font/WOFF/OnestBold1602-hint.woff') format('woff'),
         url('../font/TTF/OnestBold1602-hint.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Onest';
    src: url('../font/WOFF/OnestLight1602-hint.woff') format('woff'),
         url('../font/TTF/OnestLight1602-hint.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0;
    z-index: 100;
    pointer-events: none;
    transition: opacity 1s linear;
}

#overlay.active {
    opacity: 100%;
}


