html {
    font-size: 10px;
}

body {
    font-size: 1.6rem;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.layout {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #F7F8FD;
    position: absolute;
}

.layout__main {
    width: 40rem;
    height: 60rem;
    padding: 2rem;
    background-color: #ECECEC;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.main__nav {
    color: #fff;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 2rem 3rem;
    background-color: #3E3E3E;
    position: absolute;
}

.nav__list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
    gap: 1rem;
}

.nav__item {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 300ms linear;
}

.nav__item:hover  {
    background-color: #929292;
}

.nav__item--active {
    background-color: #929292;
}

.nav__icon {
    font-size: 2rem;
}

.nav__title {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1;
    margin-top: 0.5rem;
}

.main__page  {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 2rem 3rem;
    position: absolute;
    transform: scale(0);
    transition: all 200ms linear;
}

.main__page--active {
    transform: scale(1);
}

.page__title {
    color: #333;
    font-size: 4rem;
    text-transform: capitalize;
}

.page__content {
    margin-top: 2rem;
    background-color: #ADC2FF;
    padding: 2rem;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.content__title {
    color: #444;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.content__title--courses {
    color: #5c5c5cdd;
    font-size: 1.6rem;
}

.content__btn {
    color: #444;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 1rem;
    background-color: #84A0F1;
    border-radius: 5px;
}

.page__content--social {
    width: 100%;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0;
}

.content__social {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 10px #bbb;
    transition: all 300ms ease-in-out;
}

.content__social:hover {
    color: #e8a35a;
}

.page__web {
    width: 100%;
    height: calc(100% - 165px);
    margin-top: 2rem;
}