
:root{
    --deepblue:#000930;
    --blue:#1a3a6a;
    --green:#6fc48e;
    --orange:#f47321;
    --yellow:#fbec7b;
    --white:#eef6e2;

}

/* fonts */
@font-face{
    font-family: 'aquire';
    src: url('../Fonts/Aquire/Aquire.otf');
}
@font-face{
    font-family: 'aquireLight';
    src: url('../Fonts/Aquire/AquireLight.otf');
}
@font-face{
    font-family: 'aquireBold';
    src: url('../Fonts/Aquire/AquireBold.otf');
}
@font-face{
    font-family: 'roboto';
    src: url('../Fonts/Roboto/Roboto.ttf');

}
@font-face{
    font-family: 'robotoLight';
    src: url('../Fonts/Roboto/Roboto-Light.ttf');

}
@font-face{
    font-family: 'robotoMedium';
    src: url('../Fonts/Roboto/Roboto-Medium.ttf');

}


*, html, body{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'robotoMedium';
    list-style-type: none;
}
body
{
    overflow-x: hidden;
    padding-right: 0 !important
}
html{
    overflow-x:hidden;
    scroll-padding-top: 4rem;
}
/*scrollbar*/
/* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background:var(--white);
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background:var(--orange);
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: var(--green);
  }
/* navbar */
.navbar-brand{
    opacity:0;
    animation:fadeLeft 1.5s forwards;
    animation-delay: 2s;
}
.navbar-nav{
    opacity:0;
    animation:fadeRight 1.5s forwards;
    animation-delay: 2s;
}
nav{

    height: 15vh;
}
nav a{
    color: var(--white);
    font-family: 'robotoLight';
}
nav .navbar-nav{
    width: 60%;
    font-size: 1.2rem;
}
nav .nav-link{
    transition: all 0.3s;
}
.active{
    color: var(--orange);
    border-bottom: 2px solid var(--orange);
}
nav .nav-link:hover, .nav-link:focus{
    color: var(--orange);
    border-bottom: 2px solid var(--orange);
}

nav button i{
    color: var(--white);
    font-size: 2rem;
}
nav button:focus{
    outline: none;
}
.nav-colored{
    background-color: var(--deepblue);
    transition: background-color 200ms linear;
}
.nav-transparent{
    background-color:transparent;
}


/* landing */
#home{
    background-image:url(../images/background.jpeg);
    background-position: center;
    background-size: cover;
    height: 100vh;
}
#home .landing{
    width: 100%;
    margin: 0 auto;
    padding-top: 30vh;
    color: var(--white);
}
#home .container h2{
    font-size: 5rem;
    color: var(--orange);
    letter-spacing: 3px;
    font-family:'aquireBold';
}
#home .landing h4{
    font-weight: 100;
    color: var(--white);
    font-family: 'aquireLight';
    animation:scale 1s forwards;
}
#home .landing h2
{
    opacity:0;
    animation:fadeUp 1.5s forwards;
    animation-delay: 0.5s;
}


/* timer */
.timer{
    opacity:0;
    animation:fadeDown 1s forwards;
    animation-delay:1.5s;
}
#event-timer
{
    display:flex;
    flex-direction: row;
    color:var(--white);
    font-size:2rem;
    width: 50%;
    margin: 0 auto;
    
}
#event-timer div
{
    margin:1rem;
    border:1px solid var(--orange);
    display:flex;
    flex-direction: column;
    width:6rem;
    height:6rem;
    padding:0.5rem;
    background-color:transparent;
    color:var(--orange);
    font-size:1rem;
    font-family:'aquire';
}
#event-timer span
{
    font-size:2rem;
    font-weight: bold;
    color:var(--white);
}
.down
{
    width:5rem;
    height:5rem;
    background-color: transparent;
    position:absolute;
    top:90vh;
    left:50%;
    transform:translateX(-50%);
    text-align:center;
    
}
.down i
{
    display:block;
    color:var(--green);
    font-size:2.2rem;
    animation: up 2s infinite;
}


#about, #events, #team, #gallery,#schedule{
    padding: 3.9em; 
    padding-top:3.9em;   
    background-color: #eef6e2;
}

/* about */
#about p, #team p
{
    color:var(--blue);
    font-size:1rem;
    line-height: 1.5;
    font-family: 'robotoLight';
    font-weight: bold;
}

.heading{
    padding-bottom:3.9rem;
    
}
#about .row img{
    height: 90%;
    width: 90%;
}
#about .row .col-lg-6{
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-button{
    border:2px solid var(--orange);
    font-size: 1rem;
    color: var(--orange);
    font-family: 'robotoLight';
    font-weight: bold;
}
.about-button:hover{
    background: var(--orange);
    color: var(--white);
}
.btn:focus, .btn:active{
    outline: none !important;
    box-shadow: none;

}
.first-letter
{
    font-size:3.2rem;  
    font-weight: 500;
    font-family: 'aquireBold';
}
.section-heading
{
    font-size:2.2rem;
    letter-spacing:0.2rem;
    color:var(--orange);
    font-weight:100;
    font-family: 'aquire';
}
.line-1
{
    width:190px;
    background-color: var(--yellow);
    height:10px;
    margin-bottom:10px;
    border-radius:5px 50px 50px 5px;
}
.line-2
{
    width:95px;
    background-color: var(--green);
    height:10px;
    border-radius:5px 50px 50px 5px;
}

/* events */
#events,#gallery
{
    background-color:var(--blue);
}
#events .heading .line-1
{
    width: 210px;
}
#events .heading .line-2
{
    width:105px;
}
.card
{
    width:85%;
    margin:3rem auto 8rem auto;
    border-left:1px solid var(--yellow);
    border-bottom:1px solid var(--yellow);
    background-color:transparent;
    padding:1rem;
}
.right-border
{
    border-right:1px solid var(--yellow);
    border-left:none;
}
.card-body .card-title{
    font-size:2rem;
    color:var(--orange);
    font-weight: 100;
    font-family: 'aquireLight';
}
.card-body .card-text p{
    font-size:0.9rem;
    color:var(--white);
    font-family: 'robotoLight';
}
.card-body .card-text .col-lg-12 p
{
    font-size:0.8rem;
}
.fa-whatsapp
{
    color:var(--green);
    font-size:1rem;
}
.fa-whatsapp:hover
{
    color:var(--orange);
    font-size:1.2rem;
}
.right-text
{
    text-align:right;
}
.card-body
{
    padding:0.5rem 1rem;
}
#events .col-md-8,#events .col-md-4,#team .col-md-6
{
    display:flex;
    justify-content: center;
    align-items:center
}
#events .btn
{
   border-radius: 0;
}

#know
{
    border:1px solid var(--green);
    color:var(--green);
}
#problem
{
    border:1px solid #5bc0de;
    color:#5bc0de
}
#register
{
    border:1px solid var(--yellow);
    color:var(--yellow);
    
}
#register:hover,#know:hover,#problem:hover
{
    border:1px solid var(--orange);
    color:var(--orange);
}
#know:focus,#register:focus,#problem:focus
{
    outline:none;
}
.modal-content
{
    background-color:var(--white);
    border:none;
    width:80%;
    height:80vh;
    box-shadow: 5px 10px 10px 5px rgba(0,0,0,0.4);
    border-radius:5px 10px 5px 10px;

}
.modal-header
{
    background-color:var(--green);
    border-bottom:5px solid var(--deepblue);
    color:var(--deepblue);
}
.modal-header .modal-title{
    font-family: 'aquireBold';
}
.modal-body p
{
    color:var(--deepblue);
    font-family: 'robotoLight';  
}
.modal-body h5
{
    color:var(--orange);
    font-family: 'aquireLight';
}
.modal-body h4
{
    font-family: 'aquireLight';
}
.modal-body p a
{
    font-family: 'robotoLight'; 
    color:var(--orange);
}
.card-text div span
{
    color:var(--yellow);
    font-family:"robotoLight";
}
.close:focus
{
    outline:none;
}

.close, .close:hover
{
    color:var(--deepblue);
    border:none;
    font-size:2rem;
    opacity:1;
}
/* schedule */
#schedule .heading .line-1
{
    width:270px;
}
#schedule .heading .line-2
{
    width:135px;
}
#schedule .timetable{
    width: 80%;
    margin: 0 auto;
    font-size: 1rem;
    border-left: 1.5px solid var(--deepblue);
}
#schedule .timetable p{
    font-family: 'robotoLight';
    font-weight: bold;
}
#schedule .timetable .col-12{
    font-size: 1.3rem;
    
}
#schedule .timetable .col-12 p{
    font-family: 'aquire';
    color: var(--blue);
    border-bottom: 1px solid var(--blue)
}
#schedule .timetable .time p{
    color: var(--orange);
}

/* gallery */
#gallery .heading .line-1{
    width:230px;
}
#gallery .heading .line-2{
    width:115px;
}
#gallery .col-md-4, #gallery .col-6{
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-bottom: 1em;
    position: relative;
}
.overlay {
    position: absolute;
    bottom: 0.8em;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5); /* Black see-through */
    color: white;
    width: 95%;
    transition: .5s ease;
    opacity:0;
    font-size: 1.2em;
    padding: 15px 20px 10px 30px;

    
  }
  .overlay p{
    font-family: 'robotoLight';
    border-left: 2px solid var(--orange);
    letter-spacing: 1px;
    padding: 0.3em 0.3em 0.3em 0.5em;
  }
  #gallery .col-md-4:hover .overlay {
    opacity: 1;
  }
  #gallery .col-md-4:hover .overlay {
    opacity: 1;
  }
/* team */
#team .heading .line-1
{
    width:280px;
}
#team .heading .line-2
{
    width:190px;
}
#team .row .col-6{
    padding-bottom: 5rem;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}
#team .row .col-6 img{
    height: 80%;
    width: 80%;
}

#dept
{
    color:var(--orange);
    font-family: 'aquireLight';
}

/* footer */
footer{
    position: relative;
    bottom: 0;
    width: 100%;
    height: 20%;
    background-color: var(--deepblue);
    color: var(--white);
    text-align: right;
}
footer p{
    border-bottom: 1px solid var(--white);
    font-family: 'robotoLight';
    font-size: 1rem;
    margin-left: 40%;
    letter-spacing: 3px;
}
.footer-links{
    padding:0;
    margin:0;
}
.footer-links li{
    display: inline;
}
.footer-links li a{
    color: var(--white);
    text-shadow: 1px 1px 15px var(--white);
    font-size: 1.2rem;
}
.footer-links li a:hover{
    color: var(--orange);
    text-shadow: 1px 1px 15px var(--orange);
}
@media screen and (min-width:769px) and (max-width:1200px){
    nav .navbar-nav{
        width: 90%;
        font-size: 1rem;
    }
    
}
@media screen and (max-width:768px){
    .first-letter{
        font-size: 3rem;
    }
    .section-heading{
        font-size:2rem;
    }
    .line-1
    {
    width:160px;
    }
    .line-2
    {
    width:80px;
    }
    #events .heading .line-1
    {
        width:180px;
    }
    #events .heading .line-2
    {
        width:90px;
    }
    #schedule .heading .line-1
    {
        width:230px;
    }
    #schedule .heading .line-2
    {
        width:115px;
    }
    #gallery .heading .line-1
    {
        width:200px;
    }
    #gallery .heading .line-2
    {
        width:100px;
    }
    #team .heading .line-1
    {
        width:240px;
    }
    #team .heading .line-2
    {
        width:120px;
    }
    html{
        scroll-padding-top: 5rem;
    }
    /* navbar */
    .navbar-toggler.collapsed ~ .navbar-collapse {
        transition: left 500ms ease-in-out;
    }
    .navbar-nav{
        
        opacity:1;
        animation:fadeRight 0s forwards;
        animation-delay: 0s;
    }
    .navbar-toggler{
        opacity:0;
        animation:fadeRight 1.5s forwards;
        animation-delay: 2s;
    }
    .active{
        border-bottom: none;
    }
    nav .nav-link:hover, .nav-link:focus{
        border-bottom: none;
        font-size:1.5rem;
    
    }
    .nav-link
    {
        padding:20px;
        font-size: 1.2rem;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 0px; 
        left: 0;
        padding:10vh 20px 10vh 20px;
        width: 70%;
        height: 100vh;
        background-color: var(--deepblue);
    }

    .navbar-collapse.collapsing {
        left: -75%;
        transition: height 0s ease;
    }

    .navbar-collapse.show {
        left: 0;
        transition: left 300ms ease-in-out;
    }

    .navbar-toggler.collapsed ~ .navbar-collapse {
        transition: left 500ms ease-in-out;
    }


    #home .landing h2{
        font-size:3rem;
    }
    #home .landing h4{
        font-size:1.2rem;
    }
    #event-timer{
        width: 100%;
    }
    #event-timer div
    {
    width:4rem;
    height:4rem;
    padding:0.3rem;
    color:var(--orange);
    font-size:0.7rem;
    }
    #event-timer span
    {
    font-size:1.2rem;
    }
    .down
    {
        top:85vh;
    }
    #about, #events, #team, #gallery, #schedule{
        padding:2.9rem 1rem;
    }
    #about p, #team p{
        font-size: 1rem;
    }
    .text{
        margin-bottom: 2rem;
    }
    #team .row .name h4{
        font-size: 1.2rem;
    }
    #team .row .name p{
        font-size: 1rem;
    }
    #team .row .name a{
        font-size: 1rem;
    }
    #schedule .timetable{
        width: 100%;
        font-size: 0.8rem;
    }
    #schedule .timetable .col-12{
        font-size: 1.1rem;
    }
    footer p{
        font-size: 0.8rem;
        margin-left: auto;
        letter-spacing: 0;
    }
    .footer-links li a{
        font-size: 0.8em;
    }
    .modal-content{
        height: 60vh;
    }
    .overlay {
        position: absolute;
        bottom: 1em;
        width: 92%;
        font-size: 1em;
        padding: 4px 20px 1px 20px;
        height: 40px;
    
        
      }
      .overlay p{
        padding: 0.1em 0.3em 0.1em 0.5em;
      }
}

@keyframes fadeUp
{
    0%
    {
        transform:translateY(4rem);
    }
    100%
    {
        opacity:1;
        transform:translateY(0);
    }
}
@keyframes fadeLeft
{
    0%
    {
        transform:translateX(-4rem);
    }
    100%
    {
        opacity:1;
        transform:translateX(0);
    }
}
@keyframes fadeRight
{
    0%
    {
        transform:translateX(4rem);
    }
    100%
    {
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes scale
{
    0%
    {
        transform:scale(2);
    }
    100%
    {
        opacity:1;
        transform:scale(1);
    }
}

@keyframes fadeDown
{
    0%
    {
        transform:translateY(-1rem);
    }
    100%
    {
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes up
{
    0%
    {
        opacity:0;
    }
    50%
    {
        opacity:1;
    }
    100%
    {
        opacity:0;
        transform:translateY(0.6rem);
    }
}
@media screen and (max-width:400px){
    #event-timer div
    {
    margin:0.3rem;
    width:3rem;
    height:3rem;
    padding:0.2rem;
    color:var(--orange);
    font-size:0.5rem;
    }
    #event-timer span
    {
    font-size:1rem;
    }
}