* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
}

.navbar{
    background: #000000;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    position: sticky;
    top: 0;
    z-index: 999;
    font-family: 'Rye', cursive;
    
}

.navbar__container{
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin-right: auto;
    padding: 0;
    
}

#navbar__logo{
    background-color: white;
    background-image: linear-gradient(to top, #08ff10 20%, white 40%, #ff0000 60%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    
    text-decoration: none;
    font-size: 2rem;
    margin-right: 50px;
    
}

.fa-gem {
    margin-right:0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
    font-size: 25px;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
    font-family: 'Rye', cursive;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
    font-family: 'Rye', cursive;
    
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: rgb(255, 0, 0);
    background-image: linear-gradient(to right, rgb(24, 197, 24) 0%,green 30%,white 30%, white 40%, white 50%, white 60%,white 70%, #ff0000 20%, rgb(240, 13, 13) 10%);
    color: #000000;

}

.button:hover{
    background:rgb(197, 10, 10);
    transition: all 0.3s ease;
    background-image: linear-gradient(to right, rgb(106, 221, 106) 0%,rgb(74, 229, 74) 30%,white 30%, white 40%, white 50%, white 60%,white 70%, #fd5959 20%, rgb(251, 63, 63) 10%);
}

.navbar__links:hover{
    color:rgb(255, 0, 0);
    transition: all 0.3s ease;
}





@media screen and (max-width: 960px) {
    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding:0;
    }

    .navbar__container a{
        transform:translateX(-45px)    }


    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
        background: #131313;
    }

    .navbar__menu.active {
        background: #131313;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 80vh;
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: #fff;
    }

    .navbar__item{
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%,20%);
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    .navbar__toggle .bar{
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2){
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    
    #mobile-menu.is-active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }


}

.main{
    background-image: url(https://cdn.britannica.com/73/2573-004-29818847/Flag-Mexico.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    border-style: solid;
    border-color: #ffffff;
    border-width: 30px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
    max-height: 100vh;
    /*background-color: #141414;*/
    z-index: 1;
    max-width: 1300px;
    padding: 0 50px;
    
}



.main__content h1{
    font-size: 4rem;
    color: rgb(110, 18, 18);
}

.main__content h2 {
    font-size: 4rem;
    color: brown;
    
    
}

.main__content p {
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: #deb032;
    font-family:'Rye', cursive;
    text-align: center;
}
body{
    background-color: #03000000;
    background-repeat: no-repeat;
   background-attachment: fixed;
   background-position: center;
   background-size: cover;
   text-align: center;
}

.main__btn{
    font-size: 2rem;
    align-items: center;
    background-image: linear-gradient(to top, #e66363 0%, #ff0000 100%);
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    color: #fff;
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    outline: none;
}

.main__btn a {
    position: relative;
    z-index: 2;
    color: #fff;
    text-decoration: none;
}

.main__btn::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background:#5a9838;
    transition: all 0.35s;
    border-radius: 4px;
}

.main__btn:hover {
    color: #fff
}

.main__btn:hover::after{
    width: 100%;
}

.main__img--container {
    text-align: center;
    margin: auto;
}

#main__img {
    height: 80%;
    width: 80%;

}




#box{
    border-style: solid;
    border-color: #ff0000;
    border-width: 10px;
    color: black;
    background-color: rgb(255, 255, 255);
    width: 40%;
    height: 40%;
    font-size: 100%;
    text-align: center;
    max-height: 20%;
}

#box h1{
    transform: translateY(20px);

}

#box p{
    transform: translateY(10px);
}

.sec1__content{
    /*background-color: #131313;*/
    color: white;
    
    font-size: 5vmin;
}

.sec1__container img{
    max-width: 70%;
    max-height: 70%;
    border-style: solid;
    border-color: red;
    border-width: 10px;
}

#box2{
    border-style: solid;
    border-color: #ff0000;
    border-width: 10px;
    color: black;
    background-color: rgb(255, 255, 255);
    width: 100%;
    height:100%;
    font-size: 100%;
    text-align: center;
}

#box3{
    border-style: inset;
    border-color: #621111;
    border-width: 15px;
    color: rgb(255, 255, 255);
    background-color: rgb(255, 255, 255);
    background-image: url(https://thumbs.dreamstime.com/b/mexican-culture-themed-background-border-98851067.jpg);
    background-size:cover;
    padding: 20px;
    font-size: 60%;
    text-align: center;
    width: 400px;
    padding-top: 15%;
    margin-bottom: 4%;
    margin-left: 5%;
    margin-right: 5%;
    height: 600px;
}



#box4{
    border-style: solid;
    border-color: #1ba42f;
    border-width: 20px;
    background-image: url(https://t4.ftcdn.net/jpg/01/22/62/27/360_F_122622780_TsKICe2qgJ808hHdLAEcJPfs52NHCc9V.jpg);
    background-size:cover;
    padding: 70px;
    font-size: 40px;
    text-align: center;
    width:80%;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-family: papyrus;
}

#box5{
    border-style: inset;
    border-color: #621111;
    border-width: 15px;
    color: rgb(255, 255, 255);
    background-color: rgb(255, 255, 255);
    background-image: url(https://thumbs.dreamstime.com/b/mexican-culture-themed-background-border-98851067.jpg);
    background-size:cover;
    padding: 20px;
    font-size: 60%;
    text-align: center;
    width: 40%;
    padding-top: 15%;
    margin-bottom: 4%;
    margin-left: 5%;
    margin-right: 5%;
    height: 600px;
    float: right;
}

.about a{
    color:rgb(109, 34, 34);
    font-size: 45px;
    text-decoration: none;
}

.about a:hover{
    color:#34d84c;
    transition: all 0.3s ease;
}

#box6{
    border-style: inset;
    border-color: #621111;
    border-width: 15px;
    color: rgb(255, 255, 255);
    background-color: rgb(255, 255, 255);
    background-image: url(https://thumbs.dreamstime.com/b/mexican-culture-themed-background-border-98851067.jpg);
    background-size:cover;
    padding: 20px;
    font-size: 57%;
    text-align: center;
    width: 60%;
    padding-top: 15%;
    margin-bottom: 4%;
    margin-left: auto;
    margin-right: auto;
    height: 600px;
}

#box7{
    border-style: solid;
    border-color: #ff0000;
    border-width: 20px;
    background-image: url(https://thumbs.dreamstime.com/b/mexican-culture-themed-background-border-98851067.jpg);
    background-position-y:27%;
    padding: 30px;
    font-size: 200%;
    width:100%;
    color: white;
    text-align: left;
}

#box7 img{
    border-style: solid;
    border-color: red;
}

#box7 a{
    text-decoration: none;
    color: rgb(255, 255, 255);
    text-align: left;
}

#box7 a:hover{
    color: rgb(255, 128, 0);
}



#box7 img{
    border-style: solid;
    border-width: 5px;
    max-height: 150px;
    max-width: 200px;
    float: right;
}

#box7 a img:hover{
    border-color: rgb(255, 128, 0);
}

#box8{
    border-style: solid;
    border-color: #ff0000;
    border-width: 20px;
    background-color: black;
    background-position-y:27%;
    padding: 30px;
    font-size: 100%;
    width:100%;
    color: white;
    text-align: left;
}

/* Mobile Responsive */

@media screen and (max-width: 768px){
    .main__container {
        display: grid;
        grid-template-columns: auto;
        align-items: center;
        justify-self: center;
        width: 100%;
        margin: 0 auto;
        height: 90vh;
        transform: translateY(-80px);
    }

    .main__content {
        text-align: center;
        margin-bottom: 4rem;
    }

    .main__content h1 {
        font-size: 2rem;
        margin-top: 5rem;
        background-color: #4b3b2090;
    }

    .main__container h2 {
        font-size: 1.5rem;
    }

    .main__content p {
        margin-top: 1rem;
        font-size: 1.5rem;
    }

    #box{
        height: 100%;
        width: 100%;
        margin-bottom: 30%;
    }

    #box3{
        width: 250px;
        font-size: 20px;
        padding-top: 60%;
    }

    #box5{
        font-size: 20px;
        width: 250px;
        padding-top: 60%;
        float: none;
    }

    }



 @media screen and (max-width: 400px) {
    

    .main__content h1 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .main__container h2 {
        font-size: 2rem;
    }

    .main__content p {
        margin-top: rem;
        font-size: 1.5rem;
        text-align: left;
    }

    .main__btn{
        padding: 6px 36px;
        margin: 2.5rem 0;
    }

}


@media screen and (max-width: 1000px)
{


    #box6{
        font-size: 80%;
        margin: 10%;
        position: relative;

    }

    #box7{
        font-size: 140%;
        margin: 10%;
        position: relative;
        padding: 20px;
        
    }

    #box7 img{
        float:none;
    }
}





/* Dropdown Button */
.dropbtn {
    background-color: transparent;
    color: white;
    font-size: 16px;
    border: none;
  }
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    text-align: left;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #d5d5d5;}
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {display: block;}
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
  


  