/*
Theme Name: CNUMIA
Theme URI: https://cnumia.com/
Author: Adrián Martínez
Author URI: mailto:kayakpoloumia@gmail.com?subject=diseño%20web
Description: Web oficial del club náutico umia en Caldas de Reis.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cnumia
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import "./variables.css";

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial;
  font-size: 17px;
  font-family: "Barlow", sans-serif;
}

section video {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.content {
  width: 100%;
}

.page-content {
  margin-top: 50px;
}

.page-content .content {
  padding: 25px;
}

section .overlay {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 222;
}

section .content {
  position: relative;
  z-index: 333;
}

#myVideo {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: inherit;
}

#home .overlay {
  background: linear-gradient(to right, rgb(2 2 2 / 50%), rgb(0 255 231 / 70%));
}

.logo-content {
  text-align: center;
}

.logo-content h1 {
  font-weight: 300;
  font-size: 1.3em;
  max-width: 480px;
}

.logo {
  position: relative;
  margin: 0 auto;
  max-width: 380px;
  height: 380px;
}

.logo-bb {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 333;
  height: 380px;
  max-width: 380px;
  background-image: url(./assets/images/logo.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.logo-circle {
  position: absolute;
  top: 0;
  width: 100%;
  height: 380px;
  max-width: 380px;
  background-image: url(./assets/images/logo-corona.png);
  background-repeat: no-repeat;
  background-size: contain;
  animation: rotation 20s infinite linear;
}

#myBtn {
  width: 200px;
  font-size: 18px;
  padding: 10px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
}

#myBtn:hover {
  background: #ddd;
  color: black;
}
/* Keyframes */
@keyframes wiggle {
  0%,
  7% {
    transform: rotateZ(0);
  }
  15% {
    transform: rotateZ(-15deg);
  }
  20% {
    transform: rotateZ(10deg);
  }
  25% {
    transform: rotateZ(-10deg);
  }
  30% {
    transform: rotateZ(6deg);
  }
  35% {
    transform: rotateZ(-4deg);
  }
  40%,
  100% {
    transform: rotateZ(0);
  }
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 600px) {
  .logo {
    height: 300px;
    width: 300px;
  }
  .logo-circle {
    height: 300px;
    max-width: none;
  }

  .logo-bb {
    width: 300px;
    max-width: none;
  }
}

.menu.close {
  left: -300px;
  transition: all 0.8s ease;
}

.menu {
  padding: 50px 35px;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  min-width: 300px;
  max-width: 380px;
  background-color: #1c1c1c;
  box-shadow: 3px 0px 5px 0px rgb(0 0 0 / 30%);
  z-index: 999;
  transition: all 0.8s ease;
}

.nav {
  display: flex;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  padding: 15px;
  justify-content: space-between;
}

.nav.colored {
  background-color: #1c1c1c;
}

.socialLinks {
  list-style: none;
  display: flex;
  margin: 0;
  z-index: 888;
}
.socialLinks li {
  margin: 0 10px;
  transition: all 0.5s ease;
}

.socialLinks li:hover {
  transform: scale(1.3);
  transition: all 0.5s ease;
}

.socialLinks li a:hover {
  transition: all 0.5s ease;
  color: #342e2e;
}
.socialLinks li a {
  color: #fff;
  transition: all 0.5s ease;
}
.socialLinks i {
  font-size: 1.2em;
}

.menubars {
  color: #fff;
  font-size: 1.3em;
}

.menubars:hover {
  cursor: pointer;
}

.menu .close:hover {
  cursor: pointer;
}

.menu .close {
  font-size: 1.5em;
  color: #fff;
  position: absolute;
  right: 25px;
  top: 25px;
}

.menu ul {
  list-style: none;
  padding: 0;
}

.menu ul li {
  margin: 0 0 25px 0;
}

.menu ul li a {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
}

.menu ul li.active a {
  color: var(--primary-color);
  text-decoration: line-through;
}

.menu ul li a:hover {
  color: var(--primary-color);
  cursor: pointer;
  text-decoration: line-through;
}

.logo-menu {
  margin: 25px 0;
}

.logo-menu img {
  width: 100%;
  max-width: 150px;
}

.logo-menu:hover {
  animation: wiggle 2s ease;
}

#home {
  padding: 0;
}

#home .content {
  height: 100vh;
}

section {
  position: relative;
  overflow: hidden;
  padding: 50px 50px 75px 50px;
}

section .title {
  text-transform: uppercase;
  font-size: 3em;
  padding: 25px;
}

section h1.white {
  color: #fff;
}

section h1.primary {
  color: var(--primary-color);
}

section h1.dark {
  color: #1c1c1c;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.video-container {
  height: 100vh;
}

.member-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.member-target {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  margin: 25px;
}

.member-target:hover .member-image > div {
  transition: all 0.5s ease;
  transform: scale(2);
  cursor: pointer;
}

.member-target h1 {
  color: var(--primary-color);
  font-size: 1em;
  font-weight: 500;
}

.member-image {
  border: 15px solid #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  border-radius: 100%;
  overflow: hidden;
}

.member-image > div {
  width: 200px;
  height: 200px;
  background-size: cover;
  background-position: top center;
  transition: all 0.5s ease;
}

#videos {
  overflow: hidden;
}

#videos video {
  top: -150px;
}

#videos .overlay {
  background: linear-gradient(to right, rgb(2 2 2 / 50%), rgb(0 255 231 / 70%));
}

#videos iframe {
}

#merchandising .product {
  display: flex;
  flex-flow: column;
  align-items: center;
}

#merchandising .product .image {
  background-position: center;
  background-size: contain;
  width: 100%;
  background-repeat: no-repeat;
  max-width: 250px;
  height: 250px;
}

#merchandising .product h1 {
  text-align: center;
  font-size: 1em;
}

#merchandising .product button {
  border: 2px solid #1c1c1c;
  color: #1c1c1c;
  padding: 10px 15px;
  font-weight: 600;
  border-radius: 0;
  background-color: transparent;
}

#merchandising .product button:hover {
  border: 2px solid var(--primary-color);
  background-color: var(--primary-color);
  color: #1c1c1c;
  cursor: pointer;
}

#merchandising {
  overflow: hidden;
}

#merchandising .overlay {
  background-color: rgba(255, 255, 255, 0.7);
}

.flex {
  display: flex;
}

.center {
  justify-content: center;
}

.flex.align-center {
  align-items: center;
}

.space-between {
  justify-content: space-between;
}

.column {
  flex-flow: column;
}

input,
textarea {
  padding: 10px;
  border: 0;
  outline: none;
}

.col-6 {
  width: 48%;
}

#contacto {
  display: flex;
  justify-content: center;
}

#contacto form {
  width: 100%;
  max-width: 800px;
}

form label {
  color: var(--white-color);
  text-transform: uppercase;
  padding: 5px 0;
  font-size: 0.8em;
}

form textarea {
  min-height: 150px;
}

.form-group {
  padding: 5px;
}

form button {
  width: 100%;
  padding: 15px;
  background-color: transparent;
  color: var(--white-color);
  border: 2px solid var(--white-color);
  transition: all 0.5s ease;
  text-transform: uppercase;
  font-weight: 600;
}

form button:hover {
  background-color: var(--white-color);
  color: var(--black-color);
  transition: all 0.5s ease;
  cursor: pointer;
}

#contacto video {
  top: -150px;
}

#contacto .overlay {
  background-color: rgba(0, 0, 0, 0.8);
}

.footer {
  background-color: #1c1c1c;
  display: flex;
  justify-content: center;
  padding: 25px;
}

.footer p {
  text-transform: uppercase;
  color: #fff;
  font-size: 0.6em;
}

.footer a {
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--primary-color);
  transition: all 0.5s ease;
}

.footer a:hover {
  cursor: pointer;
  text-decoration: line-through;
  transition: all 0.5s ease;
}

#scrollTop {
  padding: 15px;
  background-color: var(--primary-color);
  position: fixed;
  color: var(--white-color);
  display: none;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}

#scrollTop:hover {
  cursor: pointer;
}

/* TIENDA */
ul.products {
  display: flex;
  flex-flow: row wrap;
}

.products li {
  display: block;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.3);
  margin: 15px;
  overflow: hidden;
  border-radius: 3px;
}

.product a {
  text-decoration: none;
}

.product a.button {
  display: flex;
  justify-content: center;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 15px;
  font-size: 0.8em;
  font-weight: 600;
  margin: 20px;
}

.product a.button:hover {
  border: 2px solid var(--secondary-color);
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.product h2 {
  padding: 0 10px;
  color: var(--secondary-color);
  font-size: 1em;
}

.product .price {
  padding: 0 10px;
  display: flex;
  font-weight: 600;
  color: var(--secondary-color);
}
