: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;
    padding-bottom: 5vh;
    overflow: hidden;
    background-color: var(--soft-orange);
}

ul .logo {
    justify-content: flex-end;
}

li {
    float:right;
}

li a {
    font-family: bodyfont;
    font-weight: 400;
    font-size: 20px;
    display: block;
    color: white;
    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: white;
    background-color: var(--blackish);
    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(--blackish);
    font-family: bodyfont;
}

.navbtn {
    padding: 24px, 8px;
}

li .donatebtn:hover {
    background-color: white;
    color: var(--soft-orange);
    border-color: var(--soft-orange);
}

li a:hover {
    background-color: var(--soft-orange);
    color: var(--blackish); 
}

.sidebar .donatebtn {
    border-radius: 999px;
    border-width: 0.2px;
    font-size: 20px;
    font-weight: 700;
    display: block;
    color: white;
    background-color: var(--soft-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(--soft-orange);
    font-family: bodyfont;
}

.sidebar .donatebtn:hover {
    background-color: var(--blackish);
    color: white;
    border-color: var(--blackish);
}

.sidebar {
    position: fixed;
    top:0;
    right:0;
    height: 100vh;
    width:250px;
    z-index: 999;
    background-color: white;
    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: var(--blackish)
}

.sidebar li a:hover {
    background-color: white;
    color: var(--soft-orange)
}

.sidebar .navbtn {
    width: auto;
}

.menubtn {
    display: none;
}

#menubtnsvg {
    fill: white;
}

#menubtnsvg:hover {
    fill: var(--blackish);
}

#closebtnsvg {
    fill: var(--blackish);
}

#closebtnsvg:hover {
    fill: var(--soft-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: var(--blackish);
}

.container {
    height: 100vh;
}

.section {
    height: 120%;
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    background-size: cover;
    font-size: 3em;

}


.main {
    width: 100%;
    max-width: 95%;
    margin: 0, auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

header {
    font-family: mainfont;
    font-weight: 700;
    font-size: 50px;
    text-align: center;
    color: var(--blackish);
    background-color: #F7A77B;
    padding: 1%;
}

.mem {
    background-color: white;
    display: block;
    height: fit-content;
}

#us-map path {
    stroke: var(--blackish);
    fill:var(--soft-orange) !important;

    transition: fill .4s ease;
    transform-origin: center center;
}


#us-map #IA, #us-map #CA, #us-map #NJ, #us-map #NC, #us-map #IL, #us-map #MA, #us-map #GA, #us-map #NV, #us-map #OK, #us-map #WA, #us-map #FL, #us-map #IN, #us-map #PA, #us-map #TX, #us-map #CO, #us-map #VA, #us-map #NY {
    fill: var(--yellow-orange) !important;
    stroke: var(--blackish);
    transition: fill .4s ease;
    transform-origin: center center;
}

#us-map{
#IA:hover, #CA:hover, #NJ:hover, #NC:hover, #IL:hover, #MA:hover, #GA:hover, #NV:hover, #OK:hover, #WA:hover, #FL:hover, #IN:hover, #PA:hover, #TX:hover, #CO:hover, #VA:hover, #NY:hover {
    fill: white !important;
    cursor: pointer;
    transform: scale(1.005, 1.005);
}
}

#us-map path:hover {
    fill: white !important;
    cursor: pointer;
    transform: scale(1.005, 1.005);
}

.mapContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    flex-direction: column;
}

#us-map {
    display: block;
    position: relative;
    width: 80%;
    height: auto;
}


#details-box {
    box-shadow: 0px 7px 40px rgba(0, 0, 0, 0.7);
    opacity: 0%;
    padding: 1rem;
    border-radius: 8px;
    font-size: 24px;
    position: fixed;
    color: white;
    font-family: bodyfont;
    background-color: var(--blackish);
    width: fit-content;
    transform: translateX(-50%);
    transition: opacity .4s ease;
    z-index: 1;
}
.line {
    fill: none !important;
}

.caption {
    color: white;
    font-family: bodyfont;
    font-weight: 700;
    font-size: 60px;
    text-align: center;
    padding-top : 2vw;
}

.member img {
    height: 200px;
    width: 200px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
}

.member {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hide {
    opacity:0;
}

.Exec{
    display: flex;
    background-color: var(--blackish);
    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;
}

.sec-1, .sec-2 {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
    

.name {
    color: var(--soft-orange);
    font-family: bodyfont;
    font-size: 25px;
    font-weight: 700;
}

.title {
    color: var(--soft-orange);
    font-family:bodyfont;
    font-size: 15px;
    font-weight: 400;
}

.member a {
    text-decoration: none;
}

.member a:hover {
    .name {
        color:white;
}
    .title {
        color: white;
    }
}

/*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;
}

footer {
    background-color: var(--soft-orange);
    color: white;
    display: flex;
    height: 40%;
    overflow: hidden;
    justify-content: space-between;
}

.st {
    color: var(--blackish);
    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: var(--blackish);
    float:left;
    width:30%;
    height:auto;
    border:none;
    padding-left: 0;
    padding-right: 2vh;
    font-family: bodyfont;
    font-weight: 700;
    font-size: 20px;
    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: white !important;
}

input[type = text] {
    color: var(--blackish);
    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: white;
    background-color: var(--blackish);
    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(--soft-orange);
}

.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;
  }


.slide-up {
    animation-name: slide-up;
    animation-duration: 0.6s;
    animation-delay: calc(var(--animation-order) * 100ms);
    animation-fill-mode: backwards;
    animation-timing-function: cubic-bezier(0.250, 0.460, 0.450, 0.940);
}

@keyframes slide-up {
    0% {
        -webkit-transform: translateY(100px);
                transform: translateY(100px);
                opacity: 0;
      }
      100% {
        -webkit-transform: translateY(0px);
                transform: translateY(0px);
                opacity: 1;
      }
  }


  @-webkit-keyframes slide-up {
    0% {
        -webkit-transform: translateY(100px);
                transform: translateY(100px);
      }
      100% {
        -webkit-transform: translateY(0px);
                transform: translateY(0px);
                opacity: 1;
      }
  }
    


/* Mobile & Tablet Css */

  @media screen and (max-width: 950px) {
    .hideOnMobile {
        display: none;
    }

    .menubtn {
        display: block;
    }

    .nd h3 {
        font-size: 30px;
    }

    footer {
        justify-content: space-evenly;
        height: auto;
    }

    .st {
        width: auto;
    }

    .nd {
        width: auto;
    }

    .Exec {
        flex-direction: column;
        align-items: center;
    }

    .sec-1, .sec-2 {
        justify-content: center;
    }

    .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;
    }
    
}

@media screen and (max-width: 500px) {
    .sidebar {
        width: 100%
    }

    .caption {
        font-size: 20px;
    }

    header {
        font-size: 30px;
    }

} 