@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

:root {
  --primary-clr: #ec9007;
  --white: #fff;
  --text-clr: #353535;
  --tabs-list-bg-clr: #f1b04c;
  --btn-hvr: #ec9007;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
}

header {
  position: fixed;
  right: 0px;
  top: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 33px 10%;
  background: transparent;
}

.logo {
  font-size: 30px;
  font-weight: 700;
  color: white;
}

.navlist {
  display: flex;
}

.navlist a {
  color: white;
  margin-left: 60px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.55s ease;
}

.navlist a:hover {
  border-bottom: 2px solid white;
}

.hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background-color: #ffffff;
}

.sidebar {
	height: 100vh;
	width: 250px;
	position: fixed;
	top: 0;
	/*display: none;*/
	left: 0;
	transition: all ease-in-out 300ms;
	transform: translateX(-100%);
	background-color: #ffffff;
	padding-top: 20px;
	z-index: 1000;
}

.sidebar h2 {
	color: #000000;
	text-align: center;
	margin-bottom: 30px;
}

.sidebar ul {
	list-style-type: none;
}

.sidebar ul li {
	padding: 10px;
	text-align: center;
}

.sidebar ul li a {
	color: #000000;
	text-decoration: none;
	display: block;
}

.sidebar ul li a:hover {
	background-color: #ffffff;
}

body {
  background: var(--primary-clr);
  font-size: 12px;
  color: var(--text-clr);
  font-family: "Poppins", sans-serif;
  background: linear-gradient(245.59deg, #f1b04c 0%, #ec9007 28.53%, #dc6601 75.52%);
}

.flex_align_justify {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper {
  min-height: 100vh;
  padding: 0 20px;
}

.tc_wrap {
  width: 700px;
  max-width: 100%;
  height: 400px;
  background: var(--white);
  display: flex;
  border-radius: 3px;
  overflow: hidden;
}

.tc_wrap .tabs_list {
  width: 200px;
  background: var(--tabs-list-bg-clr);
  height: 100%;
}

.tc_wrap .tabs_content {
  width: calc(100% - 200px);
  padding: 0 10px 0 20px;
  height: 100%;
}

.tc_wrap .tabs_content .tab_head,
.tc_wrap .tabs_content .tab_foot {
  color: var(--primary-clr);
  padding: 25px 0;
  height: 70px;
}

.tc_wrap .tabs_content .tab_head {
  text-align: center;
}

.tc_wrap .tabs_content .tab_body {
  height: calc(100% - 100px);
  overflow: auto;
}

.tc_wrap .tabs_list ul {
  padding: 70px 20px;
  text-align: right;
}

.tc_wrap .tabs_list ul li {
  padding: 10px 0;
  position: relative;
  margin-bottom: 3px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.5s ease;
}

.tc_wrap .tabs_list ul li:before {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  width: 2px;
  height: 100%;
  background: var(--primary-clr);
  opacity: 0;
  transition: all 0.5s ease;
}

.tc_wrap .tabs_list ul li.active,
.tc_wrap .tabs_list ul li:hover {
  color: var(--primary-clr);
}

.tc_wrap .tabs_list ul li.active:before {
  opacity: 1;
}

.tc_wrap .tabs_content .tab_body .tab_item h3 {
  padding-top: 10px;
  margin-bottom: 10px;
  color: var(--primary-clr);
}

.tc_wrap .tabs_content .tab_body .tab_item p {
  margin-bottom: 20px;
  text-align: justify;
  padding-right: 7px;
}

.tc_wrap .tabs_content .tab_body .tab_item.active {
  display: block !important;
}

.tc_wrap .tabs_content .tab_foot button {
  width: 125px;
  padding: 5px 10px;
  background: transparent;
  border: 1px solid;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.5s ease;
}

.tc_wrap .tabs_content .tab_foot button.decline {
  margin-right: 15px;
  border-color: var(--tabs-list-bg-clr);
  color: var(--tabs-list-bg-clr);
}

.tc_wrap .tabs_content .tab_foot button.agree {
  background: var(--primary-clr);
  border-color: var(--primary-clr);
  color: var(--white);
}

.tc_wrap .tabs_content .tab_foot button.decline:hover {
  background: var(--tabs-list-bg-clr);
  color: var(--white);
}

.tc_wrap .tabs_content .tab_foot button.agree:hover {
  background: var(--btn-hvr);
  border-color: var(--btn-hvr);
}

.Updated {
  position: absolute;
  bottom: 6%;
  right: 9%;
  color: white;
  font-size: small;
}

.Copyright {
  position: absolute;
  bottom: 6%;
  left: 9%;
  color: white;
  font-size: small;
}

@media screen and (max-width: 768px) {
  body{
    overflow-y: hidden;
  }

  header {
    position: relative;
    z-index: 2;
  }

  .navlist {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    overflow-x: auto;
    white-space: nowrap;
    z-index: 1;
  }

  .hamburger {
		display: flex;
	}

  #menu-icon.active + .navlist {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }

  .tc_wrap {
    width: 100%;
    height: auto;
    flex-direction: column;
  }

  .tc_wrap .tabs_list {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    overflow-x: auto;
    white-space: nowrap;
  }

  .tc_wrap .tabs_list ul {
    display: flex;
    justify-content: flex-start;
    padding: 10px 0;
    margin: 0;
  }

  .tc_wrap .tabs_list ul li {
    padding: 5px 10px;
    margin: 0 5px;
    cursor: pointer;
  }

  .tc_wrap .tabs_content {
    width: 100%;
    padding: 10px;
    height: 70vh;
    overflow-y: scroll;
  }

  .tc_wrap .tabs_content .tab_body {
    height: auto;
  }

  .flex_align_justify {
    align-items: baseline;
  }

  .Updated {
    display: none;
  }

  .Copyright {
    bottom: 5%;
    left: 5%;
  }
  
}