@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700&family=Poppins:wght@400;600;700&display=swap');

:root {
  --color-primary: #0e7c7b;
  --color-secondary: #23359d;
  --color-bg: #f7faf9;
  --radius-lg: 16px;
  --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'Poppins', 'Syne', system-ui, -apple-system, sans-serif;
}

h2 {
  padding: 1rem;
  font-size: 1.6rem;
}
h1 { font-size: 2.2rem; }
h3 { font-size: 1.25rem; }
p  { font-size: 1.05rem; }

body { background: var(--color-bg); color: #111827; font-size: 18px; line-height: 1.65; }


#tabs {
  text-align: center;
}

#nav,
#logo {
  display: inline-block;
  padding: 1rem;
}

#nav {
  text-align: right;
}


#logo {
  width: 100px;
  height: 95px;
  float: left;
}

h4{
  padding: 1rem;
}

.left,
.right {
  display: inline-block;
  padding: 1rem;
}

.task {
  text-align: center;
}

p{
  padding-bottom: 1rem;
}

/* 
.button:after {
  content: "";
  background-color: lightblue;
  width: 100%;
  z-index: -1;
  position: absolute;
  height: 100%;
  top: 7px;
  left: 7px;
  transition: 0.2s;
}

.button:hover:after {
  top: 0px;
  left: 0px;
} */


#divider {
  width: 99%;
  padding-left: 4rem;
  padding-right: 4rem;

}

.search-form {
  margin: 15px 0;
  display: flex;
  align-items: center;
  padding: 1rem;
}

.search-form i {
  position: absolute;
  font-size: 26px;
  width: 36px;
  height: 36px;
  padding: 8px;
}

.search-form input {
  width: 100%;
  padding: 8px 12px;
  padding-left: 42px;
  font-size: 16px;
  border: 1px solid cornflowerblue;
  border-radius: 30px;
}

.search-form input:focus {
  outline: none;
  border: 1px solid black;
}

.search-results .result-items{
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 1rem 1rem;
    border-bottom: 0.5px solid black;
}


/*  front page thing */

/* navbar */
#nav{
  width:100%;
  
}

.linknav{
  padding: 20px;
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
}
.linknav:hover { color: var(--color-primary); }

.profileimg{
  width:40px;
  height: 40px;
  position: relative;
  top: 10px;
}

/*  main center thing*/

.main-center{
  width: 75%;
  text-align: center;
  margin: auto;
  top: 10%;
}

.sign-up{
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border: none;
  color: white;
  padding: 16px 28px;
  margin-top: 2%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  min-width: 220px;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.backgroundimg{
  background-size: cover;
  background-repeat: no-repeat;
  height: 50vh;
  width: 100%;
  object-fit: cover;

}

.main-center{
    position: relative;
}

.main-center .text{
    position: absolute;
    z-index: 999;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;

}

/* Bottom Part */

.intro{
  width: 100%;

  height: 50%;
  padding: 200px;
  background-color: #E8E6E6;

  
}

.intro .text{
  width: 65%;
  background-color: #fff;
/*   padding: 100px; */
  padding-left: 130px;
  padding-right: 130px;
  padding-top: 90px;
  padding-bottom: 90px;
  margin-left: 40%;
  
}

.intro .text h1{
  width: 75%
}

/* very bottom part */

.team{
  margin: auto;
  width: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.info{
  display: flex;
  flex-direction: row;
  width: 100%
}

.team .deep-info{
  display: flex;
  flex-direction: row;
  text-align: center;
}

.learn{
  width: 50%;
}

.part{
  display: flex;
  flex-direction: column;
  width: 33%
}


.part p{
  width: 75%;
  text-align: center;
  margin: auto;
}

/* TASKS PAGE  */


/* PRIZES @page */
.taskinfos h1{
  padding-top: 4rem;
}

.taskinfos{
  text-align: center;
}

#tabs{
  padding: 10px;
  padding-bottom: 4rem;
}

#tabs, .taskinfos{
  background-color: #DEECF1;
}

.btabs{
  text-decoration: none;
  color: #000;
  padding: 15px;
  border-radius: 30px;
  background-color: #ffffff;
  cursor: pointer;
}

.button{
  text-decoration: none;
  padding: 12px 18px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  font-weight: 600;
  cursor: pointer;
  border: 0;
}
.button:hover { filter: brightness(1.02); transform: translateY(-1px); }

.search-results .result-items .left p{
  padding-top:10px;
}

a{
  text-decoration: none;
}


.indent{
  text-indent: 10%;
}


.taskinfo{
  text-align: left
}


.linknav{
    line-height: 100px;
  }

/* Hero section shared across task pages */
.hero{
  width: 100%;
  min-height: 260px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  margin: 12px auto 8px;
}
.hero .hero-content{
  background: rgba(255,255,255,0.9);
  padding: 16px 24px;
  border-radius: 12px;
  text-align: center;
}

.content-illustration{
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin: 16px 0;
}