@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body{
    margin: auto 0;
    background-color: rgb(255, 88, 42);
}

#title{
    font-size: 2em;
    text-align: center;
    color: whitesmoke;
}

.nav{
    display:flex;
    align-items: center;
    text-align: center;
    height: 5vh;
    background-color: #000000;
    position: fixed;
    width: 100%;
    border-bottom: 1px solid rgb(244, 30, 30);
}
.nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    align-items: center;
    display: flex;
    margin-left: 20px;

}

.nav a {
    display: flex; /* Added missing semicolon */
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 1em;
    list-style: none;
    margin-right: 20px;
    font-family: 'Times New Roman', Times, serif;
    transition: background-color 0.3s linear;
}

.nav a:hover{
    background-color:#000000;
    color: #fff;
    transition: background-color 0.3s linear;
    font-size: 1.5em;
    transition:font-size 0.5s;
}

.zone{
    cursor:pointer;
    display:inline-block;
    color:#FFF;
    border-radius:4px;
    border:1px solid #bbb;
    transition: all 0.3s linear;
    
}

.container{
    display: grid;
    grid-gap: 2px;
    
}


/** About Categories **/
/** About Categories **/
/** About Categories **/
/** About Categories **/
/** About Categories **/

#Zone-About {
    
    display: flex;
    align-items: center;
    justify-content: center;
   /* background: linear-gradient(to bottom, #000000, #1a1a1a, #333333, #4d4d4d, #666666);*/
   background-color: #000000;
    height: 95vh;
    overflow: hidden; /* Ensure content does not overflow */
    
}

.text1 {
    flex: auto !important;
    color: antiquewhite;
    z-index: 1; /* Ensure text is above the image */
    font-size: 4em;
    font-family: "Fredericka the Great", serif;
    text-align: left;
    margin-left: 10%;
    margin-bottom: 15%;

}

.NrTre{
    font-size: 0.5em;
}

.text2 {
    flex: auto!important;
    color: antiquewhite;
    z-index: 1; /* Ensure text is above the image */
    font-size: 1.5em;
    font-family: "Fredericka the Great", serif;
    text-align: left;
    margin-bottom: 17%;
}



.text1 p{
    margin: auto 0;
}


span{
    color: red;
}
.Model {
    position: relative; /* Keep as relative positioning */
    max-width: 90%; /* Limit width to prevent overflow */
    max-height: 90vh; /* Limit height to prevent overflow */
    display: flex; /* Use flexbox for image alignment */
    justify-content: center; /* Center image horizontally */
    align-items: center; /* Center image vertically */
    z-index: 0;
   
    
}

.img {
    max-width: 75vh; /* Ensure image does not exceed parent's width */
    max-height: 100%; /* Ensure image does not exceed parent's height */
    width: auto; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
    z-index: 0;
    margin-right: 15%;
    margin-bottom: -400px;
}

/** Portfolio Categories **/
/** Portfolio Categories **/
/** Portfolio Categories **/
/** Portfolio Categories **/
/** Portfolio Categories **/

.Portfolio{
    background: linear-gradient(to top, #000000, #1a1a1a, #333333, #4d4d4d, #666666);
    height: 100vh;
    display: grid;
    color: #f2f2f2;
}

.card {
    text-decoration: none;
    color: inherit;
    display:  grid;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #050000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    margin: 10px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5vh, 1fr));
    gap: 20px;
    padding:15%;
    max-width: 100vh;
    margin: 0 auto;
}

.card-header {
    display: flex;
    align-items: center;
}

.card-logo {
    width: 30vh;
    height: 15vh;
}

.card-footer {
    display: flex;
    margin-top: 5px;
}

.card-name {
    font-weight: bold;
    color: #ff0000;
}

.card-type {
    color: #ff0000cf;
    font-style:italic;
}

/** Contact Categories **/
/** Contact Categories **/
/** Contact Categories **/
/** Contact Categories **/
/** Contact Categories **/

.Contact{
    background:linear-gradient(to bottom, #000000, #1a1a1a, #333333, #4d4d4d, #666666);
    height: 60vh;
   display: grid;
    width: auto 0;
    
}

/** Blogg Categories **/
/** Blogg Categories **/
/** Blogg Categories **/
/** Blogg Categories **/
/** Blogg Categories **/



.fill {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 5px;
    margin-bottom: 40%;
    


}

.fill label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.fill input[type="text"],
        .fill input[type="email"],
        .fill textarea {
            width: 90%;
            padding: 10px;
            border: 5px solid #ccc;
            border-radius: 3px;
            margin-bottom: 10px;
        }
.fill textarea {
    height: 10vh;
}
 .fill input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.fill input[type="submit"]:hover {
    background-color: #45a049;
}
#Blogg {
    
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    height: 100vh;
    overflow: hidden; /* Ensure content does not overflow */
    font-size: 2em;
    text-align: center;
    color: whitesmoke;
}

.blogg {
    font-size: 1.5em;
    color: antiquewhite;
    margin-top: 15%;
}
    
#contact {
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: 2em;
    text-align: center;
    color: whitesmoke;

    
}

.footer {
    background-color: rgb(0, 0, 0);
    color: #fff;
    text-align: center;
    padding: 10px;
    bottom: 0;
    width: 100%;
    
}

