*{
    box-sizing: border-box;
    margin: 0%;
    border: none;
    list-style: none;
    font-style: normal;
    margin-bottom: 2px;
}
body {
    transition: background-color 0.5s ease;
}

.container {
    position: relative;
}

.dark-mode-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    z-index: -1;
}

.dark-mode-label {
    position: absolute;
    top: 10px;
    right: 5px;
    cursor: pointer;
    color: #fff;
}

.dark-mode-toggle:checked ~ main, .dark-mode-toggle:checked ~ body {
    background-image: linear-gradient(rgb(88, 52, 88)10%, rgb(38, 38, 107)15%, black);
    color: #fff;
}
body{
    background-image: linear-gradient(rgb(88, 52, 88), rgb(58, 58, 110));
    
}
main{
    font-family:  system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 5px;
    background-image: linear-gradient(rgb(88, 52, 88), rgb(58, 58, 110));
    margin-left: 8px;
    margin-bottom: 20px;
    padding-left: 5px;
    padding-bottom: 5px;
}
header{
    background-image: linear-gradient(purple, rgb(88, 52, 88));
    ;}
h1 img{
    max-width: 57px;
    border: 2px solid black;
    border-radius: 40px;
    border-style: inset;
    
}
h1{
    font-size: 100px;
    font-weight: bold;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    align-items: center;
    margin: 2px auto;
    margin-bottom: 0;
    max-width: 100%; /* Set maximum width to 100% of the parent container */
    word-wrap: break-word; /* Break words if they exceed the width */
    overflow: hidden;
}
header p{
    font-size: smaller;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-style: italic;
    display: flex;
    text-align: center;
    padding-top: 0%;
    text-decoration: underline;
    margin-top: 0;
}

.social img{
    max-width: 40px;
    border: 2px solid grey;
    border-radius: 10px;
    display: inline-flex;
    margin-right: 20px;
}
.social img:hover, button:hover, .contacts p img:hover, .dark-mode-label:hover {
    transform: scale(1.2); }
.contacts p img{
    max-width: 12px;
    border-radius: 10px;
    border: 1px solid snow;
}
.contacts p a{
color: inherit;
}
hr{
    border: 1px solid rgb(61, 35, 61);
    margin: 20px auto;
}
form .write input{
    max-height: 30px;
    max-width: 300px;
}
.contacts , .social , .about , .services , .projects , .find-us{
    margin-top: 15px;
}
button{
    background: linear-gradient(rgb(141, 141, 219), rgb(85, 85, 233));
    border-radius: 10px;
    border: 2px solid black;
}
.scrollable-container {
    width: 80vw; /* Set the width of the container */
    height: 50vh; /* Set the height of the container */
    overflow: auto; /* Make the container scrollable */
}

.scrollable-container img {
    display: block; /* Ensure images are displayed as blocks */
    margin-bottom: 10px; /* Add some spacing between images */
    max-width: max-content;
    
}
.write input[type="text"] {
    width: 300px; /* Set the width of the input field */
    height: 150px; /* Set the height of the input field */}
    @media only screen and (max-width: 100vw) {
       h1{font-size: 50px;}
       img{max-width: 30px;}
        /* Styles for smaller screens */
    }