@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.App {
    direction: rtl;
}

/* CSS FOR THE HEADER */

.muirtl-cveggr-MuiListItemIcon-root {
    min-width: 35px !important;
}

.app-logo {
    max-width: 200px;
    position: absolute;
    left: 10px;
}

.MuiAvatar-root {
    margin-left: 20px;
}

header .MuiToolbar-root {
    height: 64px;
}

/* CSS FOR THE MENU */

.MuiDrawer-paper a {
    width: 100%;
    color: inherit;
}

.MuiDrawer-paper a:hover {
    text-decoration: none;
    color: inherit;
}

/* CSS FOR DASHBOARD PAGE */

.dashboard h1 {
    text-align: center;
}

div.dashboard-analytics {
    padding: 20px;
}

.dashboard-analytics svg {
    width: 35px;
    height: 35px;
    margin-bottom: 10px;
    color: #666;
}

.dashboard-analytics {
    text-align: center;
}

.dashboard-analytics h3 {
    font-size: 3rem;
    font-weight: bold;
}

.dashboard-analytics h4 {
    font-size: 1rem;
    color: #666;
}

/* CSS for Forms */

div.MuiOutlinedInput-root {
    margin-bottom: 1rem;
}

/* Preview */

.preview {
    background-image: url(./assets/preview-frame-phone.png);
    font-family: 'Inter', sans-serif;
    background-position: top center;
    background-size: 325px;
    background-repeat: no-repeat;
}

.preview .preview-container {
    width: 325px;
    height: 640px;
    margin: auto;
    padding: 8px 18px 7px;
    border-radius: 75px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.preview-container::-webkit-scrollbar {
    display: none;
}

.preview-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.preview-inner {
    padding: 1rem 10px;
    text-align: center;
}

.preview-footer {
    height: 50px;
}

.profile-preview h1 {
    font-weight: 500;
    font-size: 2.5rem;
}

.presentation-preview h1 {
    font-weight: 500;
    font-size: 2rem;
}

.preview .tagline,
.preview .subtitle {
    font-weight: 800;
    font-size: 1.5rem
}

.preview .expertise {
    font-weight: 300;
    font-size: 1rem
}

.preview .description {
    font-weight: 300;
    font-size: 1.2rem
}

.preview .profile-form,
.preview .social-icons,
.preview h2.podcast {
    font-size: 1.5rem
}

.preview h3.podcast {
    font-size: 1.2rem;
    font-weight: 300;
}

.preview .MuiSvgIcon-root {
    width: 3rem;
    height: 3rem
}

.preview .MuiSvgIcon-root:hover {
    cursor: pointer;
}

.preview .extra-pic,
.preview .profile,
.preview .cover-pic {
    width: 100%
}

.preview .cover .profile {
    width: 50%;
    border-radius: 500px;
    margin-top: -25%;
    margin-right: 25%;
}

/* auth page */

div#auth-form {
    background: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 3px 0px #eee;
}

.crop-container {
    position: relative;
    height: 20rem;
    margin-bottom: 2rem;
}

.website-prefrences {
    position: relative;
}

.website-prefrences .MuiSwitch-root {
    position: absolute;
    left: 10px;
}

.website-prefrences .MuiFormControlLabel-root {
    margin-top: 0.5rem;
    margin-right: 0.5rem;
}

#profile-edit-form {
    position: relative
}

#profile-edit-form button {
    position: absolute;
    left: 0;
    bottom: -3rem;
}

#profile-edit-form .MuiSvgIcon-root {
    color: #999;
}

.profile-edit .image-upload,
.presentation-edit .image-upload {
    flex-direction: column;
    padding: 0
}

.profile-edit .MuiButton-startIcon,
.presentation-edit .MuiButton-startIcon {
    max-width: 8rem;
    display: block;
    margin: 0
}

.profile-edit .cover-upload .MuiButton-startIcon,
.presentation-edit .cover-upload .MuiButton-startIcon {
    max-width: 15rem;
}

.profile-edit .pic-label:before,
.presentation-edit .pic-label:before {
    content: "";
    display: block
}

.profile-edit .MuiCardContent-root h4,
.presentation-edit .MuiCardContent-root h4 {
    text-align: center;
}

.profile-edit div.MuiCardContent-root,
.presentation-edit div.MuiCardContent-root {
    padding: 8px
}

.profile-edit .MuiTabs-centered .MuiTab-textColorPrimary {
    font-size: 1rem
}

.profile-templates {
    padding: 0 !important
}

.profile-templates p {
    text-align: center;
    padding-bottom: 0
}

.profile-templates .MuiGrid2-root .MuiGrid2-root {
    padding: 1rem 1rem 1rem 0;
}

.profile-templates .MuiPaper-root {
    border: 2px solid #ccc;
}

.profile-templates .selected .MuiPaper-root {
    border-color: #611F73
}

.profile-templates .dark,
.preview .dark .preview-inner,
.preview .dark .preview-footer {
    background-color: black;
    color: #eee;
}

.profile-templates .cover .profile-image {
    border-radius: 100px;
    width: 50%;
    height: 50%;
    margin-right: 25%;
    margin-top: -25%;
}

div.choose-template {
    position: relative;
}

.preview .dark .preview-inner label {
    color: #aaa
}

.preview .dark .preview-inner fieldset {
    border-color: #999
}

.preview .dark .preview-inner button {
    color: #aaa;
    border-color: #999
}

.preview .dark .preview-header {
    background-color: black;
}

.preview .embed-player {
    max-width: 100%;
    max-height: 10rem;
    margin-bottom: 1rem
}

button.menu-button {
    position: fixed;
    top: 15px;
    right: 40px;
    z-index: 10000;
    color: white;
}

button.menu-button {
    width: 30px;
    height: 30px
}

.MuiGrid2-root.help {
    padding: 2rem;
    box-shadow: 0px 0px 3px 0px #999;
    margin: auto;
    background-color: #611F73;
}

.MuiGrid2-root.help h3 {
    color: white;
}

.new-row {
    float: left;
    margin-right: 0.5rem !important
}

.pres-list .muirtl-sh22l5-MuiButtonBase-root-MuiAccordionSummary-root.Mui-expanded {
    min-height: none;
    border-bottom: 1px solid #eee;
}

.pres-list .MuiAccordionDetails-root .MuiGrid2-container {
    padding: 2rem 1rem;
}

.pres-list .MuiGrid2-root .MuiButtonBase-root {
    margin: 0.5rem 0
}

.pres-list h3 {
    font-size: 1.5rem;
    margin: 0.5rem
}

.MuiButton-contained.delete-button {
    background-color: #800000;
}

.MuiButton-contained.delete-button:hover {
    background-color: #BF0000;
}

.MuiDialogContent-root {
    min-width: 350px
}

.MuiButton-root.choose-suggestion {
    margin-bottom: 1rem
}

.ai-dialog .MuiDialogContent-root,
.ai-dialog .MuiDialogTitle-root {
    text-align: center;
}

.form-page .MuiDivider-root {
    margin-bottom: 1rem
}

.MuiButtonBase-root.ai-button {
    line-height: 1.4375em;
    padding: 16.5px 5px;
}

.loading-gif,
.error-img {
    width: 50%;
    margin: 5% 25%;
}

.MuiButtonBase-root.ai-button .MuiButton-endIcon {
    margin: 0px
}

.auth-title {
    text-align: center;
}

h1.auth-title {
    font-size: 3rem;
    font-weight: bold;
    color: #611F73;
}

h3.auth-title {
    font-size: 1.75rem
}

.bold {
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}

#auth-form p {
    cursor: pointer;
    text-align: center;
}

#auth-form p span {
    color: #611F73;
    text-decoration: underline;
}

.presentation-preview .profile-picture {
    width: 50%;
    margin: 0.5em 25%;
    border-radius: 999px;
}

.MuiDrawer-root .muirtl-1rvl86w-MuiListItem-root {
    padding: 4px 8px;
}

div.MuiBox-root.slide {
    width: 100%;
    padding-bottom: 56.25%;
    border: 1px solid black;
    position: relative;
    margin-bottom: 1rem;
}

div.MuiBox-root.slide .MuiTypography-root {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 40%;
}