@font-face {
    font-family: "AA";
    src: url(/fonts/AA-Stetica-Regular.woff2);
    font-weight: 400;
}

@font-face {
    font-family: "AA";
    src: url(/fonts/AA-Stetica-Medium.woff2);
    font-weight: 500;
}

@font-face {
    font-family: "RN";
    src: url(/fonts/RishaNeo.ttf);
    font-weight: 400;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: normal;
}

body {
    margin: 0;
    font-family: "AA";
    font-weight: 400;
    background: whitesmoke;
}

html,
body {
    max-width: 100vw;
}

strong, b {
    font-weight: normal;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    color: black;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
}

img {
    user-select: none;
    -moz-window-dragging: no-drag;
    -webkit-user-drag: none;
}

/* Aside / Header */


.container {
    width: 100%;
    max-width: 85vw;
    margin: 0 auto;
}

header {
    height: 90px;
    width: 100vw;
    display: flex;
    align-items: center;
}

header img {
    width: 70px;
    height: 70px;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: lowercase;
}

.header__logo strong {
    font-size: 2rem;
    font-weight: 500;
    font-family: "RN";
    color: rgba(34, 197, 94, 1);
}

.header__inner p {
    font-size: 1.5rem;
    font-weight: 500;
}

aside {
    width: 250px;
    height: auto;
    min-width: 250px;
}

aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

aside ul li {
    height: 40px;
    width: 100%;
    border-radius: 10px;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    background: transparent;
    padding: 0 10px;
    padding-right: 15px;
}

aside ul li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

aside ul li a span {
    margin-right: auto;
    font-size: 1.125rem;
}

aside ul li:hover {
    background: rgb(215, 215, 215);
}

aside ul li:hover {
    padding-right: 10px;
}

aside ul li:active,
aside ul li.active {
    font-weight: 500;
    background: rgb(215, 215, 215);
    padding-right: 10px;
}

main {
    padding-top: 90px;
    margin-bottom: 60px;
}

aside strong {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 1.25rem;
}

/* Sections */

main .container {
    display: flex;
    gap: 60px;
}

section {
    display: flex;
    flex-direction: column;
    width: 100%;
}

h1 {
    display: block;
    text-align: center;
    font-weight: 500;
    font-size: 3rem;
}

a.next--link {
    align-self: center;
    display: inline-block;
    background: rgba(34, 197, 94, 1);
    color: white;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 1.25rem;
    margin-top: 30px;
}

a.next--link:hover {
    color: black;
}

/* Media */

@media screen and (max-width: 1200px) {
    .container {
        max-width: 95vw;
    }
}

@media screen and (max-width: 950px) {
    h1 {
        font-size: 2rem;
    }

    aside {
        width: 200px;
        min-width: 200px;
    }

    .header__logo strong {
        font-size: 1.5rem;
    }

    header img {
        width: 50px;
        height: 50px;
    }

    .header__inner p {
        font-size: 1rem;
    }
}

.burger--menu {
    display: none;
}

.mask {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #000;
    opacity: 0.5;
    z-index: 1;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
}

.mask.hide {
    opacity: 0;
    z-index: -1;
}

@media screen and (max-width: 800px) {
    aside {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        transform: translateX(100%);
        transition: .3s;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -o-transition: .3s;
    }

    .header__inner p {
        display: none;
    }

    main {
        padding-top: 30px;
    }

    header {
        height: 60px;
    }

    .burger--menu {
        display: block;
        width: 30px;
        min-width: 30px;
        height: 26px;
        position: relative;
        z-index: 5;
        margin-left: 20px;
    }

    .burger--menu span:nth-child(1) {
        background: limegreen;
        display: block;
        width: 100%;
        height: 4px;
        border-radius: 5px;
        position: absolute;
        content: '';
        top: 50%;
        transform: translateY(-50%);
        transition: .3s;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -o-transition: .3s;
    }

    .burger--menu span:nth-child(2) {
        background: limegreen;
        display: block;
        width: 100%;
        height: 4px;
        border-radius: 5px;
        position: absolute;
        content: '';
        top: 0;
        transition: .3s;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -o-transition: .3s;
        transform: translateY(25%);
    }

    .burger--menu span:nth-child(3) {
        background: limegreen;
        display: block;
        width: 100%;
        height: 4px;
        border-radius: 5px;
        position: absolute;
        content: '';
        top: calc(100% - 4px);
        bottom: 0;
        transition: .3s;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -o-transition: .3s;
        transform: translateY(-50%);
    }

    .burger--menu.open span:nth-child(1) {
        opacity: 0;
    }

    .burger--menu.open span:nth-child(2),
    .burger--menu.open span:nth-child(3){
        top: 50%;
    }

    .burger--menu.open span:nth-child(2) {
        transform: translateY(-50%) rotate(225deg);
    }

    .burger--menu.open span:nth-child(3) {
        transform: translateY(-50%) rotate(-225deg);
    }

    aside {
        padding-top: 60px;
        z-index: 2000;
        background: whitesmoke;
        padding-left: 10px;
        padding-right: 10px;
        width: 250px;
    }

    ul li img:last-child {
        display: none;
    }

    aside.open {
        transform: translateX(0);
    }
}

@media screen and (max-width: 580px) {
    .header__logo strong {
        font-size: 1.25rem;
    }
}

/* Introduction */

section p {
    margin: 5px 0;
    font-size: 1.125rem;
}

section h1 {
    margin-bottom: 30px;
}

ul.students--list {
    list-style: disc;
    padding-left: 0;
}

ul.students--list li {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 1.125rem;
}

.circle {
  --value: 73;
  --thickness: 10px;
  --color: #ff9800;
  --bg-color: #ffe0b2;

  width: 200px;
  min-width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 28px;
  color: #3a1d00;
  background:
    /* основной круг */
    conic-gradient(
      var(--color) calc(var(--value) * 1%),
      var(--bg-color) 0
    );
}

.circle:after {
  position: absolute;
  content: '';
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 80%;
  height: 80%;
  background: white;
}

/* центр */
.circle .value {
  position: absolute;
  z-index: 2;
  color: black;
  font-size: 2.5rem;
  display: block;
}

.score--diag h2 {
  font-weight: 500;
  font-size: 1.5rem;
  font-family: 'AA';
}

.score--diag {
  display: flex;
  gap: 15px;
}

.score-text {
  font-size: 1rem;
  margin-top: 10px;
}

@media screen and (min-width: 800px) {
    aside#aside {
        position: sticky;
        top: 20px;
        height: 500px;
    }
}

html {
    overflow-x: hidden;
}

.res--list {
    list-style: none;
    padding: 0;
    margin: 0;
}


.res--list li {
    padding: 10px 20px;
    font-size: 1.25rem;
    background: white;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
    cursor: pointer;
    border-radius: 10px;
    margin-bottom: 10px;
}

.res--list li b {
    font-weight: 500;
    font-style: bold;
}

.res--list li:hover {
    background: rgb(224, 224, 224);
}

.res--list li a {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.settings--block {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
    align-items: center;
}

.settings--block input,
.settings--block select {
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: 5px;
    padding: 4px 8px;
}

.submit--btn {
    border-radius: 5px;
    padding: 5px 12px;
    font-size: 1.25rem;
    background: green;
    border: 0;
    outline: none;
    color: white;
    cursor: pointer;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -o-transition: .3s;
}

.submit--btn:hover {
    color: rgb(226, 226, 226);
}