@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/*===========================
CSS LAYOUT:
    1. RESET DEFAULTS
    2. GENERAL STYLING
    3. ABOVE THE FOLD
    4. FILTER BY ROLE
    5. FOOTER
    6. INTERACTIVE STYLING
    7. RESPONSIVE ADJUSTMENTS

ATTRIBUTE=VALUE SELECTORS ORDERED BY:
    1.SIZE
    2.POSITION
    3.STYLE
===========================*/




/* || RESET DEFAULTS */

* {
    padding: 0;
    margin: 0;
    border-radius: 0;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;   
    list-style: none;
    border: none;
}




/* || GENERAL STYLING */

body {
    position: relative;
}

hr {
    width: 70%;
    margin: 32px 0px;
    border: 1px solid #B5B5B5;
    opacity: 0.7;
}




/* || ABOVE THE FOLD */

.above-the-fold {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: top center;
    background-image: url(../img/cover-image-aatrox.jpg);
}

header {
    width: 83%;
    margin: 27px auto 0px auto;
    display: flex;
    align-items: center;
    justify-self: center;
    justify-content: center;
}

nav {
    justify-content: flex-end;
}

#logo {
    height: 46px;
    margin-right: 12px;
}

#site-name {
    margin-right: auto; 
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    color: #D0A85C;
}

.nav-links li {
    letter-spacing: 1px;
    display: inline-block;
}

.nav-links a {
    margin-left: 68px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

.play-for-free {
    width: 180px;
    height: 45px;
    margin-left: 74px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    background-color: #D0A85C;
    text-transform: uppercase;
    outline: 1px solid white;
    outline-offset: 3px;
}

.hero-container {
    max-width: 900px;
    margin: 30vh auto;
    padding: 25px 0px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.75);
}

#hero-small, #hero-large {
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
}

#hero-small {
    font-size: 3em;
    line-height: 50px;
}

#hero-large {
    font-size: 8.4em;
    line-height: 120px;
}

.down-arrow {
    height: 30px;
    display: flex;
    margin: auto;
    transform: rotate(90deg);
}




/* || RESET DEFAULTS */

.filter-by-role {
    height: 100%;
    padding-bottom: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #E4E4E4;
    overflow: auto;
}

.filter-role-title {
    margin-top: 170px;
    font-size: 37px;
    font-weight: 900;
    text-transform: uppercase;
}

.role-buttons {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.role-buttons button {
    width: 180px;
    height: 45px;
    margin: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: white;
    text-transform: uppercase;
    background-color: #D0A85C;
}

.champion-container {
    max-width: 1481px;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.champion-container div {
    height: 400px;
    width: 275px;
    margin: 0px 10px 20px 10px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.champion-container img {
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

h3 {
    width: 100%;
    padding-top: 80px;
    position: absolute;
    bottom: 0;
    font-size: 45px;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    color: white;
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(255,255,255,0) 100%);;
}




/* || FOOTER */

footer {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #72726C;
}

.footer-links {
    padding-right: 40px; /* Offestting the links to make them centered */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links li {
    padding: 25px 43px 18px 43px; 
}

.footer-links a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
    text-transform: uppercase;
}

.proj-reference {
    margin-bottom: 25px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}




/* || INTERACTIVE STYLING */

button:hover{
    cursor: pointer;
}

.role-buttons button:focus {
    background-color: #0BC6E3;
}

.nav-links a:hover, .footer-links a:hover {
    color: #cfaf74;
}

.play-for-free:hover {
    background-color: #0BC6E3;
}

.role-buttons button:hover {
    background-color: #0BC6E3;
}

.champion-container div:hover {
    opacity: .9;
}




/* || RESPONSIVE ADJUSTMENTS */

@media screen and (max-width: 1105px) {
    .nav-links li {
        margin: 2.5px 0px;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
    }
}

@media screen and (max-width: 1000px) {
    .play-for-free {
        margin-left: 30px;
    }
}

@media screen and (max-width: 920px) {
    #hero-small {
        font-size: 2em;
        line-height: 50px;
    }
    
    #hero-large {
        font-size: 5.4em;
        line-height: 120px;
    }
}

@media screen and (max-width: 580px) {
    .footer-links {
        margin: 20px 0px;
        padding-right: 0px;         
    }

    .footer-links li {
        padding: 10px 43px; 
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 550px) {
    #hero-small {
        font-size: 1.2em;
        line-height: 25px;
    }
    
    #hero-large {
        font-size: 3.5em;
        line-height: 70px;
    }
}