/* ==== THIS IS THE MAIN STYLE SHEET FOR GET ACTIVITY ==== */

/* ========== GENERAL STYLING ============= */
* {
	margin: 0;
    padding: 0;
    box-sizing: border-box;
	color: white;
	font-family: 'IBM Plex Sans', sans-serif;
    /*font-family: 'Playfair Display', serif;
    font-family: 'Yatra One', cursive;*/
}
body {
    background-color: #212121;
    padding: 20px 90px;
    background-image: url(../images/imagry.png);
    background-size: cover;
    background-position:center;
    background-repeat: no-repeat;
    height: 100vh;
}
.text-primary {
	color: #0d7377;
}
.loader {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	z-index: 99;
    background-color: #212121;
    transition: all 0.8s;
}
/* ===== Preloader animation ====== */
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #14ffec;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }
.loader.done {
	animation: fadeOut 1s;
    animation-fill-mode: forwards;
}
@keyframes fadeOut {
	100% {
		opacity: 0;
		visibility: hidden;
	}
}


  
/* ================================= */
/* ============ HEADER ============= */
/* ================================= */
header {
	display: flex;
	justify-content: space-between;
	padding: 20px 0px;
}
.logo {
    font-weight: 600;
    font-family: 'Yatra One', cursive;
    text-shadow:0.1px 0.1px 10px #08635b;
}
.nav-link {
    font-size: 0.9rem;
    font-family: 'Yatra One', cursive;
	text-decoration: none;
	margin-left: 5px;
	padding: 0.5rem 1rem;
	border-radius: 20px;
}
.nav-link.current {
    color: #14ffec;
    font-weight: 400;
    background-color: #252525;
    border: 1px solid #14ffec;
    box-shadow: 1px 1px 15px #08635b;
}
.nav-link.current:hover,
.nav-link.current:active,
.nav-link.focus {
	outline: none;
    background-color: #14ffec;
    transition: all 0.6s;
    transform: translateY(5px);
    color: #212121;
    cursor: pointer;
}
.menu-btn {
	margin: 0;
	padding: 0;
	display: none;
	margin-left: 10px;
	margin-top: auto;
	margin-bottom: auto;
	cursor: pointer;
	z-index: 3;
}
.btn-line {
	width: 18px;
	height: 2px;
	margin: 0 0 5px 0;
	background: #0d7377;
	transition: all 0.6s;
}
/* ================================= */
/* ========= MAIN CONTENT ========== */
/* ================================= */

#main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 82vh;
}
.landing-area {
    position: relative;
    background-color: #212121;
	flex-wrap: wrap;
    height: 70vh;
    width: 400px;
    border-radius: 5px;
    border: 1px solid #14ffec;
}
.description {
    height: 35vh;
    background-image: url(../images/1.jpg);
    transition: all 0.6s;
    background-size: cover;
    background-position: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.description h4 {
    margin-bottom: 1rem;
}
.description p {
    text-align: center;
    font-size: small;
    margin-bottom: 1rem;
}
button {
	color: #0d7377;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 400;
    background-color: #252525;
	padding: 0.7rem 2rem;
	margin: 0.3rem 0;
    border: 1px solid #0d7377;
    margin-bottom: -1rem;
    transition: all 0.6s;
}
button:hover, button:focus, button:active {
    outline: none;
    background-color: #14ffec;
    font-weight: 600;
    transition: all 0.6s;
    transform: translateY(5px);
    color: #212121;
    cursor: pointer;
}
.content{
    height: 35vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
}
#activity_card {
    background-color: #ffffff0c;
    height: 27vh;
    border-left: 0.4rem solid #14ffec;
    margin: 0.5rem 1rem;
    padding: 0.7rem 0.9rem;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}
.static_text {
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 300;
    margin: auto 0;
    color: #551414;
}
.heading {
    text-align: center;
    font-weight: 500;
    color: white;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
    font-family: 'Playfair Display', serif;
}
#activity_card p {
    font-size: 0.8rem;
    font-style: italic;
    color: rgba(190, 190, 190, 0.774);
}
#activity_title {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
    color: #14ffec !important;
    font-style: normal !important;
    font-family: 'Yatra One', cursive !important;
}
#activity_card a {
    color: #0d7377;
}
.other {
    margin-top: 0.5rem;
    color: #0d7377 !important;
    text-align: right;
}
.italic {
    font-size: 0.6rem;
    font-style: italic;
    margin: 0 1rem;
    color: #525252;
}

/* ================================= */
/* ============ FOOTER ============= */
/* ================================= */

#footer {
    bottom: 0;
    text-shadow:0.1px 0.1px 10px #08635b;
}
/* ============================================= */
/* ==== MEDIA QUERIES / RESPONSIVE VIEWS ======= */
/* ============================================= */

@media screen and (max-width: 760px) {
	body {
		padding: 20px 30px;
    }
    .nav-link.current {
        color: #14ffec;
        font-weight: 400;
        background-color: #252525;
        border: 1px solid #14ffec;
        box-shadow: 1px 1px 10px #14ffec;
    }
    
	.menu-btn {
		position: relative;
		display: flex;
		flex-direction: column;
		transition: all 0.6s;
	}
	nav {
		color: white;
		position: fixed;
		display: grid;
		grid-gap: 30px;
		text-align: center;
		justify-content: center;
		align-content: center;
		flex-direction: column;
        width: 50vw;
        z-index: 2;
		right: 0;
		top: 0;
		height: 100vh;
		transition: all 0.6s;
		transform: translate3d(100%, 0, 0);
		visibility: hidden;
        background-color: #212121;
        box-shadow: 0 0 0 900px rgba(0, 0, 0, 0.561);
	}
	.nav-link {
		color: white;
		margin: 0;
	}
	nav.show {
		visibility: visible;
		transform: translate3d(0, 0, 0);
	}
	.menu-btn.close {
		transition: all 0.6s;
		color: red;
	}
	.menu-btn.close .btn-line:nth-child(1) {
		transform: rotate(45deg) translateY(5px);
		background-color: #14ffec;
	}
	.menu-btn.close .btn-line:nth-child(2) {
		display: none;
	}
	.menu-btn.close .btn-line:nth-child(3) {
		transform: rotate(-45deg) translateY(-5px);
		background-color: #14ffec;
	}
	button {
		margin: 10px 0;
    }
    .description {
        padding: 1.5rem;
    }
    #activity_title {
        font-size: 0.8rem !important;
        margin-bottom: 0.3rem !important;
        
    }
    #activity_card p {
        font-size: 0.7rem;
    }
    #footer {
        font-size : small;
    }
    
}

@media screen and (max-width: 350px) {
    body {
		padding: 10px 30px;
    }
    .description {
        padding: 1rem;
    }
    .description p {
        margin-bottom: 0;
    }
    
    .description h4 {
        font-size : 0.9rem;
        margin-bottom: 0.8rem;
    }
    .description p {
        
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
    }
    button {
        font-size: 0.6rem;
        padding: 0.5rem 1.5rem;
    }
    button:hover, button:focus, button:active {
        font-weight: 500;
    }
    #activity_card {
        border-left: 0.2rem solid #14ffec;
    }
    .static_text {
        font-size: 0.8rem;
        
    }
    .heading {
        margin-bottom: 0.3rem;
        font-size: 0.75rem;
    }
    #activity_card p {
        font-size: 0.7rem;
    }
    #activity_title {
        font-size: 0.8rem !important;
        margin-bottom: 0rem !important;
    }
    #activity_card a {
        color: #0d7377;
    }
    .other {
        margin-top: 0.4rem;
    }
    .italic {
        font-size: 0.4rem;
        margin: 0 0.7rem;
    }
    .nav-link {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    .logo {
        font-size: small;
    }
    
}
