._country_wrapper {
    display: flex;
    flex-wrap: wrap;       /* Allows links to drop to next line */
    justify-content: center; /* Centers the links horizontally */
    gap: 12px 24px;   /* Simple: 12px Vertical space, 24px Horizontal space */
    margin-bottom: 20px;
    max-width: 1000px;  /* Optional: prevents links from stretching too wide on 4K monitors */
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
}

._country_link{
    color: rgb(243, 240, 240);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 6px 10px; /* increase hit area */
    transition: color 0.2s ease-in-out;
}

._country_link:hover{
    color:white;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

._country_link:visited{
    color:white;
}

._country_link.underline {
    text-decoration:underline;
}

#button-addon1 {
    color: #ffc371;
}

.form-control::placeholder {
    font-size: 0.95rem;
    color: #aaa;
    font-style: italic;
}

.form-control.shadow-0:focus {
    box-shadow: none;
}

.downfooter{
	background:linear-gradient(to right, #ff5f6d, #ffc371);
	width:100%;
}

footer {
    margin:0;
}

.py-5 {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.py-4 {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

@media all and (min-width: 576px){
    footer{
        margin: .5em 3em;
        max-width: 100%;
    }

    .pt-4 {
        padding-top: 1.5rem !important;
    }

    .py-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .py-5 {
        /*padding-top: 3rem !important;*/
        padding-bottom: 3rem !important;
    }
}