@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,900;1,700&display=swap');

/*======================================

        Default Values

Fonts: Roboto

Colors:
1. Forest Blue: #0a3d62;
2. White: #fff;
3. Black: #000;
4. Red: #ff0000;

======================================*/


/*------------------------------
        Basic setup
------------------------------*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #111;
    font-family: 'Roboto', sans-serif;
    text-rendering: optimizeLegibility;
}

li {
    list-style: none;
    display: inline-block;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #fff;
}


/*------------------------------
            Header
------------------------------*/

header .main-nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    z-index: 99999;
}

.video-container {
    /*    border-top: 4px solid #ff0000;*/
    width: 100%;
    height: 86vh;
    overflow: hidden;
    position: relative;
}

video {
    object-fit: cover;
    width: 100vw;
    height: 86vh;
}

.video-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 86vh;
    background: url(../video/coachCarlos4.png) no-repeat center top;
    opacity: 0.8;
}

.main-nav img {
    height: 9vh;
    width: auto;
}

.main-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu a {
    margin-left: 45px;
    color: #0a3d62;
    font-size: 20px;
}

.nav-menu li {
    /*    margin-top: 10px;*/
}

.nav-menu li::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ff0000;
    transition: all .3s ease;
    margin-top: 10px;
}

.nav-menu li:hover::after {
    width: 100%;
}


/*Mobile menu*/

.open-button {
    width: 30px;
    height: 30px;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    position: absolute;
    cursor: pointer;
    border-bottom: 0;
    top: 25px;
    right: 40px;
    z-index: 9999;
    border-bottom: 0;
}

.open-button span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #0a3d62;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
    display: none;
}

.open-button span:nth-child(1) {
    top: 0px;
    transform-origin: left center;
}

.open-button span:nth-child(2) {
    top: 10px;
    transform-origin: left center;
}

.open-button span:nth-child(3) {
    top: 20px;
    transform-origin: left center;
}

.open-button.open span:nth-child(1) {
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
}

.open-button.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.open-button.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 19px;
    left: 8px;
}

.centered-elements {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    z-index: 999;
    flex-direction: column;
    align-items: center;
}

.centered-elements h1 {
    text-transform: uppercase;
    color: #fff;
    font-size: 100px;
    font-weight: 300;
    transition: font-size .3s ease;
}

.centered-elements h1 span {
    font-weight: 900;
    color: #ff0000;
}

.centered-elements h2 {
    color: #fff;
    font-size: 32px;
    letter-spacing: 6px;
    font-weight: 300;
}

.centered-elements h2 span {
    font-weight: 900;
    color: #ff0000;
}

.centered-buttons {
    margin-top: 50px;
}

.centered-buttons a {
    font-size: 20px;
    color: #fff;
    padding: 15px 40px;
    text-transform: uppercase;
    font-weight: 300;
    margin: 30px;
    border: 2px solid #fff;
    transition: all .3s ease;
}

.centered-buttons a:hover {
    background-color: #0a3d62;
    border-radius: 10px;
}

#arrow-down {
    position: absolute;
    left: 50%;
    bottom: 40px;
    width: 26px;
    height: 26px;
    text-align: center;
    margin-left: -13px;
    z-index: 9999;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    animation: animatedArrow 2s infinite;
    cursor: pointer;
}

@keyframes animatedArrow {
    0% {
        bottom: 40px;
    }
    30% {
        bottom: 25px;
        border-color: #0a3d62;
    }
    100% {
        bottom: 40px;
    }
}


/*------------------------------
        Personal info
------------------------------*/

.personal-info {
    text-align: center;
    padding: 70px 20px;
    background-color: pink
}

.personal-info img {
    border: 4px solid #f53b57;
    cursor: pointer;
    filter: grayscale(100%);
    transition: all .3s linear;
}

.personal-info img:hover {
    filter: none;
    border-radius: 50%;
}

.personal-info h2 {
    text-transform: uppercase;
    font-size: 40px;
    color: #ff0000;
}

.personal-info h3+p {
    max-width: 580px;
    font-style: italic;
    font-family: serif;
    line-height: 1.6;
    color: dimgray;
    margin-top: 10px;
}

.personal-info p {
    max-width: 740px;
    margin: 30px auto;
    font-size: 19px;
    line-height: 1.4;
    text-align: left;
    font-weight: 300;
}


/*------------------------------
           speaking-section
------------------------------*/


/* speaking-section */

section.speaking-section {
    background-color: #0a3d62;
    width: 100%;
    text-align: center;
    padding: 70px;
}

.speaking-section h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 40px;
    color: #ff0000;
}

.speaking-section p {
    text-align: center;
    margin: 40px auto;
    font-size: 20px;
    color: #0a3d62;
}

.speaking-section video {
    display: block;
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
    height: auto;
}

.speaking-section p {
    color: #999;
    margin-top: 40px;
}

.speaking-section form {
    max-width: 800px;
    margin: 10px auto;
}

.speaking-section form select,
.speaking-section form label {
    color: #fff;
    text-align: left;
    display: block;
    text-transform: uppercase;
    margin-bottom: 7px;
    margin-top: 25px;
    color: #fff;
    font-weight: 400;
    font-size: 18px;
}

.speaking-section form select {
    padding: 10px;
    margin-top: 0;
    padding: 7px 10px;
    border: 1px solid #0a3d62;
    border-radius: 15px;
    font-size: 17px;
    color: #999;
    resize: none;
    text-transform: none;
}

.speaking-section form select option:first-child {
    color: #bababa;
}

.speaking-section form .group {}

form button {
    font-size: 18px;
    color: #0a3d62;
    padding: 10px;
    font-weight: 300;
    margin-top: 35px;
    border: 2px solid #0a3d62;
    transition: all .3s ease;
    background-color: #fff;
    width: 150px;
    cursor: pointer;
}

form button:hover {
    border: 2px solid rgb(0, 208, 0);
    background-color: green;
    border-radius: 10px;
    color: #fff;
}

form input {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #999;
    border-radius: 15px;
    font-size: 17px;
    color: #999;
}

form input:focus {
    outline: none;
    box-shadow: 1px 1px 15px -3px #999;
    border-color: #ff0000;
}

form textarea {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #999;
    border-radius: 15px;
    font-size: 17px;
    color: #999;
    resize: none;
}

form textarea:focus {
    outline: none;
    box-shadow: 1px 1px 15px -3px #999;
    border-color: #ff0000;
}

form .group {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
}

form .group input {
    margin-right: 10px;
    width: auto;
}


/*------------------------------
           footer
------------------------------*/

footer {
    text-align: center;
    padding: 15px;
    background-color: #181e2c;
    color: #e5ebf8;
}


/*Mobile menu*/

.open-button {
    width: 30px;
    height: 30px;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    position: absolute;
    cursor: pointer;
    border-bottom: 0;
    top: 25px;
    right: 40px;
    z-index: 9999;
    border-bottom: 0;
}

.open-button span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #0a3d62;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
    display: none;
}

.open-button span:nth-child(1) {
    top: 0px;
    transform-origin: left center;
}

.open-button span:nth-child(2) {
    top: 10px;
    transform-origin: left center;
}

.open-button span:nth-child(3) {
    top: 20px;
    transform-origin: left center;
}

.open-button.open span:nth-child(1) {
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
}

.open-button.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.open-button.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 19px;
    left: 8px;
}


/*  programs  */

section#programs {
    flex-direction: column;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
    background: rgba(255, 15, 15, 0.64);
    background: linear-gradient(0deg, rgb(0, 0, 0, 0.8), rgb(69, 0, 0)), url(../images/hero.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.programs {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
}

#programs h2 {
    text-transform: uppercase;
    font-size: 40px;
    color: #ff0000;
}

.engagement {
    position: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    margin: auto;
}

.engagement img {
    width: 100%;
    height: 100%;
}

.engagement p {
    font-size: 24px;
    text-align: center;
}

.image-container {
    position: relative;
    border: 4px solid #000;
    background-size: cover;
}

.image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    color: #FFF;
    transition: all .3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-size: 24px;
    cursor: pointer;
    /*    border: 4px solid #000;*/
}

.image-container:hover .overlay {
    visibility: visible;
    background: rgba(10, 61, 98, 0.95);
}


/*------------------------------
           Back to top
------------------------------*/

.backtotop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: block;
    cursor: pointer;
    transition: all .5s linear;
    width: 50px;
    height: 50px;
    background-color: #0a3d62;
    border-radius: 50%;
    box-shadow: 1px 1px 15px -3px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: .5;
}

.backtotop:hover {
    opacity: 1;
}

.backtotop a {
    color: #fff;
}