
/*--------------------GENERIC PROPERTIES--------------------*/

*{
    margin-top:0;
    cursor: url("pharaoh1.png"), auto;/*image should be 32x32 px*/
    font-family: "kanit", sans-serif;
    /*Default px size is 12*/
}

#mainBG{/*Background for home page*/
    margin: 0;
    background-image: url(pyramids1.jpg);
    background-size: cover;
    background-attachment: fixed; /*Allows scrolling without messing up background*/
    /*overflow: hidden; only uncomment if you want to have scroll lock on home page*/
}

#mainBG.active{/*Class for locking the scoll on home page*/
    overflow: auto;
}

.rosterBG{
    margin: 0;
    background-image: url(Egypt5.jpg);
    background-size: cover;
    background-attachment: fixed;
}

.krypticBG{
    margin:0;
    background-image: url(egypt10.jpg);/*SHOULD CHANGE BACK TO EGYPT5*/
    background-size: cover;
    background-attachment: fixed;
}

.progressBG{
    margin:0;
    background-image: url(Hieroglyph.png);/*SHOULD CHANGE BACK TO EGYPT5*/
    background-attachment: fixed;
    background-size: cover;
    border:none;
}

.creditBG{
    margin:0;
    background-image: url(Egypt11.jpg);/*SHOULD CHANGE BACK TO EGYPT5*/
    background-attachment: fixed;
    background-size: cover;
    border:none;
}

li{
    list-style-type: none;
}

a{
    text-decoration: none;
    text-align: center;
}

button{
    background: transparent;
    border:none;
}

/*DIV that centers and holds the main title for each page*/
.title-container{
    display: flex;
    justify-content: center;
}

.loader-background{ /*Loading screen background*/
    background-color: white;
    height: 100vh;
    width: 100%;
    z-index: 999;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.loader-img{ /*Wic logo for loading screen*/
    height: 150px;
    width: 150px;
    background-image: url(wicrobotics.png);
    background-size:contain;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    animation: loading 4s ease-in-out infinite;
}

@keyframes loading{
    0%{
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50%{
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
    }
    100%{
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/*--------------------END OF GENERIC PROPERTIES--------------------*/

/*---------------------SCROLL BAR----------------------*/
::-webkit-scrollbar{
    width:0em;
}
    
/*----------------------END OF SCROLL BAR----------------------*/

/*--------------------NAVIGATION BAR--------------------*/

header{/*navigation br*/
    background: linear-gradient( black, transparent);
    position: fixed;
    opacity: 65%;
    width:100%;
    top:0;
    z-index: 4;
    
}

.bar{/*ul for the navigation bar contents*/
    display: flex;
    justify-content: space-between;
    padding-top:17px;
    padding-bottom: 17px;
    padding-right: 35px;
    padding-left: 35px;
    margin: 0;
    z-index: 5;
}

.lines{/*3 lines icon at the top left corner of the screen*/
    background: url(menuIcon.png) no-repeat;
    background-size: cover;
    height:50px;
    width: 50px;
    border:none;
    transition: 0.3s ease;
}
.lines:hover{/*hover effect for 3 lines icon*/
    transform: scale(1.4);
    -webkit-transform: scale(1.4);
    -ms-transform: scale(1.4);
    cursor: url("pharaoh1.png"), auto;/*image should be 32x32 px*/
    /*transform: rotate(360deg); rotating effect for btton (taken out because it doesnt look nice*/
}

.cancel{/*X button that pops up in the div when hovering over side nav button*/
    background: url(cancel.png) no-repeat;
    background-size: cover;
    height:50px;
    width: 50px;
    border:none;
    transition: 0.3s ease;
}
.cancel:hover{/*hover effect for 3 lines icon*/
    transform: /*scale(1.3)*/ rotate(180deg);
    -webkit-transform: /*scale(1.3)*/ rotate(180deg);
    -ms-transform: /*scale(1.3)*/ rotate(180deg);
    cursor: url("pharaoh1.png"), auto;/*image should be 32x32 px*/
}

.language-link{/*Lnik for the alternative language version of each page*/
    color:white;
    transition: 0.5s ease;
}

.language{/*language switch button*/
    color:white;
    background-color: transparent;
    font-size: 25px;
    text-align: center;
    height:50px;
    width: fit-content;
    transition: 0.5s ease;
    border:solid;
    border-radius: 10px;/*border might be temporary???*/
    border-color: white;
    padding-inline: 10px;
    border-width: 3px;
}
.language:hover{/*hover effect for language switch button*/
    transform: scale(1.3);
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
    background-color: white;
    color:black;
    cursor: url("pharaoh1.png"), auto;/*image should be 32x32 px*/
    .language-link{
        color:black;
    }
}


@media screen and (max-width: 480px){ /*media query to display grid in a single row (KINDA)*/
    .bar{
        padding-bottom:17px;
        opacity: 100%;
        background: fixed;
    }
}

/*--------------------END OF NAV BAR--------------------*/

/*--------------------SIDE BAR--------------------*/

#sidebar{/*side navigation bar*/
    position: fixed; /*fixed allows bar to follow screen with scrolling*/
    width:300px;
    background-color: #161616;
    height: 100%;
    z-index: 6;
    left:-300px;
    top:0;
    transition: 0.35s ease;
}
#sidebar.active{/*when sidebar is active(check JS for command)*/
    left:0;
    transition: 0.35s ease;
}

#sidebar.hidden{
    left:-300px;
    transition: 0.35s ease;
}

#cover{/*DIV that pops up when side nav is open to focus on side bar*/
    position: fixed; /*fixed allows bar to follow screen with scrolling*/
    width:100%;
    background-color: black;
    height: 100%;
    z-index: 5;
    top:0;
    transition: 0.35s ease;
    opacity: 80%;
    display: none;
}

#cover.active1{/*Active class(check JS)*/
    display: block;
    transition: 0.35s ease;
}

.sidebarBtn{/*3 lines button inside side bar*/
    display: inline-block;
    justify-content: center;
    margin-inline: 30px;
}

.sidebarContainer{/*UL for contents of side bar*/
    text-align: left;
    padding-left: 0;
}

.sidebarLI{/*List items for side bar*/
    padding: 0px;
}

.sidebarText{/*Text within the side bar buttons*/
    margin: 0;
    margin-left: 30px;
    color: white;
    display: inline-block;
    position: relative;

}

.sidebarItems{/*Text for contens of side bar*/
    color:white;
    background-color: transparent;
    font-size: 30px;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    border:none;
    text-align: left;
}

.sidebarItems:hover{/*Hover over side bar button*/
    background-color: #393E3C;
    cursor: url("pharaoh1.png"), auto;/*image should be 32x32 px*/
    .sidebarText{
        color:#C2B280;
    }
}

.sidebarText::after{/*Underline effect for the text within the side bar*/
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #C2B280;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.sidebarText:hover::after{/*Also part of the underline effect for the side bar*/
    transform: scaleX(1);
    transform-origin: bottom left;
}


.wic{/*Text displaying the menu*/
    color:#C2B280;
    font-size: 40px;
    text-align: center;
    border-radius: 7px;
    margin-bottom: 0;
}

.topMenu{/*Div holding items at the top of the side Nav*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 30px;
    /*background-image: url(Egypt9.jpg); /*ASK FOR OTHERS ADIVCE ABOUT THIS!!!!!*/
    background-size: cover;
}

.logo-container{
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    padding-bottom: 40px;

}

.logo{
    width: 80%;
    height:80%;
}

.divider{
    width: 85%;
    height: 2px;
    background-color: white;
    border-color: white;
    border-radius: 3px;
    margin-bottom: 0;
}

/*---------------------END OF SIDE BAR--------------------*/

/*---------------------CONTENTS OF HOME PAGE--------------------*/

#titleContainer{/*Section for the title*/
    background-color: transparent;
    height: 100vh;
    width: 100%;
    top:0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#descriptionSEC{/*Section containing the description of our team*/
    background-color: #9F9169;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpath fill='%23a7986d' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23ae9f71' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%23b5a576' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%23bcac7b' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%23C2B280' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%23c8b883' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%23cebd86' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%23d3c28a' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%23d8c78e' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%23DDCC92' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
    width: 100%;
}

.Title{/*Title for the home page*/
    color:white;
    text-align: center;
    font-size: 4.375rem;
    letter-spacing: 1px;
}

.club-logo{/*Logo of robotics club MAKE BACKGROUND INVISIbLE*/
    margin-top: 10vh;
    height: 300px;
    width: 300px;
    background-image: url(wicrobotics.png);
    background-size:contain;
    background-repeat: no-repeat;
    border-radius: 20px;
}

.club-container{/*Container for club logo to center it*/
    display: flex;
    justify-content: center;
}

#mainTitle1{/*h1 header for title on mainpage holding first half of the title*/
    margin-top: 0vh;
    margin-bottom: 0;
}

#mainTitle2{/*h1 header for title on mainpage holding the other half of the title*/
    padding-bottom:0;
    margin-bottom: 20px;
}

.buttonContainer{/*DIV holding button */
    display: flex;
    justify-content: center;
}

@property --rotate {
    syntax: "<angle>";
    initial-value: 132deg;
    inherits: false;
}

.Snap-background{
    width: 240px;
    height: max-content;
    height: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    transition: 0.3s ease-in-out;
}

#scrollSnap{/*Button that should scroll snap down to another section*/
    background: transparent;
    border: 5px white solid;
    width: 100%;
    height: 85%;
    padding: 3px;
    position: relative;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    font-size: 1.5em;
    cursor: pointer;
    color:white;
    font-size: 1.5625em;
    transition: 0.3s ease;
    margin-top: 50px;
}

#scrollSnap:hover{
    border-radius: 12px;
    color: #C2B280;
    background-color: white;
    transform: scale(1.3);
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
}

#scrollSnap.clicked{/*PRobably remove this*/
    transform: scale(1);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
}

@keyframes spin {
    0% {
      --rotate: 0deg;
    }
    100% {
      --rotate: 360deg;
    }
}

.content{/*DIV holding all the content within the sections*/
    height: 100vh;
}

#second{/*DIV for the second section*/
    display: flex;
    align-items: center;
}

#descriptionContainer{
    /*SWITCH UNITS TO BETTER OPTIMIZE FOR MOBILE -- IDEALLY 50% on desktop*/
    margin-left: 10%;
    width: 50%;
    display: flex;
    justify-content: center;
    background-color: transparent;/*Chaneg this to help position*/
    height: 100vh;
    align-items: center;
}

#descriptionContainer2{
    /*SWITCH UNITS TO BETTER OPTIMIZE FOR MOBILE -- IDEALLY 50% on desktop*/
    margin-right: 10%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;/*Change this to help position */
    height: 100vh;
}

#team{
    display: flex;
    padding: 15px;
    border-radius: 30px;
    width: 90%;
    height: auto;
}

#description{/*Paragraph describing the club*/
    padding: 15px;
    display: block;
    text-align:center;
    color:white;
    font-size: 25px;
    margin-bottom: 0;
    padding-bottom: 5%;
}

.socials{/*Div holding all the icons for the socials*/
    display: flex;
    margin: 0;
    justify-content: center;
    gap:30px;
}

.social-img{/*Images for the social of WIC*/
    transition: 0.35s ease;
    width: 80%;
    aspect-ratio: 1/1;
    height: auto ;
    border-color: transparent;
    border-style: solid;
    border-width: 2px;
    border-radius: 12px;
}

.social-img:hover{/*Hover effect for the images of the socials*/
    transform: scale(1.3);
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);border-color: white;

}

@media screen and (max-width: 480px){/*MEDIA QUERY TO INDICATE WHEN PADDING SHOULD BE REMOVED*/
    #descriptionContainer{
        margin: 0;
        width: 100%;
        height: fit-content;
    }
    #descriptionContainer2{
        width: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
        height: fit-content;
    }
    #descriptionSEC{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    #team{/*Image of the team*/
        width: 90%;
        height:auto;   
    }
    .Title{/*Title on home page*/
        font-size: 70px;
    }
    .title-description{
        display: flex;
        flex-direction: column;
    }
    .content{
        display: flex;
        flex-direction: column;
    }
    .socials{
        margin-inline: 20px;
    }
    #mainTitle1{
        font-size: 40px;
    }
    #mainTitle2{
        font-size: 40px;
    }
    .category-Container{
        margin-bottom: 20px;
    }
    .social-img{
        width: 100%;
    }
    
}

/*---------------------END OF CONTENTS OF HOME PAGE----------------------*/

/*---------------------ROSTER PAGE CONTENTS--------------------*/

#rosterTitle{/*h1 tag for roster page*/
    text-align: center;
    color:white;
    margin-top: 15vh;     
    width:fit-content;
    font-size: 100px;
    min-width: fit-content;
    padding: 0rem clamp(1rem, 2vw, 3rem);
    border-radius: clamp(0.4rem, 0.75vw, 1rem);
}

#rosterTitle:hover{
    background-color: white;
    color:black;
}



.larger-team-Container{/*Container for all titles+content(Don't forget flex is in a column*/
    display: flex;
    justify-content: space-evenly;
    width: 100%;


}

.team-container{
    background-color: white;
    border-radius: 12px;
    width: 30%;
    height: 50vh;
    overflow-y: scroll;
}

.team-title-container{
    display: flex;
    justify-content: center;
    margin-block: 1em;
}

.members{
    padding: 0;
}

.team-title{
    font-size: 3em;
    margin: 0;
}

.team-member{
    font-size: 30px;
    padding-block: 0.1em;
    text-align: center;
    width: 100%;
}

.team-member:hover{/*Maybe get rid of this because it causes problems*/
    color:#C2B280;
}


@media screen and (max-width: 480px){ /*media query to display grid in a single row (KINDA)*/
    .larger-team-Container{
        flex-direction: column;
        align-items: center;
    }
    .team-container{
        width: 90%;
        height: fit-content;
        margin-bottom: 5%;
    }
}

/*-------------------END OF ROSTER PAGE CONTENTS---------------------*/

/*---------------------KRYPTIC PAGE CONTENTS----------------------*/

#krypticTitle{
    text-align: center;
    color:white;
    margin-top: 20vh;
    width:fit-content;
    font-size: 100px;
    min-width: fit-content;
    padding: 0rem clamp(1rem, 2vw, 3rem);
    border-radius: clamp(0.4rem, 0.75vw, 1rem);
}

#krypticTitle:hover{
    background-color: white;
    color:black;
}

.krypticTitles{/*Title for each category of the rules*/
    color:black;
    font-size: 50px;
}

.info{/*text for the rules*/
    text-align: justify;
    color:black;
    font-size: 20px;
}

.content-container{/**/
    background-color: none;
}

.kryptic-content{/*DIV holding title and text in big blocks*/
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    margin-left: 15%;
    margin-right: 15%;
}


.fieldIMG{/*Images game related stuff*/
    width:60%;
    padding-block: 30px;
}

.field{
    display: flex;
    justify-content: center;
}

.GamePiece{
    width: 30%;
}

.field-bottom{/*Div at the bottom to space out content at the bottom*/
    padding-bottom: 90px;
}

@media screen and (max-width: 480px){/*MEDIA QUERY TO INDICATE WHEN PADDING SHOULD BE REMOVED*/
    .info{
        text-align: start;
    }
    .fieldIMG{/*Image of the field*/
        width:90%;
    }
    #krypticTitle{
        font-size: 60px;
    }
    .kryptic-content{
        margin: 0;
    }
    .field-bottom{
        padding-bottom: 0;
    }
    .GamePiece{
        width: 50%;
    }
}

/*---------------------END OF KRYPTIC PAGE CONTENTS---------------------*/

/*---------------------PROGRESS PAGE--------------------*/

/*Title for the progress page*/
.progress-title{
    text-align: center;
    color:white;
    margin-top: 20vh;
    width:fit-content;
    font-size: 70px;
    min-width: fit-content;
    padding: 0rem clamp(1rem, 2vw, 3rem);
    border-radius: clamp(0.4rem, 0.75vw, 1rem);
}

.progress-title:hover{
    background-color: white;
    color:black;
}

#scroll-container{
    height: 40vh;
}

/*Horizontal media scroller (containes items)*/
#media-scroller{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 25%;
    gap:25px;/*ADD GAP IF NEEDED*/
    overflow-x: auto;
    padding-left: 70px;
    padding-right: 70px;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 1rem;
    height: fit-content;
}

/*Element within the scroller*/
.media-element{
    background-color: #d1b47b;
    display: grid;
    grid-template-rows: min-content;
    height: fit-content;
    width: fit-content;
    padding: 10px;
    height:fit-content;/*FIX THIS FOR SCALLING ISSUES*/
    border-radius: 10px;
}

/*Image in the element*/
.media-element > img {
    inline-size: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
  }
  
/*Horizontal scroll^*/

.media-text{
    color:white;

    font-size: 15px;
}

.media-text2{
    margin-top: 3%;
    font-size: 15px;
    margin-bottom:0 ;
    color:white;
}

#progress-bar{
    height:15px;
    background-color: #d1b47b;
    width: 0%;
    position: absolute;
    bottom:0;
    width: 0%;
    transition: ease;/*!!!!possibly change this*/
}

@media screen and (max-width: 480px){/*MEDIA QUERY TO INDICATE WHEN PADDING SHOULD BE REMOVED*/
   #media-scroller{
        grid-auto-columns: 100%;
        gap:20px;
        padding-left:0;
        padding-right:0;
        scroll-snap-type:x mandatory;/*This is for scroll snap on mobile*/
   }
   .progress-title{
    font-size: 60px;
   }
   .media-element{/*To align to the center when it snaps on*/
    scroll-snap-align: center;
   }
}


/*ADD HORIZONTAL PROGRESS BAR??????*/

/*---------------------END OF PROGRESS PAGE------------------------*/

/*---------------------CREDIT PAGE----------------------*/

.credit-title{/*Title of the credit page*/
    text-align: center;
    color:white;
    margin-top: 15vh;
    width:fit-content;
    font-size: 70px;
    margin-bottom: 15px;
    min-width: fit-content;
    padding: 0rem clamp(1rem, 2vw, 3rem);
    border-radius: clamp(0.4rem, 0.75vw, 1rem);
}

.credit-title:hover{/*Hover effect for credit page title*/
    background-color: white;
    color:black;
}

.credit-subtitle{/*Smaller titles indicating categories*/
    color:white;
    text-align: center;
    margin-bottom: 15px;
    font-size: 40px;
}

.sub-content{/*Content within the smaller titles*/
    color:white;
    text-align: center;
    font-size: 20px;
}

.credit-links{/*Links to the credited sources*/
    color:blue;
    text-decoration: underline;
    font-weight: bold;
}

.credit-links:hover{
    cursor: pointer;
}

/*-----------------END OF CREDIT PAGE---------------*/