/* Hide scrollbar for Chrome, Safari and Opera */
.modal::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
-ms-overflow-style: none;  /* IE and Edge */
scrollbar-width: none;  /* Firefox */
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
@keyframes gradient-background {
  0% {backgroud: #4e3b30;}
  10% {background: #48362c;}
  20% {background: #533d31;}
  30% {background: #4a372b;}
  40% {background: #4e3b30;}
  50% {background: #5c483c;}
  60% {background: #3f3027;}
  70% {background: #523c2f;}
  80% {background: #674e3f;}
  90% {background: #463429;}
  100% {background: #4e3b30;}
}

body {
  animation: gradient-background 200s ease infinite;
  background-size: 200% 200%;
}
body{
    background: #4e3b30;
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.7;
    overflow: hidden;
}

p{
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.7;
	color: #1f2029;
}

.section{
  position: relative;
  width: 100%;
  display: block;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
}
.full-height{
  min-height: 100vh;
}

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked){
  position: absolute;
  left: -9999px;
}
.modal-btn:checked + label,
.modal-btn:not(:checked) + label{
  position: relative;
  font-size: 15px;
  line-height: 2;
  height: 50px;
  transition: all 200ms linear;
  border-radius: 4px;
  width: 240px;
  letter-spacing: 1px;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  -ms-flex-pack: center;
  text-align: center;
    -ms-flex-item-align: center;
    align-self: center;
  border: none;
  cursor: pointer;
  background-color: #ffeba7 ;
  color: #4e3b30;
  box-shadow: 0 12px 35px 0 rgba(0, 0, 0, 0.25);
}
.modal-btn:not(:checked) + label:hover{
  background-color: #a19574;
  color: #ffeba7;
}
.modal-btn:checked + label .uil,
.modal-btn:not(:checked) + label .uil{
	margin-left: 10px;
	font-size: 18px;
}
.modal-btn:checked + label:after,
.modal-btn:not(:checked) + label:after{
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 110;
  width: 40px;
  border-radius: 3px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  font-size: 18px;
  background-color: #ffeba7;
  color: #a19574;
  font-family: 'unicons';
  content: '\eac6'; 
  box-shadow: 0 12px 25px 0 rgba(16,39,112,.25);
  transition: all 200ms linear;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
.modal-btn:checked + label:hover:after,
.modal-btn:not(:checked) + label:hover:after{
  background-color: #ffeba7;
  color: #a19574;
}
.modal-btn:checked + label:after{
  transition: opacity 300ms 300ms ease, transform 300ms 300ms ease, background-color 250ms linear, color 250ms linear;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.modal{
  position: fixed;
  display: block;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  overflow-x: hidden;
  background-color: rgba(31,32,41,.75);
  pointer-events: none;
  opacity: 0;
  transition: opacity 250ms 700ms ease;
}
.modal-btn:checked ~ .modal{
  pointer-events: auto;
  opacity: 1;
  transition: all 300ms ease-in-out;
}
.modal-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
  padding-bottom: 20px;
  background-color: #fff;
    -ms-flex-item-align: center;
    align-self: center;
    box-shadow: 0 12px 25px 0 rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 250ms 250ms ease, transform 300ms 250ms ease;
}
.modal-wrap img {
  display: block;
  width: 100%;
  height: auto;
}
.modal-wrap p {
  padding: 20px 30px 0 30px;
}
.modal-btn:checked ~ .modal .modal-wrap{
  opacity: 1;
  transform: scale(1);
  transition: opacity 250ms 500ms ease, transform 350ms 500ms ease;
}
.card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.logo {
	position: absolute;
	top: 25px;
	left: 25px;
	display: block;
	z-index: 1000;
	transition: all 250ms linear;
}
.logo img {
	height: 26px;
	width: auto;
	display: block;
    filter: brightness(10%);
	transition: filter 250ms 700ms linear;
}
.modal-btn:checked ~ .logo img {
  	filter: brightness(100%);
	transition: all 250ms linear;
}


@media screen and (max-width: 500px) {
	.modal-wrap {
		width: calc(100% - 40px);
		padding-bottom: 15px;
	}
	.modal-wrap p {
	  padding: 15px 20px 0 20px;
	}
}

#back-button {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 10px;
  background-color: #ffeba7;
  color: #4e3b30;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

#back-button:hover {
  background-color: #a19574;
  color: #ffeba7;
}

.logo {
  position: fixed;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-size: 24px;
  color: #333;
}
.profile-card {
  border: 1px solid #ccc;
  padding: 20px;
  margin: 20px;
  width: 350px;
  height: 400px;
  border-radius: 5px;
  box-shadow: 0 12px 25px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;  
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 auto;
}

.profile-name {
  font-size: 20px;
  color: #333;
  text-align: center;
}

.profile-title {
  font-size: 16px;
  color: #666;
  text-align: center;
}

.profile-bio {
  font-size: 14px;
  color: #999;
  text-align: center;
}
.profile-links {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;

}
.link-image {
  padding: 0 10px;
  background-repeat: no-repeat;
  background-position: left center;
  display: flex;
  align-items: center;
}

.profile-links a {
  color: #0066cc;
  text-decoration: none;
}

.profile-links a:hover {
  text-decoration: underline;
}
.link-image {
  padding-left: 20px;
  background-repeat: no-repeat;
  background-position: left center;
}
.link-image img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.profile-card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.profile-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.profile-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120vh; /* This makes the container take up the full height of the viewport */
}

.hidden {
    display: none;
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* This makes the container take up the full height of the viewport */
}

header {
    text-align: center;
}

p {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
  color: #333;
}

.back-button {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  background-color: #6b5345;
  color: #fff;
  border-radius: 5px;
  font-size: 1rem;
  margin: 10px 0;
  transition: background-color 0.3s ease-in-out;
}

.back-button:hover {
  background-color: #967f72;
}
