* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    display: flex;
    flex-direction: column;
    font-family: "Inter", system-ui;
    font-optical-sizing: auto;
    background-color: rgb(255, 255, 255);
}

.sloganColouriser{
    color: #224728;
}

.content {
    flex: 1;
}

footer {
    background-color: #B6C6CC;
    color: white;
    padding: 10px 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.footer-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 0;
    list-style: none;
}

.footer-list li {
    margin: 0 20px;
}

.footer-list a {
    color: white;
    text-decoration: none;
}

.footer-list a:hover {
    color: #ccc;
}

.carousel-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.carousel-container a {
    color: black;
    text-decoration: none;
}

.carousel-container a:hover {
    color: #333;
}

.distanceTopImage{
    margin-top: 1%;
}

.card {
    flex: 0 0 calc(25% - 20px);
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-img-top.hidden {
    opacity: 0;
}

.card-img-top {
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.card:hover .card-img-top {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

.card-body {
    padding: 20px;
    text-align: center;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.card:hover .card-body {
    background-color: #B6C6CC;
    transition: background-color 0.3s ease;
}

.ledenConatusFotos {
    margin-top: 10%;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.DisciplineFoto {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

table thead th {
    color: #224728;
}

.logoReducer img{
   max-width: 20%;
}

.logoimage2 {
    display: flex;
}

.DisciplineFoto img {
    max-width: 100%;
    height: auto;
    display: block;
}

.padder {
    margin-top: 7%;
}

.homePageText {
    margin-top: 50px;
    padding: 0 25%;
}

.homePageText p {
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

table {
    width: 100%;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 100vh;
}

.form-inline {
    display: flex;
    justify-content: center;
}

.form-control {
    margin-right: 10px;
}

.btn {
    margin-left: 10px;
}

.homeScreenImage {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin-top: 40px;
}

.homeScreenImage img {
    max-width: 100%;
    height: auto;
}

.logoImage img {
    display: flex;
    width: 45%;
}

.informationText {
    margin-top: 50px;
    padding: 0 20%;
}

.informationText p {
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

.informationImage {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin-top: 6%;
    margin-right: auto;
}

.informationImage img {
    max-width: 50%;
    height: auto;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
}

.navbar {
    margin: 0;
    padding: 0;
    width: 100%;
    position: fixed;
    left: 0;
}

@media screen and (max-width: 1280px) {
    .padder{
        margin-top: 6%;
    }
    
    .homePageText, .informationText {
        padding: 0 15%;
    }
}

@media screen and (max-width: 1024px) {
    .homePageText, .informationText {
        padding: 0 10%;
    }

    .ibcImage img {
        width: 60%;
    }

    .informationImage img {
        max-width: 70%;
        margin-top: 3%;
    }

    .card {
        flex: 0 0 calc(50% - 20px);
    }
    
}

@media screen and (max-width: 768px) {
    .footer-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        justify-content: center;
        padding: 0;
        list-style: none;
    }

    .ledenConatusFotos {
    margin-top: 18%;
    }

    .footer-list li {
        text-align: center;
    }

    footer {
        padding: 10px;
    }

    .homePageText, .informationText {
        padding-left: 5%;
    }

    .ibcImage img {
        width: 90%;
    }

    .informationImage {
        flex-direction: column;
        margin-right: 0;
        height: auto;
        margin-top: 18%; 
    }

    .informationImage img {
        max-width: 90%;
    }

    .container {
        width: 100%;
        flex-direction: column;
    }

    .form-inline {
        flex-direction: column;
    }

    .form-control,
    .btn {
        margin: 10px 0;
        width: 100%;
    }
    
    .card {
        flex: 0 0 calc(100%);
    }

    .padder {
        margin-top: 10%;
    }

    @media screen and (max-width: 600px){
    .ledenConatusFotos {
        margin-top: 22%;
    }

    .informationImage{
        margin-top: 22%;
    }
    }

    @media screen and (max-width: 500px){
    .ledenConatusFotos {
        margin-top: 24%;
    }

    .informationImage{
        margin-top: 22%;
    }
    }
}
