@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@700&family=Quicksand:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    border: none;
}


body {
    font-family: Quicksand, sans-serif;
    font-weight: 200;
    font-size: 90%;
    color: #17202a;
    background-color: #eaeded;
}

header {
    width: 100%;
    height: 75px;
    position: fixed;
    background-color: #f0ec18;
    z-index: 1;   
}




/* logo and nav*/



#logo {
    font-family: Inconsolata, sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #17202a;
    font-size: 330%;
    float: left;
    margin-left: 30px;
    line-height: 70px;
}

#nav {
    float: right;
    font-size: 100%;
    line-height: 70px;
}

#nav li {
    display: inline;
    list-style-type: none;
    margin-right: 10px;
}

#nav a {
    text-decoration: none;
    color: inherit;
}

#nav a:hover {
    border-bottom: 1px solid #17202a;
}

.active {
    border-bottom: 1px solid #17202a;
}

nav .nav-toggler {
    display: none;
    float: right;
    height: min-content;
    margin: 18px 20px 0 0;
    cursor: pointer;
}

nav .nav-toggler .bar {
    width: 40px;
    height: 5px;
    margin-bottom: 10px;
    background: #17202a;
    border-radius: 10%;
    transition: .4s;
}

.toggle {
    display: none;
}

.toggle:checked ~ nav #nav {
    transform: translateY(0);
}

/* hero image and text */

#hero-outer {
    height: 600px;
    width: 100%;
    overflow: hidden;
    padding-top: 75px;

    position: relative;
}

#hero-image {
    height: 600px;
    width: 100%;
    background: url('../images/pexels-sergio-souza.jpg') no-repeat center center;
}

#cover-text {
    color: #eaeded;
    font-size: 150%;
    font-family: Inconsolata, sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;

    width: 35%;
    height: 27%;

    padding-top: 40px;
    padding-left: 10px;

    background-color: #17202a;
    
    position: absolute;
    bottom: 10%;
    left: 0px;
}

/* tournament section */

hr {
    border-top: 2px solid #17202a;
    width: 100%;
    margin: 0;
}

#tournament {
    display: inline-block;
    width: 100%;
    height: 600px;
}


.text-top {
    width: 50%;
    height: 50%;
    float: left;
    line-height: 25px;
    padding: 5%;
    box-sizing: border-box;
}

.text-bottom {
    width: 50%;
    height: 50%;
    float: right;
    line-height: 25px;
    padding: 5%;
    box-sizing: border-box;
    
}

.text-top h2 { 
    font-family: Inconsolata, sans-serif;
    font-size: 320%;
    text-align: left;
}

.text-bottom h2 {
    font-family: Inconsolata, sans-serif;
    font-size: 320%;
    text-align: right;
}

.text-top h3 {
    text-align: left;
}

.text-bottom h3 {
    text-align: right;
}


/* calendar section */

#calendar {    
    display: inline-block;
    width: 100%;
    height: 600px;
    background: url('../images/pexels-justiniano-adriano.jpg') no-repeat center center;
}

.calendar-event {
    width: 25%;
    height: 100%;
    line-height: 25px;
    padding-top: 17%;
    border: 2px solid #eaeded;
    box-sizing: border-box;
    float: left;
    background-color: rgba(23, 32, 42, 0.7);
}

.calendar-event h2 {
    font-family: Inconsolata, sans-serif;
    font-size: 220%;
    text-align: center;
    color: #eaeded;
}

.calendar-event h3 {
    padding-top: 10px;
    text-align: center;
    color: #eaeded;
}

/* video section */

#video {
    width: 100%;
    height: 750px;
    text-align: center;
    background-color: #17202a;
    border: 75px solid #f0ec18;
    box-sizing: border-box;
}

#video > iframe {
    width: 75%;
    height: 75%;
}

#video h2 {
    color: #eaeded;
    font-size: 220%;
    padding: 3%;
}

/* map section */

#map {
    height: 600px;
    width: 100%;
    display: inline-block;
}

#map > iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* footer */

#contacts {
    width: 30%;
    height: 100px;
    float: left;
    background-color: #f0ec18;
    line-height: 17px;
    font-size: 80%;
    padding-left: 1%;
    padding-top: 1%;
}

#contacts h2 {
    font-family: Inconsolata, sans-serif;
    text-align: left;
}

#contacts h3 {
    text-align: left;
}

#social {
    width: 68%;
    height: 100px;
    float: right;
    background-color: #17202a;
    padding-right: 1%;
    padding-top: 1%;
}

#signup {
    display: none;
}

#social h2 {
    color: #f0ec18;
    float: left;
    padding: 50px 0 0 20px;
    font-size: 100%;
}

#social h2 > i {
    font-size: 100%;
    margin: 0;
    padding: 0;
    color: #f0ec18;
}

#social a {
    color: #f0ec18;
}

#social a:hover {
    color: #eaeded;
}

#social li {
    display: inline;
    float: right;
    padding: 50px 30px 0 0;
}

#social i {
    font-size: 150%;
    margin: 5%;
    padding: 5%;
    color: #f0ec18;
}


/* sign up page  */


.form-section {
    background: url('../images/pexels-rodnae-productions.webp');
    background-size: cover;
    background-position: center;
    height: 750px;
    display: flex;
    justify-content: center;
}

.signup-form {
    color: #17202a;
    max-width: 50%;
    height: fit-content;
    background-color: rgba(240, 236, 24, .8);
    margin-top: 10%;
    padding: 1%;    
    font-size: 100%;
    font-weight: 900;
}

.signup-form h2 {
    font-size: 280%;
}

.signup-form label, .signup-form h3 {
    font-size: 150%;
}

.text-input {
    background: transparent;
    color: #17202a;
    width: 100%;
    height: 25px;
    margin: 5px 0 20px 0;
    border: 1px solid #17202a;
    border-radius: 2px;
}

.text-input:hover {
    border-color: #17202a;
}

.birthday {
    background: transparent;
    color: #17202a;
    width: 100%;
    height: 25px;
    margin: 5px 0 20px 0;
    border: 1px solid #17202a;
    border-radius: 2px;
}

.join-button {
    margin-top: 20px;
    border-radius: 2px;
    padding: 15px 32px 15px 32px;
    text-align: center;
    font-size: 100%;
    background-color: #17202a;
    color: #f0ec18;
    display: block;
}

.join-button:hover {
    background-color: #f0ec18;
    color: #17202a;
}

/* thank you page */

#cover-text-thanks {
    color: #17202a;
    font-size: 350%;
    font-family: Inconsolata, sans-serif;
    letter-spacing: 4px;

    max-width: 40%;
    height: fit-content;

    margin-top: 10%;

    padding: 5%;

    background-color: rgba(240, 236, 24, .8);

    position: absolute;
    top: 20%;
}


/* Media queries  */

/* For medium screens size from 900px wide and down */
@media screen and (max-width: 900px) {
    #hero-outer {
        height: auto;
    }

    #cover-text {
        width: 40%;
        height: 20%;
        font-size: 100%;
    }

    hr {
        display: none;
    }

    .text-top {
        width: 100%;
        height: 25%;
        padding: 1%;
    }

    .text-bottom {
        width: 100%;
        height: 25%;
        padding: 1%;
    }    

    .calendar-event {
        width: 100%;
        height: 25%;
        padding-top: 1%;
    }

    #video {
        height: 450px;
        border: 15px solid #f0ec18;
    }

    #video h2 {
        font-size: 100%;
    }

    #social h2 {
        font-size: 70%;
    }
    
    #social h2 > i {
        font-size: 70%;
    }

    #social i {
        font-size: 100%;
    }

    .signup-form {
        margin-top: 18%;
    }

    #cover-text-thanks {
        font-size: 250%;
    }
} 

/* for small screens size 650px wdie and down */
@media screen and (max-width: 650px) {
    body {
        font-size: 80%;
    }

    #nav {
        width: 100%;
        background: #f0ec18;
        line-height: 50px;
        position: absolute;
        left: 0;
        top: 75px;
        transform: translateY(-220%);
        z-index: -1;
        transition: .6s;
        text-align: center;
    }
    
    #nav li {
        padding-left: 1%;
        font-size: 90%;
    }

    nav .nav-toggler {
        display: grid !important;
    }

    #cover-text {
        width: 50%;
    }

    #tournament {
        height: 750px;
    }

    .text-top, .text-bottom {
        line-height: 20px;
    }

    .text-top h2, .text-bottom h2 {
        font-size: 170%;
    }

    #calendar {
        background: url('../images/pexels-justiniano-adriano-2.jpg') no-repeat center center;
    }

    #video {
        height: 300px;
        border: 2px solid #f0ec18;
    }

    #map {
        height: 300px;
    }

    #contacts {
        width: 100%;
    }
   
    #social {
        width: 100%;
    }

    #signup {
        display: block;
        float: left;
        padding: 10% 0 0 10%;
    }

    #social h2 {
        display: none;
    }

    .signup-form {
        max-width: 90%;
        margin-top: 30%;
    }

    #cover-text-thanks {
        font-size: 150%;
    }

}
