@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;400;500&display=swap');

/* for small screens */
@media (max-width: 990px) {
    .Section{
        padding: 20px;
    }

    .BodyContainerSlidesDown{
        animation: SlideBodyMobile 0.2s ease-in 0.1s forwards;
    }
    
    .BodyContainerSlidesUp{
        animation: SlideBodyMobile 0.2s ease-out 0.1s reverse forwards;
    }

    .SideMenu{
        width: 80vw !important;
    }

    .SocialBarRight{
        position: absolute;
        bottom: 0px;
        border-top-left-radius: 20px;
    }

    .PreTitle{
        font-size: 1em;
        color: black;
        font-weight: 400;
        margin-bottom: 0 !important;
    }

    .Title{
        font-size: 1.6em;
        color: var(--main-bg-color);
        font-weight: 500;
    }
    
    .Subtitle{
        font-size: 0.8em;
        color: var(--main-bg-color);
        font-weight: 400;
    }

    .SectionCountdown{
        padding: 2vh 5vw;
        margin-left: -20px;
        margin-bottom: -20px;
    }

    .CountDownVal{
        font-size: 1.4em;
    }

    .CountDownLabel{
        font-size: 0.8em;
    }

    .CountDownEntry{
        margin-right: 10px;
    }

    .BottomMenu_desktop{
        display: none !important;
    }

    .ImportantDatesEntry{
        width: 42%;
    }

    .ImportantDatesEntry .DateTitle{
        font-size: 1em;
    }
    
    .ImportantDatesEntry .DateText{
        font-size: 0.8em;
    }

    .FooterClgDetails{
        text-align: center !important;
    }
}

/* for big screens */
@media (min-width: 990px) {
    .Section{
        padding: 40px;
    }
    
    .BodyContainerSlidesDown{
        animation: SlideBodyDesktop 0.2s ease-in 0.1s forwards;
    }
    
    .BodyContainerSlidesUp{
        animation: SlideBodyDesktop 0.2s ease-out 0.1s reverse forwards;
    }

    .SocialBarRight{
        position: fixed;
        top: 50vh;
        transform: translateY(-50%);   
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    .PreTitle{
        font-size: 1.1em;
        color: black;
        font-weight: 400;
        margin-bottom: 0 !important;
    }

    .Title{
        font-size: 1.8em;
        color: var(--main-bg-color);
        font-weight: 500;
        max-width: 60%;
    }
    
    .Subtitle{
        font-size: 1em;
        color: var(--main-bg-color);
        font-weight: 400;
    }

    .SectionCountdown{
        padding: 2vh 20vw;
        margin-left: -40px;
        margin-bottom: -40px;
    }
    
    .SideMenuBtn{
        margin-right: 10px;
    }

    .CountDownVal{
        font-size: 2.8em;
    }

    .CountDownLabel{
        font-size: 1em;
    }
    
    .CountDownEntry{
        margin-right: 20px;
    }

    .ImpDatesContainer{
        max-width: 75% !important;
    }

    .BottomMenu{
        margin-right: -40px;
        margin-bottom: -40px;
        max-width: 80vw;
    }

    .BottomMenu_phone{
        display: none !important;
    }

    .ImportantDatesEntry{
        width: 46%;
    }

    .ImportantDatesEntry .DateTitle{
        font-size: 1.2em;
    }
    
    .ImportantDatesEntry .DateText{
        font-size: 1.1em;
    }

    .FooterHr{
        display: none !important;
    }
}

:root{
    --main-bg-color: #2b348a;
    --sec-bg-color: #FFFFFF;
    --clg-green: #6fbf3d;
    --clg-gray: #dde4e5;
}

body{
    font-family: 'Poppins' ,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    overflow-y: hidden;
}

.MainContainer{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    overflow-y: hidden;
    overflow-x: hidden;
}

.BackgroundMenu{
    background-color: var(--main-bg-color);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.SocialBarRight{
    padding: 20px;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--main-bg-color);
    z-index: 3;
    color: var(--sec-bg-color);
    box-shadow: 1px 1px 5px #1b2052;
}

.SocialBarRight a{
    text-decoration: none;
    color: var(--sec-bg-color);
}

.SocialBarRight a:hover{
    animation: Expand 0.3s linear forwards;
}

.BodyContainer{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-image: url(./images/background.png);
    background-repeat: repeat;
    overflow-x: hidden;
    overflow-y: scroll;
    box-shadow: -2px -2px 5px rgb(126, 126, 126);
}

.SectionLanding{
    background-image: url(./images/background/bg1.png);
    background-size: cover;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.SlideButton{
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
}

.SlideButton:hover{
    background-color: rgba(0, 0, 0, 0.6);
}

.CountDownVal{
    color: var(--main-bg-color);
    font-weight: 500; 
    margin-bottom: 0 !important;
}

.CountDownLabel{
    color: black;
    font-weight: 200;
}

.SectionCountdown{
    width: 100vw;
    --bs-gutter-x: 0 !important;
    
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    
    --bg: rgba(43, 52, 138, 0.95);

    background: linear-gradient(135deg, var(--main-bg-color) 25%, transparent 25%) -50px 0,
      linear-gradient(225deg, var(--main-bg-color) 25%, transparent 25%) -50px 0,
      linear-gradient(315deg, var(--main-bg-color) 25%, transparent 25%),
      linear-gradient(45deg, var(--main-bg-color) 25%, transparent 25%);
    background-size: 100px 100px;
    background-color: var(--bg);
}

.MenuBtn{
    color: var(--main-bg-color);
}

.MenuBtn:hover{
    animation: Expand 0.3s linear forwards;
}

.MenuCloseBtn{
    color: var(--sec-bg-color);
    font-size: 1.1em;
    text-decoration: none;
    align-self: flex-end;
    transform: scale(1.1);
    padding: 5px;
}

.NotificationEmail::placeholder{
    color: rgb(219, 219, 219);
}

.MenuCloseBtn:hover{
    animation: Expand 0.3s linear forwards;
    color: var(--sec-bg-color);
    text-decoration: none;
}

.SideMenu{
    width: 25vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    padding-top: 5vh;
}

.SideMenuInner{
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    justify-content: center; 
    overflow-y: scroll; 
    max-height: 70vh;
}

.SideMenuInner::-webkit-scrollbar{
    display: none;
}

.SideMenuItem{
    padding: 5px;
    padding-left: 10px;
    color: var(--sec-bg-color);
    font-size: 1.4em;
    font-weight: 400;
    text-decoration: none;
}

.SideMenuItem:hover{
    color: var(--sec-bg-color);
}

.BottomMenu{
    min-height: 10vh;
    background-color: var(--main-bg-color);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.BottomMenu a{
    text-decoration: none;
    color: white;
    font-size: 1em;
    padding: 10px 20px;
}

.BottomMenu a:hover{
    border-bottom-color: white;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

.RegisterBtn{
    background-color: var(--main-bg-color);
    color: var(--sec-bg-color);
    border-radius: 0;
    font-size: 0.8em;
    padding: 10px 20px;
    min-width: 25vh;
}

.RegisterBtn:hover{
    color: var(--sec-bg-color);
    animation: ExpandSmall 0.3s linear forwards;
}

.CallForPaperBtn{
    background-color: var(--sec-bg-color);
    color: var(--main-bg-color);
    border-color: var(--main-bg-color);
    border-width: 2px;
    font-size: 0.8em;
    border-radius: 0;
    padding: 10px 20px;
    min-width: 25vh;
    margin-top: 10px;
}

.CallForPaperBtn:hover{
    animation: ExpandSmall 0.3s linear forwards;
}

.Section h1{
    color: var(--main-bg-color);
    text-shadow: 1px 1px 2px #545fcc;
}

.Section h2{
    color: var(--main-bg-color);
    text-shadow: 1px 1px 2px #545fcc;
}

.AboutText{
    font-size: 1.2em;
    font-weight: 400;
    text-align: justify;
}

.AboutInstiLogoContainer img{
    width: 35%;
    margin-bottom: 10px;
}

.ImportantDatesContainer{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.ImportantDatesEntry{
    background-color: white;
    box-shadow: 1px 1px 5px gray;
    position: relative;
}

.ImportantDatesEntry:hover {
    animation: ExpandSmall 0.3s linear forwards;
}

.ImportantDatesEntry:nth-child(odd){
    align-self: flex-start;
}

.ImportantDatesEntry:nth-child(even){
    align-self: flex-end;
}

.ImportantDatesEntry .DateTitle{
    width: 100%;
    padding: 10px;
    background-color: var(--main-bg-color);
    color: white;
    font-weight: 500;
}

.ImportantDatesEntry .DateText{
    width: 100%;
    padding: 10px;
    background-color: white;
    color: rgb(83, 83, 83);
    font-weight: 400;
}

.ImportantDatesEntry .TriangleLeft{
    width: 0;
    height: 0;
    border-top: 20px solid var(--main-bg-color);
    border-right: 20px solid transparent;
    position: absolute;
    top: 0;
    right: -20px;
}

.ImportantDatesEntry .TriangleRight{
    width: 0;
    height: 0;
    border-top: 20px solid var(--main-bg-color);
    border-left: 20px solid transparent;
    position: absolute;
    top: 0;
    left: -20px;
}

.DatesTimelineSeeker{
    width: 10px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--main-bg-color);
    border-radius: 20px;
}

.Footer{
    background-image: url(./images/background_dark.png);
    background-repeat: repeat;
    box-shadow: 1px -1px 5px gray;
    padding-top: 5vh;
}

.NotificationEmail{
    margin-top: 5px;
    width: 100%;
    padding: 5px;
    border: none;
    background-color: rgba(255, 255, 255, 0.404);
    outline: none;
    
    border-bottom-width: 4px;
    border-bottom-color: rgba(224, 224, 224, 0);
    border-bottom-style: solid;

    color: white;
}

.NotificationEmail:focus{
    border-bottom-width: 4px;
    border-bottom-color: rgb(224, 224, 224);
    border-bottom-style: solid;
}

.SubscribeBtn{
    margin-top: 10px;
    width: 100%;
    background-color: #ffffff;
    color: var(--main-bg-color);
    font-weight: 400;
    padding: 5px 10px;
    text-decoration: none;
    outline: none;

}

.QuickLinkTitle{
    color: white; 
    font-size: 1.6em; 
    text-decoration: 
    underline; 
    text-underline-offset: 5px;
}

.QuickLinkLink{
    color: rgb(255, 255, 255); 
    font-size: 1.4em;
    text-decoration: none;
    margin-bottom: 5px;
}


@keyframes Expand{
    from{
        transform: scale(1.1);
    }

    to{
        transform: scale(1.25);
    }
}

@keyframes ExpandSmall{
    from{
        transform: scale(1);
    }

    to{
        transform: scale(1.06);
    }
}

@keyframes SlideBodyDesktop{
    from{
        left: 0;
        top: 0;
    }

    to{
        left: 25vw;
        top: 5vh;
    }
}

@keyframes SlideBodyMobile{
    from{
        left: 0;
        top: 0;
    }

    to{
        left: 80vw;
        top: 5vh;
    }
}

@keyframes FlyerScrollToRight {
    0%{
        transform: translateX(-100%);
        color: rgb(221, 212, 90);
    }

    20%{
        color: white;
    }

    40%{
        color: rgb(221, 212, 90);
    }

    60%{
        color: white;
    }

    80%{
        color: rgb(221, 212, 90);
    }

    100%{
        transform: translateX(100%);
        color: white;
    }
}

.GuideLines li {
    font-size: 120%;

}

.GuideLines ul{
    margin-left: 5%;
    font-size: 15px;
}

.GuideLines h2 {
    color: var(--main-bg-color);
    text-shadow: 1px 1px 2px #545fcc;
}

.GuideLines h1{
    
    color: var(--main-bg-color);
    font-weight: 500;
}

.Track ul{
    margin-left: 5%;
    margin-right: 10%;
    font-size: 20px;
}
.Track h1{    
    color: var(--main-bg-color);
    font-weight: 500;
}
.Track h2 {
    color: var(--main-bg-color);
    text-shadow: 1px 1px 2px #545fcc;
}
.Track p{
    margin-left: 10%;
    margin-right: 10%;
    font-size: 20px;
}

.SponsorFlyer{
    animation: FlyerScrollToRight 8s linear infinite ;
}