:root {
    --blackish: #1C1C13;
    --pinK: #F18A73;
    --soft-orange: #F7A77B;
    --yellow-orange: #F9EE86;
  }

  @font-face {
    font-family: "mainfont";
    src: url("fonts/NotoSans-Regular.ttf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "bodyfont";
    src: url("fonts/Karla-Regular.ttf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "mainfont";
    src: url("fonts/NotoSans-Bold.ttf");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "bodyfont";
    src: url("fonts/Karla-Bold.ttf");
    font-weight: 700;
    font-style: normal;
}



html { 
    scroll-behavior: smooth;
}

ul {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding-right: 10vw;
    padding-left:10vw;
    padding-top: 5vh;
    overflow: hidden;
    background-color: white; }

ul .logo {
    justify-content: flex-end;
}

li {
    float:right;
}

li a {
    font-family: bodyfont;
    font-weight: 400;
    font-size: 20px;
    display: block;
    color: var(--blackish);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li .donatebtn {
    border-radius: 999px;
    border-width: 0.2px;
    font-size: 20px;
    font-weight: 700;
    display: block;
    color: var(--blackish);
    background-color: var(--yellow-orange);
    text-align: center;
    padding-top: 5px;
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 5px;
    word-break: keep-all;
    text-align:center;
    align-self: center;
    width: fit-content;
    border-color: var(--yellow-orange);
    font-family: bodyfont;
}

.navbtn {
    padding: 24px, 8px;
}

li .donatebtn:hover {
    background-color: var(--blackish);
    color: var(--yellow-orange);
    border-color: var(--blackish);
}

li a:hover {
    background-color: white;
    color: var(--yellow-orange); 
}

.sidebar .donatebtn {
    border-radius: 999px;
    border-width: 0.2px;
    font-size: 20px;
    font-weight: 700;
    display: block;
    color: var(--blackish);
    background-color: var(--yellow-orange);
    text-align: center;
    padding-top: 5px;
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 5px;
    word-break: keep-all;
    text-align:center;
    align-self: center;
    width: fit-content;
    border-color: var(--yellow-orange);
    font-family: bodyfont;
}

.sidebar .donatebtn:hover {
    background-color: white;
    color: var(--blackish);
    border-color: white;
}

.sidebar {
    position: fixed;
    top:0;
    right:0;
    height: 100vh;
    width:250px;
    z-index: 999;
    background-color: var(--blackish);
    box-shadow: -10px 0px 10px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
}

.sidebar li {
    width:100%;
    padding: 0;
    flex-direction: column-reverse;
    float: center;
}

.sidebar li a {
    color: white;
}

.sidebar li a:hover {
    background-color: var(--blackish);
    color: var(--yellow-orange)
}

.sidebar .navbtn {
    width: auto;
}

.menubtn {
    display: none;
}

#menubtnsvg {
    fill: var(--blackish);
}

#menubtnsvg:hover {
    fill: var(--yellow-orange);
}

#closebtnsvg {
    fill: white;
}

#closebtnsvg:hover {
    fill: var(--yellow-orange);
}

.closebtn a {
    text-align: left;
}

.logo {
    float: left;
    width: 10%;
    height: auto;
    margin-top: 0;
    margin-right: auto;
}

.logo img {
    width: 100%;
    height: auto;
    
}

body {
    margin: 0;
    padding:0;
    background-color: white;
}

.container {
    height: 100vh;
}

.section {
    display: block;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    background-size: cover;
    font-size: 3em;
}

.mini {
    height: 60%;
    background-color: var(--yellow-orange);
}

.filler {
    height: 30%;
}

.mission {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    padding-left: 10vw;
    padding-right: 10vw;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.mission h2 {
    font-family: bodyfont;
    font-weight: 700;
    font-size: 30px;
}

.mission p {
    font-family: bodyfont;
    font-weight: 400;
    font-size: 20px;
    padding-right: 10%;
    padding-left: 10%;
}

.page-header{
    text-align: center;
    position: relative;
    font-family: mainfont;
    font-size: 50px;
    font-weight: 700;
    color: var(--blackish);
}

.yellow-txt {
    color: var(--yellow-orange)
}

.sec-header {
    text-align: center;
    position: relative;
    font-family: mainfont;
    font-weight: 700;
    font-size: 30px
}

.campaign {

    .sec-header {
        margin-bottom: 0;
}

    .instruct {
        margin-top: 0;
    }
}

.instruct {
    text-align: center;
    position: relative;
    font-family: bodyfont;
    font-weight: 400;
    font-size: 15px;
}

.flip-card {
    color: var(--blackish);
    width:20vw;
    height:20vw;
    background: transparent;
    border:none;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
  }
  
  /* This container is needed to position the front and back side */
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  /* Do an horizontal flip when you move the mouse over the flip box container */
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  /* Position the front and back side */
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
  }
  
  /* Style the front side (fallback if image is missing) */
  .flip-card-front {
    background-color: var(--yellow-orange);
    color: var(--blackish);
    align-items: center;
    font-family: bodyfont;
    font-weight: 700;
    font-size: 25px;
    border-radius: 15px;
    justify-content: center;
    display:flex;

  }
  
  /* Style the back side */ 
  .flip-card-back {
    border-radius: 15px;
    background-color: var(--blackish);
    color: white;
    transform: rotateY(180deg);
    font-size: 13px;
    font-family: bodyfont;
    justify-content: center;
    align-items: center;
    display:flex;
  }

  .flip-card-back p {
    padding: 10px;
  }

.boxes {
    display: flex;
    flex-direction: row;
    align-content: center;
    flex-wrap: wrap;
    justify-content: space-evenly;
    text-align: center;
}

.member img {
    height: 300px;
    width: 300px;
    display: block;
    object-fit: cover;
    border-radius: 15px;
}

.member {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hide {
    opacity:0;
}

.Exec{
    display: flex;
    list-style: none;
    text-align: left;
    width: 100%;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: space-evenly;
    flex-direction: row;
    align-items: flex-start;
}

span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}


.name {
    color: var(--blackish);
    font-family: bodyfont;
    font-size: 25px;
    font-weight: 700;
}

.title {
    color: var(--blackish);
    font-family:bodyfont;
    font-size: 15px;
    font-weight: 400;
}

.member a {
    text-decoration: none;
}

.member a:hover {
    .name {
        color:var(--yellow-orange);
}
    .title {
        color: var(--yellow-orange);
    }
}

/*popup*/
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 20;
  }
  .overlay:target {
    visibility: visible;
    opacity: 1;
  }
  
  .popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 70%;
    position: relative;
    transition: all 5s ease-in-out;
    z-index: 50;
  }
  
  .popup h2 {
    margin-top: 0;
    color: var(--blackish);
    font-family: mainfont;
    text-align: left;
    font-size: 40px;
  }

  .content p {
    margin-top: 0;
    font-family: bodyfont;
    text-align: left;
    font-size: 20px;
    display: flex;
  }
  .popup .close {
    position: relative;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
  }
  .popup .close:hover {
    color: var(--pinK);
    background-color: white;
  }
  .popup .content {
    overflow: hidden;
  }

.leftImg {
    display: flex;
    justify-content: center;
    align-items: center;
}

.leftImg img {
    border-radius: 4px;
    align-items: center;
    display: flex;
}

.rightText {
    padding-left: 5%;
    display: flex;
    padding-left: 5%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nameHeader {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}


#st-box {
    color: var(--blackish);
    display: flex;
    float:left;
    width:18vw;
    height:18vw;
    background-color:var(--yellow-orange);
    border:none;
    font-family: bodyfont;
    font-weight: 700;
    font-size: 25px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;


}
#nd-box {
    color: var(--blackish);
    display: flex;
    float:left;
    width:18vw;
    height:18vw;
    background-color:var(--yellow-orange);
    border:none;
    font-family: bodyfont;
    font-weight: 700;
    font-size: 25px;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    border-radius: 15px;

}
#rd-box {
    color: var(--blackish);
    display: flex;
    float:left;
    width:18vw;
    height:18vw;
    background-color:var(--yellow-orange);
    border:none;
    font-family: bodyfont;
    font-weight: 700;
    font-size: 25px;
    text-align:center;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;

}

.applybtn {
    display: block;
    border-radius: 999px;
    font-family: bodyfont;
    font-weight: 700;
    border: none;
    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 4%;
    padding-right: 4%;
    background-color: var(--yellow-orange);
    font-size: 25px;
    color: var(--blackish);
    word-break: keep-all;
    text-align: center;
}

.applybtn, a {
    text-decoration: none;
}

.applybtn:hover {
    background: white;
    color: var(--yellow-orange);
}

.three-columns{
    display: flex;
    flex-direction: row;
    overflow: hidden;
    justify-content: space-between;
    align-items: stretch;
}

.joinheader {
    font-family: mainfont;
    font-weight: 700;
    font-size: 40px;
    text-align: center;
}

.join-text {
    text-align: center;
    position: relative;
    font-family: bodyfont;
    font-size: 22px;
    font-weight: 400;
    color: var(--blackish); 
}

.grid-box {
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 5%;
    padding-right: 5%;
}

.applybtn2 {
    color: var(--blackish);
    background-color: var(--yellow-orange);
    font-family: bodyfont;
    font-weight: 700;
    font-size: 22px;
    border-radius: 999px;
    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 4%;
    padding-right: 4%;
    word-break: keep-all;
    text-align: center;
    text-decoration: none;
}

.donatebtn2 {
    display: block;
    border-radius: 999px;
    font-family: bodyfont;
    font-weight: 700;
    border: none;
    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 4%;
    padding-right: 4%;
    background-color: white;
    font-size: 22px;
    color: var(--blackish);
    word-break: keep-all;
    text-align: center;
    text-decoration: none;
}

.donatebtn:hover{
    background-color: var(--blackish);
    color: white;
}

footer {
    background-color: var(--blackish);
    color: var(--pinK);
    display: flex;
    height: 40%;
    overflow: hidden;
    justify-content: space-between;
}

.st {
    color: var(--yellow-orange);
    float:left;
    width:20%;
    height:auto;
    border:none;
    padding-left: 2vh;
    padding-right: 2vh;
    font-family: bodyfont;
    font-weight: 700;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 1.05vw;
}
.nd {
    color: white;
    float:left;
    width:30%;
    height:auto;
    border:none;
    padding-left: 0;
    padding-right: 2vh;
    font-family: bodyfont;
    font-weight: 700;
    justify-content: center;
    align-items: center;
    text-align: start;
    overflow: hidden;
    }

.nd h3 {
    font-size: 35px;
}

.rd {
    color: var(--blackish);
    overflow: hidden;
}

.footimg {
    height: auto;
    width: auto;
}

.socials {
    display: inline;
    margin-top: auto;
    justify-content: space-evenly;
    align-content: center;
    text-align: justify;
}

.socials img {
    fill: var(--pinK) !important;
}

input[type = text] {
    color: var(--yellow-orange);
    background-color: white;
    border-radius: 8px;
    padding: 4%;
    border: none;
    width: 90%;
    font-family: bodyfont;
    font-weight: 700;
}

input[type = submit] {
    margin-top: 2vh;
    color: var(--blackish);
    background-color: var(--yellow-orange);
    border-radius: 999px;
    padding-top: 2%;
    padding-bottom: 2%;
    padding-right: 5%;
    padding-left: 5%;
    border:none;
    font-family: mainfont;
    font-weight: 700;
}

input[type=text]:focus {
    border-color: var(--blackish);
    color: var(--pinK);
}

.cursor {
    position: absolute;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: white;
    transition: 250ms ease-out;
    mix-blend-mode: difference;
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(4);
    transition: transform 0.5s ease-in-out;
    mix-blend-mode: difference;
  }

.nothing {
    margin: 0;
	padding: 0;
	border: 0;
	font-size: 22px;
	font-family: bodyfont;
	vertical-align: baseline;
    color: var(--blackish);
    background: none;
}

/* Mobile & Tablet Css */

@media screen and (max-width: 950px) {
    .hideOnMobile {
        display: none;
    }

    .menubtn {
        display: block;
    }

    /* .section {
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        flex-wrap: wrap;
    }  */

    footer {
        justify-content: space-evenly;
        height: auto;
    }

    .st {
        width: auto;
    }

    .nd {
        width: auto;
    }

    .three-columns{
        display: flex;
        flex-direction: column;
        overflow: hidden;
        justify-content: flex-start;
        align-items: stretch;
    }

    .grid-box {
        width: auto;
    }

    .mission-text {
        font-size: 30px;
    }

    .join-text {
        font-size: 18px;
    }

    .nothing {
        font-size: 18px;
    }

    .joinheader {
        font-size: 35px;
    }

    .content p {
        font-size: 12px;
    }

    .popup h2 {
        font-size: 35px;
    }

    .caption {
        font-size: 30px;
    }
}


@media screen and (max-width: 720px){
    .content {
        flex-direction: column;
    }

    .nameHeader {
        justify-content: center;
        flex-direction: column-reverse;
        align-items: center;
    }

    .rightText {
        padding-left: 0;
    }

    .content p {
        text-align: center;
    }

    .leftImg {
        display: none;
    }

    .colu {
        display: flex;
        flex-direction: column;
    }
    

    .flip-card{
        width: 40vw;
        height: 40vw;
        margin-bottom: 10%;
    }

    
}

@media screen and (max-width: 600px) {
    .sidebar {
        width: 100%
    }

    .caption {
        font-size: 20px;
    }

    header {
        font-size: 30px;
    }

    .flip-card-back{
        font-size: 10px;
    }

}