html {
    font-size: 20px;
}

body a {
    color: inherit;
}

.video-section {
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

#intro {
    min-height: 30vh;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center center;
    /* background-attachment: fixed; */
}

video {
    left: 50%;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}



section {
    position: relative;
    padding: 4em;
}

@media (max-width: 768px) {
    section {
        position: relative;
        padding: 1em;
    }
}

section#intro {
    padding: 1em 0;
}

section#info {
    /* background: #3aa0d9; */
    background-color: rgb(26, 126, 172);

}

section#invit {
    min-height: unset;

}

section h2 {
    text-align: center;
    margin: 0 0 1em;
    text-transform: uppercase;
    font-size: xxx-large;
}

#gallery .row>div {
    padding: 0;
}

.navbar-brand {
    display: inline-block;
    width: 215px;
    height: 70px;
    position: absolute;
    left: 0;
}

@media (min-width: 768px) and (max-width: 1168px) {
    .navbar-brand {
        display: none;
    }
}

.navbar-toggler {
    margin: 0 auto;
    color: inherit;
}

.socials {
    display: inline-block;
    width: 215px;
    position: absolute;
    right: 0;
    text-align: right;
    padding-right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 768px) and (max-width: 1000px) {
    .socials {
        padding-right: 5px;
        margin-top: 15px;
    }
}


@media (max-width: 505px) {
    .socials {
        display: none;
    }

    #navbarSupportedContent .socials {
        display: block;
    }

    .navbar-toggler {
        margin-right: 0;
    }
}

#navbarSupportedContent .socials .nav-link {
    color: black;
}

@media (min-width: 506px) {
    #navbarSupportedContent .socials {
        display: none;
    }
}

.socials a {
    margin: 5px;
}

.navbar-brand>img {
    position: absolute;
    top: 0;
    left: 0;
    transition: all 1s;
}

#brand1 {
    opacity: 1;
}

.sticky #brand1 {
    opacity: 0;
}

#brand2 {
    opacity: 0;
}

.sticky #brand2 {
    opacity: 1;
}

nav {
    /* background: unset; */
    /* background: rgba(230, 230, 230, 0.9); */
    background: rgba(58, 160, 217, 0.5);
    /* background: #3aa0d9; */
    transition: all 0.5s;

}

nav .nav-link {
    color: white;
    transition: all 0.5s;
}

nav.sticky {
    /* background: rgba(58, 160, 217, 0.9); */
    background-color: white;
}

nav.sticky .nav-link {
    color: black;
}

nav .navbar-nav {
    width: auto;
    margin: 0 auto;
}

section .container {
    position: relative;
    color: white;
}

.text-justify {
    text-align: justify;
}

.form-submit {
    text-align: right;
    padding-top: 2em;
}

#partners {
    text-align: center;
    min-height: unset;
}

#partners>div {
    position: relative;
}

#partners img {
    /* height: 50px; */
}

.first {
    padding-top: 150px;
}

.last {
    min-height: 100vh;
}

#big-logo {
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
    position: relative;
    text-align: center;
    margin: 10% auto 5%;
}

#big-logo img {
    max-width: 70vw;
    animation: heartbeat 2s infinite;
}

#big-text {
    text-align: center;
    position: relative;
    color: white;
}

#big-text h1 {
    font-size: 4rem;
}

#big-text span {
    font-size: 3rem;
}

@media (max-width: 768px) {
    #big-text h1 {
        font-size: 2rem;
    }

    #big-text span {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-expand-md .navbar-collapse {
        position: absolute;
        top: 100%;
        background: white;
        color: black !important;
        right: -100%;
        width: 100%;
        padding: 10vw;
        transition: all .5s;
    }

    .navbar-expand-md .navbar-collapse.show {
        right: 0;
    }

    .navbar-expand-md .navbar-collapse .nav-item a {
        color: black;
    }
}

.slideanim {
    visibility: hidden;
}

.slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
}


.news-list {
    display: block;
    padding: 2rem;
    margin: -2rem;
    overflow: hidden;    
}

.news-item-wrap {
    padding: 15px;
    width: 33%; /*calc(33%-30px);*/
    float: left;
}

.news-first-big .news-item-wrap:first-child {
    width: 100%;
}

.news-item {
    display: block;
    padding: 60% 0 0;
    font-size: medium;
    
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    height: 320px;
    
    box-shadow: 0 0.15rem 0.75rem 0 rgba(26, 126, 172, 0.15);
    transition: all 0.3s;
}

.news-item:hover {
    margin: -5px 0 5px;
}

/* .news-item-wrap:first-child .news-item{
    height: 320px;
} */

.news-item-wrap .news-img {
    position: absolute;
    top: 0; 
    left: 0;
    bottom: 40%;
    right: 0;
    background-size: cover;
    background-position: center center;
}


.news-first-big .news-item-wrap:first-child .news-item {
    display: block;
    padding: 0 0 0 40%;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    height: 320px;
    font-size: larger;
    
}

.news-first-big  .news-item-wrap:first-child .news-img {
    position: absolute;
    top: 0; 
    left: 0;
    bottom: 0;
    right: 60%;
    background-size: cover;
    background-position: center center;
}

.news-descr {
    position: absolute;
    top:60%;
    left: 0;
    bottom: 0;
    right: 0;
    color: var(--bs-gray-600);    
    text-align: left;
    padding: 15px;
}

.news-first-big  .news-item-wrap:first-child .news-descr {
    position: static;
}


.news-descr h3 {
    color: var(--bs-gray-900);    
    font-size: x-large;
}


.blockquote-footer {
    font-size: smaller !important;
  color: white !important;
  margin-left: 30%;
  text-align: right;
}


@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(70%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@-webkit-keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(.85);
    }

    20% {
        transform: scale(1);
    }

    40% {
        transform: scale(.85);
    }

    60% {
        transform: scale(1);
    }

    80% {
        transform: scale(.85);
    }

    100% {
        transform: scale(.85);
    }
}