/*
* === GENERAL STYLES ===
*/

html {
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

.clear {
    clear: both;
}

/*
* === PAGE STYLES ===
*/

html {
    direction: rtl;
}

@font-face {
    font-family: 'B Yekan';
    src: url('fonts/Yekan.woff') format('woff');
}

body {
    font-family: 'B Yekan', Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 50px;
}
h2 {
    font-size: 35px;
}
h3 {
    font-size: 20px;
}
h1, h2, h3 {
    padding-bottom: 20px;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
}

section {
    width: 100%;
}

.button {
    padding: 8px 15px;
    min-width: 100px;
    border-radius: 15px;
    border-width: 0;
    display: inline-block;
    text-decoration: unset;
    color: white;
    background-color: #00acc4;
}

/*
* === HEAD ===
*/


section#head {
    min-height: 100vh;
    background: url('images/cover-image.png') no-repeat center center;
    background-size: cover;
}


/*
* — Header —
*/



header {
    border-bottom: 1px solid gray;
    color: lightgray;
    /* background-color: gray; */
}

header .logo, header nav {
    float: right;
    margin-left: 30px;
}
header .search {
    float: left;
    position: relative;
}

header .logo img {
    height: 60px;
}

header nav {
    margin-right: 40px;
    font-size: 20px;
}

header nav a {
    /* display: inline-block; */
    line-height: 60px;
    text-decoration: inherit;
    color: inherit;
    padding: 0 15px;
}

.search {
    width: 220px;
}
.search > * {
    background-color: transparent;
    border-color: transparent;
    color: inherit;
    font-family: inherit;
}
.search input {
    height: 60px;
    padding: 0 5px;
    width: calc(100% - 30px);
}
.search input::placeholder {
    color: inherit;
}
.search input:focus {
    outline: none;
}

.search button {
    position: absolute;
    top: 15px;
    left: 0;
    margin: 0;
    padding: 0;
}

/*
* — Slides —
*/
#head .slides {
    color: white;
    text-align: center;
}

#head h1, #head h2, #head h3 {
    display: block;
    padding: 20px 10px;
}
#head h2, #head h3 {
    font-weight: normal;
}
#head a.button {
    margin: 20px 0;
}

.slides {
    position: relative;
    min-height: calc(100vh - 50px);
}

.slides span {
    position: absolute;
    top: calc(50% - 24px);
    color: gray;
}
.slides span.left {
    left: 0;
    margin-left: 30px;
}
.slides span.right {
    right: 0;
    margin-right: 30px;
}

.slide {
    width: 800px;
    height: 300px;
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
}

.slider {
    position: absolute;
    bottom: 0;
    width: 100px;
    left: calc(50% - 50px);
    padding: 25px;
}

.circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 2px;
    border-radius: 50%;
    background-color: #989495;
}
.circle.selected {
    background-color: white;
}

/*
* === ABOUT ===
*/
#about {
    padding: 30px 0;
    background-color: #00acc4;
    color: white;
    text-align: center;
}

#about p {
    line-height: 35px;
}

/*
* === FIELDS ===
*/

#fields {
    background-color: #faf8f9;
    text-align: center;
    padding: 30px 0;
}

.box {
    padding: 5px 45px;
    float: right;
    width: 33.3%;
    /* background-color: red; */
}

.field {
    padding: 15px 8px;
    /* background-color: yellow; */
    border-radius: 10px;
    border: 1px solid transparent;
}
.field:hover {
    box-shadow: 0 5px 10px darkgray;
}

.field img {
    max-width: 150px;
    height: 80px;
}
.field h3 {
    padding: 10px 0;
}
.field p {
    line-height: 30px;
    text-align: justify;
}

/*
* === PARTNERS ===
*/

#partners {
    background-color: #faf8f9;
    padding: 30px 0;
}

#partners h2 {
    text-align: center;
}

.sliderBox {
    position: relative;
    padding: 0 24px;
    margin: 20px 0;
}

.sliderBox span {
    position: absolute;
    top: calc(50% - 24px);
    color: gray;
}
.sliderBox span.left {
    left: 0;
}
.sliderBox span.right {
    right: 0;
}

.sliderBox .image {
    float: right;
    width: 20%;
}

.sliderBox .image img {
    height: 80px;
    display: block;
    margin: 0 auto;
    filter: grayscale(100%);
}

/*
* === FOOTER ===
*/

#footer {
    text-align: center;
    background-color: darkslategray;
    background: url('images/footer.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    border-bottom: 2px solid white;
}

#footer .blackFilter {
    padding: 30px 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

#footer p {
    line-height: 25px;
    padding: 10px 0;
}

form.subscribe {
    display: inline-block;
    width: 100%;
    padding: 20px 10px;
    /* background-color: red; */
}

.inputGroup {
    text-align: start;
    display: inline-block;
    padding: 0 5px;
    margin: auto 5px;
    border: 1px solid white;
    border-radius: 5px;
}

.inputGroup span {
    padding: 0 5px;
}

.inputGroup input {
    width: calc(100% - 40px);
    padding: 10px 5px;
    border-width: 0;
    background-color: transparent;
    color: white;
    font-family: inherit;
}

.inputGroup input:focus {
    outline: none;
}


.subscribe .inputGroup {
    width: 30%;
}

form.subscribe button {
    max-width: calc(35% - 30px);
    margin: auto 15px;
    font-family: inherit;
}
