:root {
    --primary-bg: #4F3438;
    --accent-color:#FFB1C0;
    --font-main: sans-serif;
}
body {
    background-color: var(--primary-bg);
    margin: 0;
}
.body2{
    background-color: #251618;
    margin: 0;
}
#headgoogle{
    border-bottom:1px solid rgb(143, 143, 143);
    width: 100%;
}
#astitles{
    font-family:Arial;
    text-align:left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 70px;
    padding-top: 20px;
    color: rgb(204, 204, 204);
    font-size: 15px;
}
#asearch{
    font-family:Arial;
    text-align:left;
    color: rgb(204, 204, 204);
    font-size: 15px;
    padding-left: 70px;
    padding-top: 8px;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 15px;
}
.text{
    font-size: 15px;
    width: 200px;
}
#asearch td input{
    display: block;
    border: 1px solid rgb(143, 143, 143);
    background-color: transparent;
    font-size: 18px !important;
    min-height: 40px;
    width: 100%;
    box-sizing: border-box;
    color: inherit;
    padding-left: 10px;
}
#g{
    background-color: transparent;
    box-shadow: none;
    margin: 0;
    padding: 0;
}
#r{
    text-align: right;
    padding-top: 15px;
}
#y{
    background-color: rgb(35, 46, 77) !important;
    border-radius: 20px;
    border: transparent !important;
    padding: 10px 8px;
    cursor: pointer;
    font-weight: bold;
    flex-shrink: 0;
    font-family:Arial;
    color: white !important;
    font-size: 15px !important;
    width: auto !important;
    display: inline-block !important;
}
#y:hover{
    border: 2px solid rgb(60, 80, 134) !important;
}
#asearch td input:focus{
    border: 2px solid  rgb(60, 80, 134) !important;
    outline: none;
}
#asearch td:last-child{
    width: auto;
}
#astitle{
    color: white;
    display: flex;
    font-family: 'Times New Roman', Times, serif;
    font-size: 35px;
    margin-left: 70px;
}
.title {
    position: absolute; 
    bottom: calc(50% + 80px);
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: 100px;
    color: var(--accent-color);
    margin: 0;
    text-align: center;
    width: 100%;
}
#titleimage{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: calc(50%);
    margin: 0;
    width: 100%;
}
#title2{
    position: absolute;
    bottom: calc(50% + 80px);
    left: calc(50% + 80px);
    font-family: 'Times New Roman', Times, serif;
    font-size: 22px;
    color:#FFCC00;
    margin: 0;
}
#f {
    display: flex;
    justify-content: center;
    z-index: 10;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    font-family: var(--font-main);
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}
form {
    width: 100%;
    max-width: 800px;
    display: flex;
    background-color: white;
    gap: 5px;
    padding: 10px;
    border-radius: 30px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
input {
    font-family: inherit;
    font-size: 20px;
    border: none;
    outline: none;
}
#q {
    flex: 1;
    padding-left: 25px;
    min-width: 0; 
    background: transparent;
}
#s {
    background-color: whitesmoke;
    border-radius: 20px;
    padding: 8px 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    flex-shrink: 0;
}
#s:hover{
    background-color: #e0e0e0;
    transform: scale(1.05);
}
#l {
    position: absolute;
    bottom: calc(50% - 100px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
    padding: 8px 25px;
    background-color: transparent;
    color: white;
    font-size: 20px;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s;
}
#l:hover{
    background-color: #9b545fd8;
}
.pages{
    position: absolute;
    display: flex;
    gap: 20px;
    top: 10px;
    right: 10px;
    z-index: 100;
}
a:link, a:visited{
    color: white;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s;
}
a:hover{
    text-decoration: underline;
}
@media (max-width: 600px) {
    #title {
        bottom: calc(50% + 65px);
    }
    
    form {
        padding: 8px;
        width: 95%;
    }
    #a {
        padding: 8px 15px;
        font-size: 16px;
    }
    #q {
        font-size: 16px;
    }
}
#sim{
    display: flex;
    justify-content: center;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    font-family: var(--font-main);
    padding: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}