@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Oswald:wght@400;500;600;700&display=swap');
/* ---Custom fonts--- */
@font-face {
  font-family: 'Avelire';
  src: url('./src/fonts/AVELIRE.woff2') format('woff2'),
       url('./src/fonts/AVELIRE.woff') format('woff'),
       url('./src/fonts/AVELIRE.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'hamisheh';
  src: url('./src/fonts/Digi Hamishe Bold.woff2') format('woff2'),
       url('./src/fonts/Digi Hamishe Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


/* Main font for title */
@font-face {
  font-family: 'sarvenaz';
  src:  url('./src/fonts/Digi Sarvenaz.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


/* CSS Variables */
:root {
    --back-color: #e8f3e8;
    --first-color:#0d0135;
    --second-color:#ff6b6b;
    --third-color:#ffd166;
    --fourth-color:#4ecdc4;
    --sixth-color:#06d6a0;
    --purple-900: #d3f7ff;
    --purple-950: #ffe785;
    --fuchsia-950: #9ad4bc;
    
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
 
}

html {
    scroll-behavior:smooth;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif;
}

body {
    margin: 0;
    line-height: inherit;
    font-family: 'hamisheh', sans-serif;
    color: var(--first-color);
    background-color: var(--back-color);
    letter-spacing: 0.05em;
}

/* Container */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 480px) {
    .container {
        max-width: 480px;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

/* Sections */
section {
    padding-top: 4rem;
    padding-bottom: 1rem;
}

@media (min-width: 768px) {
    section {
        padding-top: 5rem;
    }
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--fuchsia-950);
    z-index: 50;
    transition: border 0.2s ease;
    border-bottom: solid #ff6b6b 2px;
    
    
}

.dark #header {
    background-color: var(--black);
}

.nav-container {
    position: relative;
    height: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo a {
    font-size: 1.5rem;
    line-height: 2rem;
    /*text-transform: uppercase;*/
    font-family: 'sarvenaz', sans-serif;
    text-decoration: none;
    color: var(--first-color);

}

.logo span {
    color: var(--second-color);
}
/* Separator */
.separator {
    /* width: 7rem; */
    width: 100%;
    height: 2px;
    background-color: var(--second-color);
    margin: 1.25rem auto;
}

@media (min-width: 768px) {
    .separator {
        margin: 1.25rem 0;
        width: 100%;
    }
}
@media (max-width: 656px) {
    #header{
        justify-content: space-around;
        width: 100%;
    }
}

.video-container{
    margin: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.video-1{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.first-video{
    width: 35rem;
    height: 20rem;   
}

.caption{
    display: flex;
    flex-direction: column;
    margin-right: 1rem;
}

.caption h3{
    font-family: 'sarvenaz',sans-serif;
    font-size: 1.5rem;
}


.text{
    font-size:1rem ;
}

.start-test{
    color: var(--second-color);
    font-size: 0.8rem;
    text-decoration:none;
}

.img-moshaver{
    width: 25rem;
    height: auto;
}