﻿/* header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Hafif bir gölge ekleyebilirsiniz 
}  
*/


/* styles.css */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #333;
    color: white;
    z-index: 1000;
    transition: all 0.3s ease;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 0;
}

#logo-container {
    text-align: center;
    transition: all 0.3s ease;
}

#netnest-logo {
    font-size: 2.5em;
    margin: 0;
    transition: all 0.3s ease;
}

#main-nav {
    margin-top: 10px;
    transition: opacity 0.3s ease;
}

#main-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

#main-nav ul li {
    display: inline-block;
}

#main-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}

/* Shrink effect */
.shrink {
    height: 50px; /* Adjust this height as needed for the single-row bar */
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.shrink #logo-container {
    width: 100%;
    text-align: center;
}

.shrink #netnest-logo {
    font-size: 1.8em;
}

.shrink #main-nav {
    display: none; /* Completely hide the navigation */
}










 footer {
   
    
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em 0;
   z-index: 1000; /* Diğer içeriklerin üstünde görünmesi için */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Hafif bir gölge ekleyebilirsiniz */
} 

container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1em 0;

}




nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

section {
    background-color: white;
    padding: 20px;
    margin: 120px auto;
    
}

form label {
    display: block;
    margin-bottom: 5px;
}

form input, form textarea, form select {
    width: 50%;
    padding: 8px;
    margin-bottom: 10px;
}

form button {
    display: block;
    width: 50%;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}

form button:hover {
    background-color: #555;
}


form label {
    display: block;
    margin-bottom: 5px;
}

form input, form textarea, form select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;

}

form div {
    display: flex;
    margin-bottom: 10px;
}






.form-group {
    width: 50%;
           
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
}

form-group input, .form-group select {
    padding: 8px;
    box-sizing: border-box;
    width: 100%;
}

.form-group input[type="submit"] {
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}
.form-group input[type="submit"]:hover {
    background-color: #0056b3;
}
.error {
    color: red;
}
.phone-group {
    display: flex;
    align-items: center;
}
.phone-group select {
margin-right: 10px;
padding-left: 25px;
background-repeat: no-repeat;
background-position: left center;
background-size: 20px 15px;
}
.flag {
    width: 20px;
    height: 15px;
    margin-right: 5px;
}
input::placeholder {
    color: #aaa;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}












