* {
    box-sizing: border-box;
  }

body {
    background-image: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%), url('taust.jpg');
    background-color: #6d7c9e;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center;
    font-family: Helvetica, sans-serif;
  }
.main-text {
  color: #ffffff;
}
#blue-text{
  color:#7fb6ff;
}
#head-text {
  font-weight: bold;
  font-size: 2rem;
}
.container {
    margin: auto;
    max-width: 1100px;
    padding: 0 20px;
    overflow: auto;
}
.site-header {
    height: 900px;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.header-bar {
    background-color: rgb(127, 182, 255);
    border: solid 3px;
    border-color: rgba(41, 134, 255, 0.336);;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    position: fixed;
    z-index: 1000;
    left: 50%;
    transform: translateX(-50%);
    top: 0%;
}


.logo img {
    height: 80px;
    padding: 10px;
    padding-left: 20px;
}

nav {
	overflow: auto;
}
nav a{
  font-weight:bold;
	color: #000000;
}
nav ul{
	float: right;
	list-style: none;
}
nav ul li {
	float: left;
}
nav ul li a{
	display: block;
	padding: 20px;
	text-align: center;
}
nav ul li a:hover{ 
	background: #292828;
	color: #ffffff;
	border-radius: 10px;
}

.header-content {
    margin-top: 9rem;
}
.site-header {
  border: 2px ;
  border-color: #000;
}  

.header-content p {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

#mainlogo img {
    height: 20rem;
}
button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    color: white;
    background-color: #333;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    outline: none;
}

button:hover {
    background-color: #555;
}

.main-content {
display: flex;
justify-content: space-between;
align-items: center;
margin: 20px;
padding: 20px;
border: 2px solid red; /* Placeholder for the border */
}

.text-container {
flex: 1;
margin-right: 20px;
}

.text-container h1 {
color: #000;
margin-bottom: 15px;
}

.text-container p {
color: #000;
}

.image-container {
flex: 1;
padding: 20px;
background-color: #ccc; /* Placeholder for the grey background */
display: flex;
justify-content: center;
align-items: center;
}

.image-container img {
max-width: 100%;
height: auto;
}

.clear {
clear: both;
}
#about-info {
  overflow: auto;
}

.info-right {
  float: right;
  width: 50%;
  min-height: 100%;
  box-sizing: border-box; /* Ensures padding and border are included in the element's width */
}

.info-right p {
  color: #fff;
}

.info-right img {
  display: block;
  margin: auto;
  width: 50%; 
  border-radius: 10px;
  height: auto; 
}


#about-info::after {
  content: "";
  display: table;
  clear: both;
}

.py-30 {
padding: 30px 0;

}
#about-info{
  background-color: #333;
  border: #333;
  border-radius: 10px;
  padding: 15px;
}
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: white;
  top: 5%;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border:1px;
  border-radius:3px ;
}

/* Container around content */
.containers {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.containers::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid #000003;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -16px;
}

/* The actual content */
.content {
  padding: 20px 30px;
  background-color: #7fb6ff ;
  position: relative;
  border-radius: 10px;
}

.skill-container {
  width: 100%;
  max-width: 800px; /* Adjust based on your layout */
  margin: 0 auto; /* Center the container */
}

.skill {
  margin-bottom: 20px; /* Space between skill bars */
}

.skill-name {
  margin-bottom: 5px;
  font-size: 16px; /* Adjust based on your design */
  font-weight: bold;
}

.skill-bar {
  background-color: #ddd; /* Light grey background */
  width: 100%;
  height: 20px; /* Adjust height as needed */
  border-radius: 5px; /* Rounded corners */
}

.skill-percentage {
  background-color:  rgb(127, 182, 255); /* Green background */
  height: 100%;
  border-radius: 5px; /* Rounded corners */
  text-align: right;
  line-height: 20px; /* Align the text vertically */
  color: white; /* Text color */
  padding-right: 5px; /* Text padding */
}

.items {
text-align: center;
color: #fff;
display: flex;
margin-bottom: 5%;
padding: 5px;
}
/* See teeb läbipaistva kasti info peale*/
.overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
opacity: 0;
transition: .5s ease;
background-color: #7fb6ff;
display: flex;
justify-content: space-around;
align-items: center;
border-radius: 10px;
padding: 10px;
}
.info-gar:hover .overlay {
opacity: 1;
}
.over-text {
color: white;
font-size: 1.5em;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
position: absolute;
}
.in-text {
padding: 0 20px 20px 20px;
}
.items .info-gar {
border-radius: 10px;
margin-left: 2%;
flex: 1;
background-color: #333;
padding-top: 5px;
position: relative;
align-items: center;
}
footer {
  background-color:#7fb6ff;
  color: #fff;
  padding: 20px 0;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-logo img {
  max-width: 100px; /* Adjust the size of your logo */
}

.footer-contact,
.footer-address,
.footer-privacy {
  text-align: center;
}

.footer-contact h3,
.footer-address h3,
.footer-privacy h3 {
  margin-bottom: 10px;
}

.footer-contact p,
.footer-address p,
.footer-privacy p {
  margin: 5px 0;
}

a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #aaa;
}