.main {
    position: relative;
    display: flex;
    justify-content: end;
    align-items: end;
    padding: 10px;
}

.dial {
    --base-size: 1.05;
    height: calc(755px * var(--base-size));
    width: calc(825px * var(--base-size));
    position: relative;
    display: flex;
    justify-content: end;
    padding-right: 30px;
}

.dial .background {
    position: relative;
    height: auto;
    width: calc(825px * var(--base-size));
    z-index: -1;
    user-select: none;
}
.dial .options {
    position: absolute;
    width: calc(1070px * var(--base-size));
    height: calc(100% + 60px);
}
.option {
    display: block;
    position: absolute;
}
.option .img-wrap {
    position: relative;
    --size: 1;
    height: calc(calc(100px * var(--size)) * var(--base-size));
    width: calc(calc(100px * var(--size)) * var(--base-size));
}
.option img {
    height: 100%;
    max-width: 100%;
    filter: grayscale(1) brightness(1.3);
    mask-image: radial-gradient(#000 55%, transparent 70%);
}
.option .overlay {
    inset: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 2;
    background-color: rgba(0, 170, 255, 0.25);
    mask-image: radial-gradient(#000 55%, #0000 70%);
}

.option span {
    font-weight: bold;
    white-space: nowrap;
    font-size: calc(24pt * var(--base-size));
    position: absolute;
    color: #5097b5;
    font-family: "Oswald";
}

.option:hover .overlay {
    display: none;
}
.option:hover img {
    filter: none;
}
.option:hover span {
    color: #013258;
    text-shadow: 2px 2px 4px #5097b5;
}
#to-perfil {
    right: calc(-30px * var(--base-size));
    top: calc(120px * var(--base-size));
}
#to-perfil span {
    top: 90%;
    right: 100%;
}
#to-perfil .img-wrap {
    --size: 1.1;
}
body:has(.menu-options .menu-option:nth-child(2):hover) #to-perfil .overlay {
    display: none;
}
body:has(.menu-options .menu-option:nth-child(2):hover) #to-perfil img {
    filter: none;
}
body:has(.menu-options .menu-option:nth-child(2):hover) #to-perfil span {
    color: #013258;
    text-shadow: 2px 2px 4px #5097b5;
}

#to-servicios {
    right: calc(100px * var(--base-size));
    top: calc(-35px * var(--base-size));
}
#to-servicios span {
    top: -10%;
    right: 110%;
}
#to-servicios .img-wrap {
    --size: 1.5;
}
body:has(.menu-options .menu-option:nth-child(3):hover) #to-servicios .overlay {
    display: none;
}
body:has(.menu-options .menu-option:nth-child(3):hover) #to-servicios img {
    filter: none;
}
body:has(.menu-options .menu-option:nth-child(3):hover) #to-servicios span {
    color: #013258;
    text-shadow: 2px 2px 4px #5097b5;
}

#to-productos {
    right: calc(360px * var(--base-size));
    top: calc(15px * var(--base-size));
}
#to-productos span {
    top: 25%;
    right: 105%;
}
#to-productos .img-wrap {
    --size: 2;
}

body:has(.menu-options .menu-option:nth-child(4):hover) #to-productos .overlay {
    display: none;
}
body:has(.menu-options .menu-option:nth-child(4):hover) #to-productos img {
    filter: none;
}
body:has(.menu-options .menu-option:nth-child(4):hover) #to-productos span {
    color: #013258;
    text-shadow: 2px 2px 4px #5097b5;
}

#to-casos {
    right: calc(610px * var(--base-size));
    top: calc(190px * var(--base-size));
}

#to-casos span {
    right: 110%;
    top: 30%;
}

#to-casos .img-wrap {
    --size: 1.5;
}

body:has(.menu-options .menu-option:nth-child(5):hover) #to-casos .overlay {
    display: none;
}
body:has(.menu-options .menu-option:nth-child(5):hover) #to-casos img {
    filter: none;
}
body:has(.menu-options .menu-option:nth-child(5):hover) #to-casos span {
    color: #013258;
    text-shadow: 2px 2px 4px #5097b5;
}

#to-contacto {
    right: calc(710px * var(--base-size));
    top: calc(370px * var(--base-size));
}

#to-contacto span {
    right: 110%;
    top: 30%;
}
#to-contacto .img-wrap {
    --size: 1.4;
}

body:has(.menu-options .menu-option:nth-child(6):hover) #to-contacto .overlay {
    display: none;
}
body:has(.menu-options .menu-option:nth-child(6):hover) #to-contacto img {
    filter: none;
}
body:has(.menu-options .menu-option:nth-child(6):hover) #to-contacto span {
    color: #013258;
    text-shadow: 2px 2px 4px #5097b5;
}

#to-vida {
    right: calc(700px * var(--base-size));
    top: calc(550px * var(--base-size));
}

#to-vida span {
    right: 120%;
    top: 30%;
}
#to-vida .img-wrap {
    --size: 1.1;
}

body:has(.menu-options .menu-option:nth-child(7):hover) #to-vida .overlay {
    display: none;
}
body:has(.menu-options .menu-option:nth-child(7):hover) #to-vida img {
    filter: none;
}
body:has(.menu-options .menu-option:nth-child(7):hover) #to-vida span {
    color: #013258;
    text-shadow: 2px 2px 4px #5097b5;
}

#to-formulario {
    right: calc(550px * var(--base-size));
    top: calc(600px * var(--base-size));
}
#to-formulario span {
    right: 90%;
    top: 80%;
}

body:has(.menu-options .menu-option:nth-child(8):hover) #to-formulario {
    .overlay {
        display: none;
    }
    img {
        filter: none;
    }
    span {
        color: #013258;
        text-shadow: 2px 2px 4px #5097b5;
    }
}

/* @media (max-width: 1440px) {
    .dial {
        --base-size: 0.95;
    }
} */

@media (max-width: 1330px) {
    .main {
        align-items: center;
    }
    .dial {
        padding-right: 15px;
    }
}

@media (max-width: 470px) {
    .main {
        justify-content: start;
        align-items: start;
    }
    .main .dial {
        display: none;
    }
    .main .options {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .main .option {
        position: static;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .main .option .img-wrap {
        position: relative;
        height: 100px;
        width: 100px;
        border-radius: 100%;
        --size: 1;
    }
    .main .option span {
        font-size: 14pt;
        top: 0;
        left: 0;
        position: static;
    }
    .main
        :is(
            #to-perfil,
            #to-servicios,
            #to-casos,
            #to-vida,
            #to-productos,
            #to-contacto
        ) {
        top: 0;
        left: 0;
    }
}
