*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* the header */
body{
    background-color: black;
}
.hero{
    align-items: center;
    /*background: black;*/
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    height: 500px;
    justify-content: center;
    margin: 0;
    max-width: 1920px;
    overflow: hidden;
    padding: 5px 0;
    position: relative;
    text-align: center;
    width: 100%;    
}

.video-r{
    display: block;  
    height: auto;
    position: absolute;
    transform: translate(-50%, -50%, -50%);
    width: 100%;
    z-index: -1;
}

header a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 0%;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 45px;
}


li {
    display: inline-block;
    background-color: black;
    border-radius: 50px;
    margin: 20px;
    padding: 0 20px 0 20px;
    text-align: center;
}

a:hover {
    background-color: rgb(133, 88, 29);
    border: 5px;
    border-color: rgb(160, 33, 33);
    padding: 0;
}

/* countdown */

.form-area, .counter, .complete{
       padding: 20px;
       border-radius: 5px;
       box-shadow: blue;
       width: fit-content;
       margin-left: auto;
       margin-right: auto;
       margin-left: auto;
       margin-top: 10%;
}

.form-area{
      font-size: 14px;
      font-weight: bold;
}

.form-area input{
    display: block;
    margin: 15px;
    padding: 10px;
    margin-left: 0;
    margin-right: 0;
    width: 300px;
}

button{
    
    background-image: linear-gradient(315deg, #a40606 0%, #d98324 74%);
    width: 100%;
    padding: 15px;
    border: none;
    color: wheat;
    font-weight: bold;
    font-size: 16px;
    border-radius: 5px;
}

button:hover{
    background-color: blue;
    cursor: pointer;
}

.counter h1{
    text-align: center;
}

li {
    display: inline-block;
    font-size: 30px;
    list-style-type: none;
    padding: 10px;
    text-transform: uppercase;
    color: linear-gradient(319deg, #FDEE00 0%, #ff8243 37%, #f94d00 100%);
}
li span{
    display: inline-block;
    font-size: 80px;
    text-align: center;
}
.complete-title{
    animation: complete 4s infinite;
    text-align: center;
}

@keyframes complete {
    0%{
        color: red;
    }

    25%{
        color: yellow;
        transform: rotate(5deg);
    }

    50% {
        color: green;
        transform: scale(1.2);
    }

    75%{
        color: blue;
        transform: rotate(-5deg);
    }

    100%{
        color: purple;
        transform: rotate(8deg);
    }
}


/* slides */

section{
  background-color: black;
}
.carousel {
    background-color: black;
    width: 100%;
    overflow-x: hidden;
    margin: 3em;
    display: flex;
    gap: 1em;
}

.card {
    color: white;
    width: 700px;
    padding-right: 1em;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    background: black;
    border: 1px solid red;
    margin-bottom: 40px;
    border: 3px solid black;
    scroll-snap-align: start;
    aspect-ratio: 5/3;
    border-radius: 60%;
    font-weight: bold;
    gap: 1em;
    text-align: center;
    align-content: center;
    animation: spin 5s infinite linear;
}    

.carousel-track {
    width: max-content;
    display: flex;
    animation: scroll 100s linear infinite;
}
@keyframes scroll {
    0%{
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.carousel:hover .carousel-track{
    animation-play-state: paused;
}

.card image {
    width: 150px;
    height:  150px;
    border-radius: 0 20px 0 20px;
}

@media(max-width: 500px) {
    .card {
        flex: 0 0 100%;
    }

}

.p_2 {
    padding: 50px;
    margin: 20px;
    text-align: center;
}

.test {
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    background-image: url('HIVlab.jpg');
}


/* footer */
footer{
    background-color: black;
}

.footerContainer{
    width: 100%;
    padding: 70px 30px 20px 0;
}
.SocialIcons{
    display: flex;
    justify-content: center;
}

.SocialIcons a{
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin-top: 10px;
    border-radius: 50%;
}

.SocialIcons a i{
    font-size: 40px;
    color: black;
    opacity: 0.9;
}

.SocialIcons a:hover{
    background-color: black;
    transition: 0.5s;
}
.SocialIcons a i:hover{
    color: white;
    transition: 0.5s;
}

.footerNav{
    margin: 30px 0;
}

.footerNav ul{
    display: flex;
    justify-content: center;

}
.footerNav ul li a{
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 30px 0; 
    opacity: 0.7s;
    transform: 0.5s;
}

.footerNav ul li a:hover{
    opacity: 1;
}

.footerbottom{
    background-color: black;
    padding: 20px;
    text-align: center;
}

.footerbottom P{
    color: white;
}
.designer{
    opacity: 0.7s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0 5px;
}