/* Body and titles */

body {
    background-image: url("../assets/resourcesback2.jpg");
    background-repeat: repeat-y;
    background-size: 100% !important;
}

#navbar {
    font-size: 140% !important;
}

#homelogo {
    margin-left: 7%;
}

#langs {
    margin-right:15%;
    font-size: small;
}

#footerlinks #socialmedia #trademark {
    line-height: 400%;
}

p {
    font-size: 100% !important;
} 

main h1 {
    text-align: center;
    color: transparent;
    -webkit-text-stroke: gold 1px;
    font-size: 300%;
}

main h2 {
    color: white !important;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: black .5px;
}

main ul {
    list-style-type: none;
    text-align: center;
}

main li {
    display: inline-block;
    position: relative;
    color: white;
    padding: 1%;
    z-index: 0;
}

main li:hover {
    color: gold;
    cursor: pointer;
}

main li:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: gold;
  transform-origin: bottom right;
  transition: transform 0.25s ease-in-out;
}

main .currentsection {
    color: gold;
}

main li:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Every section does not display until clicked on */

#images {
    display: none;
}

#videos {
    display: none;
}

#documents {
    display: none;
}

#audios {
    display: none;
}

#gifs {
    display: none;
}

/* Video styling */

video::-webkit-media-controls-timeline {
    background-color: yellow;
    padding-bottom: 0;
    margin-bottom: 2.5%;
    height: 5px;
  }

  video::-webkit-media-controls-volume-slider {
    background-color: yellow;
    padding-top: 0;
    margin-top: 20px;
    padding-bottom: 0;
  }

  video::-webkit-media-controls-current-time-display {
    color: yellow;
  }


/* Every link to every section and its styling */

main a {
    display: inline-block;
    position: relative;
    color: white;
    padding: 3%;
    text-decoration: none;
}

main a:hover {
    color: gold;
    cursor: pointer;
}

main a:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 4px;
  bottom: 0;
  left: 0;
  background-color: gold;
  transform-origin: bottom right;
  transition: transform 0.25s ease-in-out;
  
}

main a:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Objects positioning inside section */


.container {
    overflow: hidden;
    margin-left: 0%;
    margin-top: 5%;
    height: 20%;
    width: 20%;
    vertical-align: top;
    border: 2px solid gold;
}

.container img {
    width: 100%;
    transition: 0.5s all ease-in-out;
    height: 40dvh;
}

.container img:hover {
    transform: scale(1.5);
}

.link {
    margin-top: 5%;
    position: relative;
    display: flex;
    justify-content: center;
    font-size: 200%;
}

.section-container {
    flex-direction: row;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 5%;
}

.container p {
    color: white;
    text-align: center;
    -webkit-text-stroke: .5px black;
}

/* Search Box */

.searchbox {
    display: flex;
    justify-content: center;
    width: 25%;
    font-size: 150%;
    background-color: transparent;
    color: white;
    border: none;
}

main ::placeholder {
    color: white;
}

.searchbox:focus {
    outline: none;
    border: none;
}

.searchboxdiv {
    display: flex;
    justify-content: space-evenly;
    margin-top: 5%;
}

#mobilemenudiv {
    display: none;
}

#langs a {
    margin-top: 5%;
}

.container h1 {
    font-size: 200% !important;
}



/* Media Queries */

@media (max-width: 800px) {
    .container {
        width: 40%;
        margin-top: 5%;
    }

    .searchbox {
        width: 60%; 
        justify-content: flex-start;
        display: flex;
        }

    ::placeholder {
        font-size: 80%;
    }

    image {
        height: 15%;
        width: 5%;
    }
    
    #mobilemenudiv {
        display: flex;
        justify-content: space-evenly;
    }
    
   main select option {
        margin: 40px;
        background: #181A18;
        color: #fff;
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    }

    main select {
        background-color: transparent;
        color:  white;
        border: none;
    }

    #desktopmenu{ 
        display: none;
    }
    .audio {
        width: 90%;
    }
    .video {
        width: 90%;
    }
    body{
        background-color: #181A18 !important;
        background-image: none !important;
    }
    .container img {
        width: 100%;
        transition: 0.5s all ease-in-out;
        height: 20dvh;
    }
    .container p {
        color: white;
        text-align: center;
        -webkit-text-stroke: .5px black;
        font-size: 60% !important;
    }
    .container h1 {
        font-size: 100% !important;
    }
    main h2 {
        color: white !important;
        text-align: center !important;
    }
}



