@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Poppins:wght@400;500;700&display=swap');

:root{
    /* colors  */
    --primaryColor:#fff;
    --secondaryColor:#000;
    --navBorderColor:#000;

    /* fonts  */
    --mainFont:"poppins";
    --secondaryFont:"Permanent Marker";
    --mainTxtColor:#000;
    --bntTxtColor:#000;
    --bntHoverTxtColor:#fff;
    --fs-header:1.5rem;
    --fw-header:700;
    --fw-header-nav:500;
    --fs-hero-content-header:3.5rem;
    --fw-hero-content-header:100;
    --fs-hero-content-body:1rem;
    --fw-hero-content-body:400;
    --fs-hero-content-bnt:1.2rem;
    --fw-hero-content-bnt:500;
    --fs-icon:2rem;
}.dark-theme{
        /* colors  */
        --primaryColor:#000;
        --secondaryColor:#fff;
        --navBorderColor:#fff;
    
        /* fonts  */
        --mainFont:"poppins";
        --secondaryFont:"Permanent Marker";
        --mainTxtColor:#fff;
        --bntTxtColor:#fff;
        --bntHoverTxtColor:#000;
        --fs-header:1.5rem;
        --fw-header:100;
        --fw-header-nav:100;
        --fs-hero-content-header:3.5rem;
        --fw-hero-content-header:100;
        --fs-hero-content-body:1rem;
        --fw-hero-content-body:400;
        --fs-hero-content-bnt:1.2rem;
        --fw-hero-content-bnt:500;
        --fs-icon:2rem;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    height: 100%;
    width: 100%;
    font-family: var(--mainFont);
    padding:  40px 20px;
     background-image: linear-gradient(to right,#ef395b,#f14d45,#340bae);
    background-size: cover;
    background-attachment: fixed;
}



/* home page  */
.home-page{
    width: 100%;
    height: 100%;
    padding: 40px 140px 10px;
    overflow: hidden;

}

img{
    width: 120px;
    height: auto;
}

video{
    border-radius: 15px;
    height: auto;
    object-fit: contain;
}


/* header section  */
.header-section{
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 30px;
    color: var(--mainTxtColor);
}

.header-section .header-logo{
    font-weight: var(--fw-header);
    cursor: pointer;
    animation: header-logo 1s ease forwards;
}

.header-section .header-nav{
    padding: 5px;
    height: 100%;
    width: 90%;
    display: inline-flex;
    justify-content: space-between;
}

.header-nav ul{
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;

}
.header-nav ul li{
    list-style-type: none;
    opacity: 0;
    animation: header-nav 0.5s ease forwards;
    background-color: none;
    border-radius: 14px;   
}
.header-nav ul li:nth-child(2){
    animation-delay: 0.5s;
}
.header-nav ul li:nth-child(3){
    animation-delay: 1s;
}
.header-nav ul li:nth-child(4){
    animation-delay: 1.5s;
}
.header-nav ul li a{
    text-decoration: none;
    font-size: 15px;
    font-weight: bolder;
    color: white;
    margin-left: 10px;
    margin-right: 10px;
    }

.highlight {
    height: 10px;
    background-color: white;
    border-radius: 10px;
    position: absolute;
    bottom: -10px;
    transition: all 0.5s ease-in-out;
    animation: header-nav 0.5s ease forwards;
    margin-bottom: 5px;
}
.mode-change{
    cursor: pointer;
    animation: header-nav 1s ease forwards;
    margin-left: 30px;
    color: transparent;
}
.mobile-nav-bar{
    display: none;
}

/* hero section  */
.hero-section{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    color: var(--mainTxtColor);
    background-color: white;
    border-radius: 14px;
    border: 4px solid white;
    margin-top: 10px;
}
/* hero content  */
.hero-section .hero-content{
    height: 100%;
    width: 70%;
}

h2{
    margin: 5px;
}

h3{
    margin: 5px;
}

h1{
    font-size: 40px;
    margin-top: 0px;
    color: black;
    background-color: white;
    border-radius: 14px;
    border: 4px solid white;
    margin-bottom: 10px;
    padding-left: 10px;
}

p{
    color: black;
    background-color: white;
    border-radius: 14px;
    border: 4px solid white;
   
}

form{
    border: 2px solid orange;
    border-radius: 10px;
    color: orange;
}

tr{
    border: 2px solid orange;
    border-radius: 10px;
    color: orange;
}

.contents
{

    border: 2px solid white;
    padding:  40px 20px;
    border-radius: 10px;
    background-color: white;
    border-radius: 20;
}

.content-header h1,
.content-header p{
    opacity: 0;
    animation: hero-content 0.5s ease forwards;
}
.content-header h1:nth-child(2){
    animation-delay: 0.5s ;
}
.content-header p{
    animation-delay: 1s ;
}
.hero-content h1{
    font-size: 50px;
}
.hero-content p{
    font-size: 20px;
}

.content-btn{
    padding-top: 20px;
    animation: hero-btn 2s ease forwards ;
}
.content-btn button{
    margin: 10px;
    padding: 5px 10px;
    font-size: var(--fs-hero-content-bnt);
    font-weight: var(--fw-hero-content-bnt);
    color: black;
    border-radius: 10px;
    border: 2px solid black;
    background-color: transparent;
    cursor: pointer;
    opacity: 1;
    transition: transform 1s ease-in-out;
}
.content-btn button:hover{
    background-color: var(--secondaryColor);
    color: var(--bntHoverTxtColor);
    transform: translateY(-10px) scale(1.1);
}

/* hero image  */
.hero-section .hero-image{
        width: 40%;
        height: 100%;
}
.hero-image img{
    height: 50%;
    float: right;
    opacity: 0;
    animation: hero-img 2s ease forwards;
}

/* social icon list  */
.social-icon-list{
    display: flex;
    align-items: center;
    font-size: var(--fs-icon);
    position: relative;
    bottom: 10px;
    left: 0;
    cursor: pointer;
    opacity: 0;
    animation: icon-list 1.5s ease forwards;
}
.social-icon-list i{
    padding: 0 10px ;
    transition: all 0.5s ease;

}
.social-icon-list i:hover{
    transform: translateY(-10px) scale(1.1); 
}


/* responsive design  */
@media (max-width:768px) {
    :root{
    /* fonts  */
    --fs-header:1.5rem;
    --fw-header:500;
    --fw-header-nav:500;
    --fs-hero-content-header:2.5rem;
    --fw-hero-content-header:700;
    --fs-hero-content-body:0.9rem;
    --fw-hero-content-body:400;
    --fs-hero-content-bnt:1rem;
    --fw-hero-content-bnt:500;
    --fs-icon:2rem;
    }.dark-theme{
        /* colors  */
        --primaryColor:#000;
        --secondaryColor:#fff;
        --navBorderColor:#fff;
    
        /* fonts  */
        --mainFont:"poppins";
        --secondaryFont:"Permanent Marker";
        --mainTxtColor:#fff;
        --bntTxtColor:#fff;
        --bntHoverTxtColor:#000;
        --fs-header:1.5rem;
        --fw-header:700;
        --fw-header-nav:500;
        --fs-hero-content-header:2.5rem;
        --fw-hero-content-header:700;
        --fs-hero-content-body:0.9rem;
        --fw-hero-content-body:400;
        --fs-hero-content-bnt:1rem;
        --fw-hero-content-bnt:500;
        --fs-icon:2rem;
    }
    .home-page{
        height: 100%;
        padding: 20px;
        overflow: hidden;
    }
    .header-section .header-nav{
        width: 25%;
        color: black;
    }



    .header-nav .header-nav-list{
        display: block;
        background-image: linear-gradient(to right,#ef395b,#f14d45,#340bae);
        color: black;
        overflow: hidden;
        content: " ";
        height: 100%;
        width: 80%;
        border: grey;
        box-shadow: 3px 3px 10px var(--secondaryColor);
        flex-direction: column;
        justify-content: space-around;
        position: absolute;
        right: 30px;
        z-index: 999;
        transition: all 0.5s ease;
        transform: translateX(200%) scale(0);
    }
    .header-nav span{
        display: none;
        color: black;
    }
    .mobile-nav-bar{
        display: block;
        z-index: 9999;
        color: white;
    }
    .hero-section .hero-content{
        height: 100%;
        width: 100%;
    }
    .hero-section .hero-image{
        height: 100%;
        width: 100%;
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: -1;
        
    }
    .social-icon-list{
        flex-direction: column;
        position: relative;
    }
    .social-icon-list i{
        padding: 10px 0;
    }
    .social-icon-list i:hover{
        transform: translateX(10px) scale(1.1); 
    }
}


/* keyframes 
 */
@keyframes header-logo {
    0%{
        transform: translateX(-100%) scale(0);
    }
    100%{
        transform: translateX(0) scale(1);
    }
}

@keyframes header-nav {
    0%{
        transform: translateY(-100%);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-content {
    0%{
        transform: translateY(100%);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes hero-btn {
    0%{
        transform: translateX(-100%);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes hero-img {
    0%{
        transform: translateX(100%);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes icon-list {
    0%{
        transform: translateY(100%);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

   footer{
  margin: 0;
  padding: 0;
  background-color: white;
  text-align: center;
  color: black;
  margin-top: 150px;
  border-radius: 15px;
  font-size: x-small
 }
 .widget li {
  margin-top: 2px;
  border-color: grey;
  border-radius: 15px;
  color: grey;
  text-align: center;
  text-decoration: none;
  list-style: none;
  text-decoration-line: none;
 }

 p{
    color: black;
    background-color: transparent;
    border-radius: 14px;
    border: none;
    padding: 10px;
   
}

form{
    border: 2px solid mediumblue;
    border-radius: 10px;
    color: black;
}

input{
    
    border-radius: 10px;
    color: black;
}

td{
    border-radius: 10px;
    color: black;
}

input {
  outline: 1px solid #ccc;
  border: 0 outset;
  height: 2.3rem;
  border-radius: 10px;
  flex-direction: column;
}
input::placeholder {
  font-weight: 350;
  font-size: small;
}
/* Button */

i {
  margin-right: 8px;
  font-weight: 700;
}
button {
  padding: 5px 3px;
  color: white;
  border-radius: 20px;
  background: #4CAF50;
  font-size: 9px;
  cursor: pointer;
}
button:hover {
  background: white;
  color: black;
}
button:active {
  transform: translateY(4px);
}



#right {
  background: none;
  width: 25rem;
  height: 25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
  margin-top: 5px;
}

#image {
  width: 310px;
  height: 310px;
  background: black;
  border-radius: 7px;
  list-style: none;
  text-decoration: none;
}
img {
  border: 5px solid white;
  border-radius: 7px;
  list-style: none;
  text-decoration: none;
}
