/*
Theme Name: Ethsun
Theme URI: http://intside.com/themes/ethsun/
Author: Intside
Author URI: http://intside.com/
Description: Ethsun is a startup theme for Advanced user who want to build professional WordPress theme based on Bootstrap
Version: 0.1
Tags: blue, black, white, light, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: ethsun

This theme is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/**
 * Table of Contents:
 *
 * 1.0 - Basic Structure
 * 2.0 - Media Queries
 * ----------------------------------------------------------------------------
 */
:root {
  --color-primary: #000245;
  --color-secondary: #FF4081;
  --color: #222222;  
}

html {
  font-size: 16px;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-primary);
} 

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.125rem ;
} 
h5, h6 {
  font-size: 1rem;
}

h1, h2 {
  font-weight: 700;
}
h3, h4, h5 {
  font-weight: 600;
}
h6 {
  font-weight: 500;
}
 
h2, h4 {
  text-transform: uppercase;
}

.text_secondary {
  text-transform: uppercase;
  color: var(--color-secondary);
}

ul {
  padding: 0;
  margin: 0;
}
ul li {
  list-style-type: none;
}

p {
  margin-bottom: 1rem;
}

a {
  display: inline-block;
}
a,
a:hover {
  text-decoration: none;
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
}

/* bloc background */
.light {
  background-color: #F7F8FF;
} 
.dark {
  background-color: #000245;
}
.radius_default {
  border-radius: 8px;
}

 /* Form */
.form-select {
  padding: 0.375rem 2.25rem 0.375rem 1.5rem;
  border: none;
}
.form-select:focus {
  box-shadow: none;
}
.form-control:focus {
  box-shadow: none;
}

/* Button */
.btn-secondary, 
.btn-primary {
  padding: 1rem 1.5rem;
  border-radius: 100px;
}
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}
 
.btn:hover, 
.btn:focus-visible, 
.btn-check:focus+.btn, 
.btn:focus, 
.btn:first-child:active,
:not(.btn-check)+.btn:active, 
.btn:first-child:active:focus-visible, 
:not(.btn-check)+.btn:active:focus-visible {
  box-shadow: none;
  transition: .5s ease-in-out;
}
.btn:hover.btn-primary, 
.btn:focus-visible.btn-primary, 
.btn-check:focus+.btn.btn-primary, 
.btn:focus.btn-primary, 
.btn:first-child:active.btn-primary, 
:not(.btn-check)+.btn:active.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.btn:hover.btn-secondary, 
.btn:focus-visible.btn-secondary, 
.btn-check:focus+.btn.btn-secondary, 
.btn:focus.btn-secondary, 
.btn:first-child:active.btn-secondary, 
:not(.btn-check)+.btn:active.btn-secondary {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #fff;
}

.custom_btn {
  padding: 8px 4px;
  border-bottom: 1px solid var(--color-secondary);
  color: var(--color-secondary);
}

/* bloc padding */
.section_top  {
  padding-top: 3.125rem;
}
.section_bottom {
  padding-bottom: 3.125rem;
}
.section_vertical {
  padding: 3.125rem 0;
}


/**
 * 1.0 Basic Structure
 * ----------------------------------------------------------------------------
 */

/* Header */
header nav:nth-of-type(1) {
  background-color: var(--color);  
}
header nav:nth-of-type(1) .navbar-nav .nav-item a {
  margin-left:  1.5rem;
  padding: 0;
}
header  nav:nth-of-type(1) .navbar-nav .menu-item a {
  color: #757575;
}
header nav:nth-of-type(1) .navbar-nav .nav-item:first-child a {
  margin-left: 0;
}
 
header nav:nth-of-type(1) .form-select {
  background-color: var(--color);
  color: #fff;
}

header nav:nth-of-type(2) {
  background-color: #fff;
}

header nav:nth-of-type(1) .menu-jobs-container,
header nav:nth-of-type(2) .nav-contact {
  display: none;
}

/* Welcome */
.welcome {
  background: linear-gradient(57.06deg, rgba(0, 0, 0, 0) -25.6%, rgba(0, 0, 0, 0.6) 27.93%), url(assets/images/home.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  text-align: center;
  padding: 132px 0;
  color: #fff;
}
.welcome p {
  color: #B7B7B7;
}
.welcome form {
  background-color: #fff;
  padding: .875rem 1.5rem;
  border-radius: 100px;
}
.welcome form .form-control  {
  padding: 0;
  border: none;
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
}
.welcome form .form-control::placeholder {
  color: #777777; 
}
.welcome form .btn.btn-primary {
  width: 100px;
}


/* About */
.about h2 + p {
  margin-bottom: 24px;
}
.about img {
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.about .aboutArrow img {
  border-radius: 0;
}
.about .stats {
  font-size: 2.5rem;
  font-weight: 700;
}
.about .aboutList li {
  position: relative;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.about .aboutList li:last-child {
  margin-bottom: 0;
}
.about .aboutList li::before {
  content: '';
  background-image: url(assets/images/list.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;  
  left: 0; 
  width: 1rem;
  height: 0.75rem;
  transform: translateY(-50%);  
}

/* Testimonials */
.testimonials {
  color: #fff;
}

.testimonialsImg {
  display: inline-block;
  position: relative;
  top: 32px; 
  z-index: 1;
}
.testimonials_img::before {
  content: '';
  background-image: linear-gradient(131.73deg, rgba(0, 2, 69, 0.5) -26.07%, rgba(255, 64, 129, 0.5) 73.57%);
  background-repeat: no-repeat;
  position: absolute;
  top: -32px;
  left: 0;
  right: 0;
  width: 100%;
  height: 469px;
  border-radius: 40px;
  z-index: -1;
}

/* Certificates */
.study_content,
.certs_content {
  display: flex;
  flex-direction: column;
  justify-content: end;
  background-color: rgba(0, 0, 0, .5);
  position: absolute;
  width: 100%;
  color: #fff;
}
.certs_content { 
  bottom: 0;
  height: 100px;
  padding: 1rem;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Study */
.study_content {
  top: 0;
  bottom: 0;
  left: 0;
  padding: 1.5rem;
}
.study_item {
  position: relative;
}
.study_item h3 {
  padding-top: .5rem;
  padding-right: 4rem;
}
.study_item div {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);  
}
.study_item::before {
  content: '';
  background-color: #fff;
  position: absolute;
  left: 0;
  width: 88px;
  height: 4px;
}
/* Blog */
.blog_content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

/* Footer */
footer section:first-child a {
  color: #222222;
}
footer section:first-child h4  {
  margin-bottom: 1.5rem;
}
footer section:first-child h4 + div ul li  {
  margin-bottom: 1rem;
}
footer section:first-child h4 + div ul li:last-child {
  margin-bottom: 0;
}
footer section:first-child h4 + p {
  font-size: 10px;
  font-weight: 500;
}

footer section:first-child .form-control {
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
}
footer section:first-child .btn-primary {
  padding: 0.375rem 0.75rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

footer section:last-child {
  background-color: var(--color-primary);
  padding: 1rem 0;
  color: #fff;
}
footer section:last-child ul li {
  margin-bottom: .5rem;
}
footer section:last-child ul li:last-child {
  margin-bottom: 0;
}
footer section:last-child a {
  color: #fff;
}


/**
 * 2.0 Media Queries
 * ----------------------------------------------------------------------------
 */


/* WordPress Media Queries */
@media (max-width: 600.98px) {
}
@media (min-width: 601px) and (max-width: 782.98px) {
}

/* Large devices (desktops, 768px,) */
@media (min-width: 768px)  {
  
  /* About */
  .about .aboutFirst-img {
    position: relative;
    flex: 1;
    z-index: 10;
    transform: rotate(-12deg);
  }
  .about .aboutSecond-img {
    flex: 1;
    position: relative;
    z-index: 20;
  }
  .about .aboutArrow {
    position: absolute;
    right: 0px;
    bottom: 0px;
  }

  .about .aboutThird-img {
    display: inline-block;
    position: absolute;
    top: 100%;
    left: 60%;
    transform: rotate(-12deg) translate(-60%, -100%);
    z-index: 1;
  }


  /* Footer */
  footer section:last-child ul li {
    position: relative;
    padding-left: 1.5rem;
  }
  footer section:last-child ul li:first-child {
    padding-left: 0;
  }
  footer section:last-child ul li:first-child::before{
    content: none;
  }
  footer section:last-child ul li::before{
    content: '|';
    position: absolute;
    top: 0;
    left: 8px;
  }
} 

@media (min-width: 783px) {

}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
}

/* Small devices (landscape phones, 576px, up to 768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
}

/* Medium devices (tablets, 768px, up to 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
}


/* Large devices (desktops, 992px,) */
@media  screen and (min-width: 992px)  {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }
  
  /*  bloc padding  */
  .section_top  {
    padding-top: 6.25rem;
  }
  .section_bottom {
    padding-bottom: 6.25rem;
  }
  .section_vertical {
    padding: 6.25rem 0;
  }
  
  /* Header */
  header  nav:nth-of-type(1) .navbar-nav .menu-item a {
    margin: 0 0 0 1.5rem;
  }

  header nav:nth-of-type(2) .navbar-nav .nav-item {
    padding: 0 2rem;
    border-right: 1px solid #E5E5E5;
  }
  header nav:nth-of-type(2) .navbar-nav .nav-item:last-child {
    padding-right: 0;
    border-right: none;
  }

  header nav:nth-of-type(1) .menu-jobs-container,
  header nav:nth-of-type(2) .nav-contact{
    display: block;
  }
  header nav:nth-of-type(3) .offcanvas-body .menu-jobs-container,
  header nav:nth-of-type(3) .offcanvas-body .nav-contact  {
    display: none;
  }

  header nav:nth-of-type(3) .menu-navigation  {
    background-color: var(--color-primary);
  }
  header nav:nth-of-type(3) .menu-navigation .menu-item {
    padding: 1rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
  }
  header nav:nth-of-type(3) .menu-navigation .menu-item:last-child {
    border-right: 0;
  }
  header nav:nth-of-type(3) .menu-navigation .menu-item a,
  header nav:nth-of-type(3) .menu-navigation .menu-item a:hover  {
    color: #fff;
  }

  /* About */
  .about .aboutThird-img {
    top: 25%;
    left: 50%;
    transform: rotate(-12deg) translate(-50%);
  }
  .about .aboutImage {
    margin-top: 128px;
  }
   
  /* Certifiers */
  .certifiers_content { 
    height: 128px;
  }

}

/* Large devices (desktops, 992px, up to 1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
}

/* X-Large devices (large desktops, 1200px) */
@media (min-width: 1400px)  {
  /* About */
  .about .stats {
    font-size: 54px;
  }
}

/* X-Large devices (large desktops, 1200px, up to 1400px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}
