*{
    padding: 0;
    margin: 0;
    .dm-serif display-regular {
        font-family: "DM Serif Display", serif;
        font-weight: 400;
        font-style: normal;
      }
      .dm-serif display-regular {
        font-family: "DM Serif Display", serif;
        font-weight: 400;
        font-style: normal;
      }
    }
body{
    background-color: black; 
    animation: changeBackgroundColor 3s forwards;
}
@keyframes changeBackgroundColor {
  from {
    background-color: black;
  }
  to {
    background-color: transparent;
  }
}
.header{ /*background photo*/
    min-height: 100vh;
    width: 100%;
    background-color: black;
    background-image: none;
    background-position: center;
    background-size: cover;
    position: relative;
    animation: changeimage 3s forwards;
}
@keyframes changeimage {
    from {
        background-color: black;
        background-image: none;
    }
    to {
        background-color: none;
        background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(heria.jpg);
    }
  }
nav{
    display: flex;
    padding: 2% 6% 0 2%;
    justify-content: space-between;
    align-items: center;
}
nav img {
    width: 250px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2);
    animation: logoAnimation 3s forwards;
}

@keyframes logoAnimation {
    0% {
        transform: translate(-50%, -50%) scale(2);
    }
    100% {
        transform: translate(-245%, -330%) scale(1);
    }
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: black    ;
    text-decoration: none;
    font-size: 13px;
    animation: changecolor 3s forwards;
}
@keyframes changecolor {
    from {
      color: black;
    }
    to {
      color: white;
    }
  }
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: white;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box {
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0;
    animation: textBoxAnimation 1s forwards 3s;
}

@keyframes textBoxAnimation {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 20px;
    color: white;
}
.btn{
    display: inline-block;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}
nav .fa{
    display: none;
}
@media(max-width: 700px){ /*responsive*/
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background:rgba(4,9,30,0.7) ;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa {
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
    .own{
        flex-direction: column;
    }
    .profile-pic img {
        width: 200px;
        border-radius: 50%;
    }
}
/*reg-form*/
.container {
    width: 100%;
    margin: 50px auto;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h2 {
    text-align: center;
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}


input[type="submit"]:hover {
    background-color: #28f332;
}
.reg{
    display: inline-block;
    text-decoration: none;
    color: blcak;
    border: 1px solid black;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    margin-top: 5px;
}
.reg:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
    text-decoration: none;
    color: black;
}

.error {
    color: red;
}
/* contact*/
.contact{
    margin-top: 0;
}
.hd {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

.mn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.contact-info {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    width: 300px;
}

.contact-info h2 {
    color: #333;
    font-size: 20px;
}

.contact-info p {
    color: #666;
    margin-bottom: 10px;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}
/* footer */
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
    color: black;
    background-color:rgba(4, 9, 30, 0.322) ;
}
.footer p{
    color: black;
}
.icon .fa{
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}