body{
    background-image: url('../assets/compressed-background.jpg');
    background-size: cover;
    height: 100%;
    background-attachment: fixed;
    font-family: 'Quicksand', sans-serif;

}

header {
    text-align: center;
    color: aliceblue;
    position: absolute;
    top: 40%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

form {
    text-align: center;
    padding: 10px;
}

h1{
    font-family: 'Loved by the King', cursive;
    font-size: 700%;
    margin: 0;
}

h3{
    margin: 0;
    padding: 5px;
    font-weight: normal;
}

a{
    color: white;
    text-decoration: none;
}

p::selection{
    background-color: none;
}

.buttons{
    margin: auto;
}

.table{
    display: table;
}

.section {
    text-align: center;
    background-position:50% 50%;  
    background-size: cover;
    color: aliceblue;
    border-radius: 5px;
    margin-top: 10px;
    background-image: url('../assets/black_background3.png');
    transition-duration: 0.3s;
    padding-bottom: 10px;
}

.mozilla:hover {
    background-image: url('../assets/mozilla-thumbnail4.png');
}

.stackoverflow:hover {
    background-image: url('../assets/stackoverflow-thumbnail4.png');
}

.youtube:hover {
    background-image: url('../assets/youtube-thumbnail4.png');
    background-size: contain, no-repeat;
}

.reddit:hover {
    background-image: url('../assets/reddit-thumbnail4.png');
}

.hidden{
    display: none;
}

.link{
    border-radius: 3px;
}

.vid-title{
    font-weight: normal;
}

.youtube-table:hover{
    background-image: url('../assets/gray_background.png');
    text-decoration: underline;
    cursor: pointer;
}

.link:hover, a:hover, h3:hover{
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
}

.section-title{
    background-image: url('../assets/black_background.png');
    padding-top: 7px;
    padding-bottom: 7px;
}

.channel:hover{
    text-decoration: none;
}

.youtube-table{
    display: inline-block;
    width: 49%;
}

.thumbnail{
    border-radius: 3px;
}

#logo{
    position: absolute;
    margin: auto;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

#langSelect{
    font-family: 'Quicksand', sans-serif;
    height: 50px;
    font-size: large;
    border-radius: 4px;
}

#langSelect:hover{
    cursor: pointer;
}

select:hover {
    background-color: rgb(223, 233, 241);
    transition-duration: 0.3s;
    }

button{
    border: 0;
    font-family: 'Quicksand', sans-serif;
    background-color: aliceblue;
    height: 50px;
    width: 80px;
    font-size: large;
    border-radius: 4px;
}

button:hover{
    background-color: rgb(223, 233, 241);
    transition-duration: 0.3s;
    cursor: pointer;
}

#searchTerm{
    font-family: 'Quicksand', sans-serif;
    font-size: large;
    height: 50px;
    width: 250px;
    border-radius: 4px;
}

#subtitle{
    font-size: 200%;
}

#subtitle:hover{
    background-image: none;
    color: aliceblue;
    font-weight: normal;
    cursor: auto;
    text-decoration: none;
}

#new-search{
    position: -webkit-sticky;
    position: sticky;
    width: 150px;
    top: 0;
    float: right;
}

.mozilla-titles{
    font-weight: normal;
}

.loading {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #555555;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    left: 47%;
    position: relative;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media only screen and (max-width: 450px){
    
    h1{
        text-shadow: 2px 2px 0 black;
        margin-top: 75px;
    }
    
    button{
        height: 25px;
        font-size: medium;
        margin: 10px;
    }
    
    #langSelect{
        height: 25px;
        margin: 10px;
        font-size: medium;
    }

    #subtitle{
        text-shadow: 1px 1px 0 black;
    }
}