@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f8ff;
    overflow-x: hidden;
}

.main-width{
	width: 1100px;
	max-width: 95%;
	margin: 0 auto;
}

.hero{
	height: 100%;
	width: 100%;
	min-height: 100vh;
	background: url(img/faqbg2.jpg);
    background-size: cover;
	position: relative;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
    height:100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	margin: 0;
	padding: 0;
}

.hero header .logo h2 a{
	display: block;
	font-size: 32px;
	font-weight: 600;
	text-decoration: none;
	color: rgb(0, 0, 0);
}

.hero header{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 40px 0 30px;
}

nav ul li{
	list-style: none;
	display: inline-block;
}

nav ul li a{
	text-decoration: none;
	color: rgb(0, 0, 0);
	margin-left: 60px;
    margin-top: -100px;
	font-size: 15px;
	font-weight: 600;
	border-bottom: 2px solid transparent;
	transition: .4s;
}

nav ul li:not(:last-child) a:hover,
nav ul li:not(:last-child) a:focus{
	border-bottom: 2px solid white;
}

nav ul li.active a{
	border-bottom: 2px solid rgb(0, 0, 0);
}

.btn a {
    display: inline-block;
    background-color: #33c2e2;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    text-decoration: none;    
}

nav ul li.btn:hover a{
	border: 1px solid white;
	color: black;
	background: white;
	transition: .5s;
}

.container{
    margin: 0 270px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.container h1{
    color: #ffffff;
    background-color: #a04141b0; 
    padding: 2px;
    border-radius: 5px; 
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); 
}

.container .tab{
    position: relative;
    background: #fff;
    padding: 0 20px 20px;
    box-shadow: o 15px 25px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    overflow: hidden;
}

.container .tab input{
    appearance: none;
}

.container .tab label{
    display: flex;
    align-items: center;
    cursor: pointer;
}

.container .tab label::after{
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 2em;
    color: rgba(0, 0, 0, 0.1);
    transition: transform 1s;
}

.container .tab:hover label::after{
    color: #333;
}

.container .tab input:checked ~ label::after{
    transform: rotate(135deg);
    color: #fff;
}

.container .tab label h2{
    width: 40px;
    height: 40px;
    background: #333;
    display: flex;
    justify-content: center;
    color: #fff;
    font-size: 1.25em;
    border-radius: 5px;
    margin-right: 10px;
}

.container .tab input:checked ~ label h2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.2);
    font-size: 8em;
    justify-content: flex-end;
    padding: 20px;
}

.container .tab:nth-child(2) label h2{
    background: linear-gradient(135deg,#70f570,#49c628);
}

.container .tab:nth-child(3) label h2{
    background: linear-gradient(135deg,#3c8ce7,#00eaff);
}

.container .tab:nth-child(4) label h2{
    background: linear-gradient(135deg,#ff96f9,#c32bac);
}

.container .tab:nth-child(5) label h2{
    background: linear-gradient(135deg,#fd6e6a,#ffc600);
}

.container .tab:nth-child(6) label h2{
    background: linear-gradient(135deg,#f87079,#bd0d24);
}

.container .tab label h3{
    position: relative;
    font-weight: 500;
    color: #333;
    z-index: 10;
}

.container .tab input:checked ~ label h3{
    background: #fff;
    padding: 2px 10px;
    color: #753838;
    border-radius: 2px;
    box-shadow: 0px 15px rgba(0, 0, 0, 0.05);
}

.container .tab .content{
    max-height: 0;
    transition: 1s;
    overflow: hidden;
} 

.container .tab input:checked ~ .content{
    max-height: 100vh;
}

.container .tab .content p{
    position: relative;
    padding: 10px 0;
    color: #333;
    z-index: 10;
}

.container .tab input:checked ~ .content p{
    color: #fff;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.hero header {
    animation: fadeIn 1.5s ease-in-out;
}

.container {
    padding-top: 10px;
    animation: fadeIn 1.8s ease-in-out;
}



