@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu Mono', monospace;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

nav {
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 60px;
    display: flex;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

nav ul {
    height: 100%;
    display: flex;
    /* width: 570px; 100 100 250 100px (ul li) */
}

nav ul li {
    list-style: none;
    padding-top: 18px;
    width: 100px;
    text-align: center;
}

nav ul li a {
    color: black;
    text-decoration: none;
}

.namelist {
    width: 250px;
}

.namelist2 {
    width: 130px;
}

.form {
    position: relative;
}

.form img {
    height: 30px;
    width: 30px;
    position: absolute;
    top: 15px;
    left: 50px;
}

.searchBox {
    font-size: 18px;
    width: 400px;
    padding-left: 55px;
    height: 45px;
    margin-top: 5px;
    margin-bottom: 20px;
    margin-right: 20px;
    margin-left: 40px;
    border-radius: 25px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.searchButton {
    height: 45px;
    width: 100px;
    margin-top: 7px;
    border: none;
    border-radius: 25px;
    position: absolute;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.searchButton p {
    font-size: 16px;
}

#theme {
    border: none;
    border-radius: 25px;
    height: 35px;
    margin-top: 10px;
    margin-left: 20px;
    width: 150px;
    font-size: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

#theme:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.searchBox::placeholder {
    color: var(--placeholder-color, inherit);
}

.searchBox:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
}

.searchButton:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.containers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
}

.container {
    min-width: 350px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 50px 30px;
    overflow:auto;

}

.box1 {
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

.box2 {
    box-shadow: 0 10px 40px rgba(118, 75, 162, 0.2);
}

.container h1 {
    margin-top: 20px;
    color: rgb(57, 55, 55);
    font-size: 48px;
}

.country-details {
    margin-top: 20px;
    line-height: 1.6;
    font-weight: bolder;
    color: rgb(64, 0, 93);
}

.info {
    color: white;
    font-weight: bolder;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    font-size: 14px;
}

.info:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.map img {
    width: 100%;
    box-shadow: 0 10px 30px rgba(118, 75, 162, 0.2);
    object-fit: contain;
}

.map a {
    text-decoration: none;
}

.template {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 200px;
    height: 40px;
    padding-top: 10px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    font-style: italic;
    transition: all 0.3s ease;
    font-size: 14px;
}

.template-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

nav ul li:hover {
    outline: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    background: rgba(102, 126, 234, 0.1);
}